Verify that a translation will not break a build
Submitted by Gil Forcada
Link to original bug (#667207)
Description
I pushed a documentation translation[1] on Cheese which had a non closing tag and it was reported as it breaks the build[2]. I already fixed it[3] :)
It would be handy if just like Damned-Lies already passes a "msgfmt -cv" on translations to also pass another check.
The Makefiles actually are compiling the po files to mo objects and then building the xml files, so something like:
pocompile ca.po itstool -m ca.po ../C/*.page
Is it feasible to run something along those lines on uploaded files?
[1] http://git.gnome.org/browse/cheese/commit/?id=f277e88f4c7bc14b170832af3009d19cd4ad3665 [2] https://bugzilla.gnome.org/show_bug.cgi?id=667172 [3] http://git.gnome.org/browse/cheese/commit/?id=58e2a80db7efb0245c571e9a949ad6d7579c0d7e