[PATCH 0 of 2] i18n: add checkers to check Mercurial specific translation problems in *.po

Wagner Bruna wagner.bruna+mercurial at gmail.com
Mon Jan 20 08:20:08 CST 2014


Em 19-01-2014 12:35, FUJIWARA Katsunori escreveu:
> This patch series adds new checkers to "i18n/check-translation.py" to
> check Mercurial specific translation problems in *.po files.
> 
> On 4988e4246537, "taildoublecolons" checker (patch #1) shows
> warnings below:
(...)

Nice catch! Pushed catalog fixes to i18n stable. This could even be included
as a hard error, IMHO.

> "indentation" checker (patch #2) shows warnings below. Many of these
> seem not to be serious. But I could find "missing the first (= term)
> line of entries in definition list" in "ja.po" by proto-type version
> of this checker, in fact. So, this should be useful.

Yeah, these are trickier: many seem trivial to fix (spaces missing before '('
on one-line messages), but I caught at least one that looks like a false
positive (ro.po:9130). So it probably should stay as a warning for now.

Thanks!
Wagner



More information about the Mercurial-devel mailing list