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

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Sun Jan 19 14:35:01 UTC 2014


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:

  da.po:7771:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  de.po:12934:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  de.po:20671:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  pt_BR.po:4040:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  pt_BR.po:14465:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  ro.po:7289:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  ro.po:8193:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  ru.po:1925:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  ru.po:2054:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  ru.po:5414:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  ru.po:7203:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  ru.po:7596:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  ru.po:9452:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  ru.po:17135:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  ru.po:17969:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  ru.po:22021:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  zh_TW.po:9513:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  zh_TW.po:9532:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr
  zh_TW.po:9545:warning(taildoublecolons): tail '::'-ness differs between msgid and msgstr

"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.

  da.po:3272:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  da.po:11001:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  da.po:11004:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  da.po:16106:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  de.po:13733:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  de.po:16890:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  de.po:16894:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  de.po:21188:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  de.po:21375:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  it.po:937:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  it.po:2092:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  it.po:3448:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  it.po:7160:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  it.po:7168:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  it.po:9929:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  it.po:12794:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  it.po:13732:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  pt_BR.po:23567:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ro.po:2328:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ro.po:6864:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ro.po:8069:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ro.po:9130:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ro.po:14569:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ru.po:1006:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ru.po:4970:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ru.po:10906:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ru.po:16939:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ru.po:18403:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ru.po:18517:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ru.po:20133:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ru.po:20333:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ru.po:20348:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ru.po:20379:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  ru.po:20706:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  sv.po:11576:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  sv.po:15767:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  sv.po:17689:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:22:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:43:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:6748:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:6764:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:6767:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:6771:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:6777:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:6991:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:7449:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:7823:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:7926:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:7976:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:7979:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:7988:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:9185:warning(indentation): initial indentation width differs betweeen msgid and msgstr
  zh_TW.po:11961:warning(indentation): initial indentation width differs betweeen msgid and msgstr


More information about the Mercurial-devel mailing list