True. But conclusion for some is "msgfmt: found 2 fatal errors". See example:
$ LC_ALL=C msgfmt -c urpmi_mga2/urpmi.pot
msgfmt: urpmi_mga2/urpmi.pot: warning: PO file header fuzzy
warning: older versions of msgfmt will give an error on this
urpmi_mga2/urpmi.pot:7: invalid nplurals value
urpmi_mga2/urpmi.pot:7: some header fields still have the initial default value
msgfmt: found 2 fatal errors
Same message for:
drakx-kbd-mouse-x11.pot
libDrakX.pot mga2
DrakX.pot
drakconf.pot
mdkonline.pot
urpmi.pot
drakconf.pot mga2
DrakX.pot mga2
libDrakX.pot
I don't test files from branch mga1 in that script! And much of pot files are not branched to mga2 yet.
написане Fri, 29 Jun 2012 13:38:38 +0300, Filip Komar <filip.komar@gmail.com>:find -name "*.pot" -exec msgfmt -vc {} \; -print
It's true that some of them only reports about default values in headers
but some also reports critical errors. I don't have list of them right now.
If needed I can supply that.
shows nothing but header problems in /soft. Did I miss something?
Oliver, is the list for mga1 also needed?
It wasn't explicitly clear to me but I assume that you and Rémi will fix
them? Sooner or later we'll need "nonboken" ones for pootle or other system.
On 29 June 2012 12:15, Oliver Burger <oliver.bgr@googlemail.com> wrote:
Am 29.06.2012 12:05, schrieb Yuri Chornoivan:
msgfmt reports about default values in headers of these files. IMHO it
is not crucial for correctness of the derived translations, but I mightImho you are right.
be wrong.
Those values don't harm in the pot files, but they should be set to
correct ones in the po files, at least the encoding stuff.
But it would be better, if the values were set correctly in the pot files
as well.
Oliver
--
Oliver Burger aka obgr_seneca
Mageia contributor