[Bug 696578] Add pre-receive hook to validate xml tags po files



https://bugzilla.gnome.org/show_bug.cgi?id=696578
  sysadmin | Git | unspecified

--- Comment #1 from Gabor Kelemen <kelemeng gnome hu> 2013-08-01 09:49:26 UTC ---
Another option would be to use pofilter -t xmltags from the translate-toolkit
package, this is at least packaged for most distributions. Only problem is that
it's a bit too picky:

$ pofilter -t xmltags Ubuntu\
One/gnome-translations/development/evolution.master.hu.po 
processing 1 files...
msgid ""
msgstr ""
"Project-Id-Version: evolution master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=evolut";
"ion&keywords=I18N+L10N&component=Miscellaneous\n"
"POT-Creation-Date: 2013-07-28 02:01+0000\n"
"PO-Revision-Date: 2013-08-01 08:20+0200\n"
"Last-Translator: Gabor Kelemen <kelemeng at gnome dot hu>\n"
"Language-Team: Hungarian <openscope at googlegroups dot com>\n"
"Language: hu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 1.5\n"

# (pofilter) xmltags: Added XML tags
#. The translator-credits string is for translators to list
#. * per-language credits for translation, displayed in the
#. * about dialog.
#: ../shell/e-shell-window-actions.c:74
msgid "translator-credits"
msgstr ""
"Bán Szabolcs <shooby at gnome dot hu>\n"
"Dvornik László <dvornik at gnome dot hu>\n"
"Kelemen Gábor <kelemeng at gnome dot hu>\n"
"Nitsch Zoltán <regisztralj at gmail dot com>\n"
"Tímár András <timar at gnome dot hu>\n"
"Zsiráf <zsiraf at mylinux dot hu>"
[###########################################] 100%

-- 
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]