[Bug 696578] New: Add pre-receive hook to validate xml tags po files
- From: "sysadmin" (bugzilla.gnome.org) <bugzilla gnome org>
- To: gnome-infrastructure gnome org
- Subject: [Bug 696578] New: Add pre-receive hook to validate xml tags po files
- Date: Mon, 25 Mar 2013 18:37:09 +0000 (UTC)
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: sysadmin-maint gnome bugs
ReportedBy: kelemeng gnome hu
QAContact: sysadmin-maint gnome bugs
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]