https://bugzilla.gnome.org/show_bug.cgi?id=696578
sysadmin | Git | unspecified
Summary: Add pre-receive hook to validate xml tags po files
Classification: Infrastructure
Product: sysadmin
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: Git
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
GNOME version: ---
Translators tend to break xml tags in po file from time to time.
There is a tool to check for such problems, gtxml[1] from the pyg3t project.
It's usage in a pre-receive hook would be simple:
run `gtxml $po_file`
if there is output[2], show it to the committer and abort
if there is no output, let the po file in
[1]: https://launchpad.net/pyg3t
[2]: see example in https://bugzilla.gnome.org/show_bug.cgi?id=667207#c4
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact of the bug.
You are watching the assignee of the bug.
_______________________________________________
gnome-infrastructure mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-infrastructure