[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dbootstrap translation *correctness* for Debian Woody



Hello, additionnally of the Claus results, I wanted to point out that some
translation are not valid. Here are the results a check does on my box. You
may have different results, because I use the CVS version of gettext, which
makes much more checks (and because I didn't commit the lastest french file).

Some of the following errors are pretty harmless, like the one about eo.po,
but some other are critical. In es.po, one can read:
#: choose_medium.c:440
#, c-format
msgid ""
"The installation program is building a list of all directories containing a "
"file '%s' that can be used to install %s."
msgstr ""
"El programa de instalación está generando una lista de todos los directorios "
"conteniendo un fichero '%s' o '%s' que pueda ser usado para instalar %s."

The translation contains 3 %s, where the original only contains 2, like the
source code. I think such code may even segfault !


Thanks, Mt.

$ make check
for lang in ca cs de da eo es fi fr gl hr hu it ko ja pl pt ru sk sv tr zh_CN ; do \
  echo "----- $lang -----"; \
  msgfmt -o /dev/null --statistics -c -v $lang.po; \
done  
----- ca -----
772 translated messages.
----- cs -----
471 translated messages, 125 fuzzy translations, 176 untranslated messages.
----- de -----
de.po:1759: number of format specifications in 'msgid' and 'msgstr' does not match
de.po:1774: number of format specifications in 'msgid' and 'msgstr' does not match
msgfmt: de.po: warning: PO file header fuzzy
               warning: older versions of msgfmt will give an error on this
msgfmt: found 2 fatal errors
----- da -----
772 translated messages.
----- eo -----
msgfmt: eo.po: warning: PO file header fuzzy
               warning: older versions of msgfmt will give an error on this
484 translated messages, 135 fuzzy translations, 153 untranslated messages.
----- es -----
es.po:1444: number of format specifications in 'msgid' and 'msgstr' does not match
es.po:1671: number of format specifications in 'msgid' and 'msgstr' does not match
es.po:3916: number of format specifications in 'msgid' and 'msgstr' does not match
msgfmt: found 3 fatal errors
----- fi -----
605 translated messages, 167 untranslated messages.
----- fr -----
769 translated messages, 3 fuzzy translations.
----- gl -----
772 translated messages.
----- hr -----
msgfmt: hr.po: warning: PO file header fuzzy
               warning: older versions of msgfmt will give an error on this
680 translated messages, 92 untranslated messages.
----- hu -----
hu.po:943: number of format specifications in 'msgid' and 'msgstr' does not match
hu.po:1036: number of format specifications in 'msgid' and 'msgstr' does not match
msgfmt: hu.po: warning: PO file header fuzzy
               warning: older versions of msgfmt will give an error on this
msgfmt: found 2 fatal errors
----- it -----
770 translated messages, 2 untranslated messages.
----- ko -----
622 translated messages, 82 fuzzy translations, 68 untranslated messages.
----- ja -----
msgfmt: ja.po: warning: Charset "eucjp" is not a portable encoding name.
                        Message conversion to user's charset might not work.
ja.po:1469: number of format specifications in 'msgid' and 'msgstr' does not match
ja.po:1908: 'msgstr' is not a valid C format string, unlike 'msgid'
msgfmt: ja.po: warning: PO file header fuzzy
               warning: older versions of msgfmt will give an error on this
msgfmt: found 2 fatal errors
----- pl -----
pl.po:589: number of format specifications in 'msgid' and 'msgstr' does not match
msgfmt: pl.po: warning: PO file header fuzzy
               warning: older versions of msgfmt will give an error on this
msgfmt: found 1 fatal error
----- pt -----
msgfmt: pt.po: warning: PO file header fuzzy
               warning: older versions of msgfmt will give an error on this
576 translated messages, 136 fuzzy translations, 60 untranslated messages.
----- ru -----
ru.po:4140: number of format specifications in 'msgid' and 'msgstr' does not match
msgfmt: ru.po: warning: PO file header fuzzy
               warning: older versions of msgfmt will give an error on this
msgfmt: found 1 fatal error
----- sk -----
msgfmt: some header fields still have the initial default value
sk.po:1389: number of format specifications in 'msgid' and 'msgstr' does not match
msgfmt: sk.po: warning: PO file header fuzzy
               warning: older versions of msgfmt will give an error on this
msgfmt: found 2 fatal errors
----- sv -----
msgfmt: headerfield `Language-Team' missing in header
msgfmt: found 1 fatal error
----- tr -----
tr.po:644: number of format specifications in 'msgid' and 'msgstr' does not match
tr.po:2484: format specifications in 'msgid' and 'msgstr' for argument 2 are not the same
msgfmt: found 2 fatal errors
----- zh_CN -----
msgfmt: field `Last-Translator' still has initial default value
zh_CN.po:1923: 'msgstr' is not a valid C format string, unlike 'msgid'
msgfmt: zh_CN.po: warning: PO file header fuzzy
                  warning: older versions of msgfmt will give an error on this
msgfmt: found 2 fatal errors
make: *** [check] Error 1

-- 
Un clavier azerty en vaut deux.



Reply to: