Make pre-receive-check-po validate syntax in translations via pyg3t's gtxml
I've spent time manually fixing broken syntax in translations in .po files.
Picking one random example from the last weeks: GNOME/hitori@3a9c545a
I'd love to see https://gitlab.gnome.org/Infrastructure/sysadmin-bin/-/blob/master/git/pre-receive-check-po either refuse .po
files which do not pass pyg3t
's gtxml
(under the assumption that gtxml
works reliable and does not trigger false positives preventing folks from getting their translations pushed), or at least notify committers of a likely problem with their po file.
Similar ticket though for end-user software: GNOME/gtranslator#101