[Bug 4493] New: msgfmt warnings

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Jan 6 21:52:38 UTC 2015


http://bz.selenic.com/show_bug.cgi?id=4493

          Priority: normal
            Bug ID: 4493
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: msgfmt warnings
          Severity: bug
    Classification: Unclassified
                OS: All
          Reporter: Arfrever.FTA at GMail.Com
          Hardware: All
            Status: UNCONFIRMED
           Version: 3.2.4
         Component: Mercurial
           Product: Mercurial

>From NEWS file of GNU Gettext 0.19.4:

"Version 0.19.1 - June 2014
...
* msgfmt now treats errors in the PO file header as non-fatal.  Since
  0.19 msgfmt started to abort on the fatal errors, but some
  translation systems are still not ready to supply valid headers.

* Future backward-incompatibilities:
  - In future Gettext versions, msgfmt will treat header errors as
    fatal and terminate the command execution."


$ python2.7 setup.py build
...
i18n/el.po:7: warning: header field 'Language' missing in header
...
i18n/fr.po:86: warning: header field 'Language' missing in header
...
i18n/ro.po:106: warning: header field 'Language' missing in header
...
i18n/zh_CN.po:47: warning: header field 'Language' missing in header
...


These 4 .po files should have Language field to avoid error with some future
versions of GNU Gettext.

--- i18n/el.po
+++ i18n/el.po
@@ -13,2 +13,3 @@
 "Language-Team: Greek\n"
+"Language: el\n"
 "MIME-Version: 1.0\n"
--- i18n/fr.po
+++ i18n/fr.po
@@ -92,2 +92,3 @@
 "Language-Team: French\n"
+"Language: fr\n"
 "MIME-Version: 1.0\n"
--- i18n/ro.po
+++ i18n/ro.po
@@ -112,2 +112,3 @@
 "Language-Team: Romanian <>\n"
+"Language: ro\n"
 "MIME-Version: 1.0\n"
--- i18n/zh_CN.po
+++ i18n/zh_CN.po
@@ -53,2 +53,3 @@
 "Language-Team: Chinese translation team <i18n-zh at googlegroups.com>\n"
+"Language: zh_CN\n"
 "MIME-Version: 1.0\n"

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list