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

Translation errors in tzsetup



There are lots of translation errors in tzsetup, of the form where a
list of choices is translated to another list with the wrong number of
choices. For example, pt_BR has:

msgid ""
"America/Noronha, America/Belem, America/Fortaleza, America/Recife, America/"
"Araguaina, America/Maceio, America/Bahia, America/Sao_Paulo, America/"
"Campo_Grande, America/Cuiaba, America/Porto_Velho, America/Boa_Vista, "
"America/Manaus, America/Eirunepe, America/Rio_Branco"
msgstr ""
"Fernando de Noronha, Belém, Fortaleza, Recife, Araguaina, Maceió, Bahia, São "
"Paulo, Campo Grande, Porto Velho, Boa Vista, Manaus, Eirunepe, Rio Branco"

Note that Cuiaba is missing from the msgstr: there are 15 choices in the
msgid but only 14 in the msgstr. This causes this Ubuntu bug, where
tzsetup crashes at run-time due to cdebconf returning "100 internal
error":

  https://launchpad.net/distros/ubuntu/+source/tzsetup/+bug/28722

lintian (with a small hack to display the template name as well as the
field, which I've committed to lintian SVN) reports the following:

E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/AQ choices-pa_in.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/AQ choices-ko.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/AU choices-vi.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/AU choices-bn.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/AU choices-ko.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/BR choices-pt_br.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/BR choices-ko.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/CA choices-uk.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/CA choices-tl.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/CA choices-pt.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/CA choices-ko.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/MX choices-nl.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/RU choices-ko.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/US choices-ru.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/US choices-es.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/US choices-mg.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/US choices-ko.utf-8
E: tzsetup-udeb udeb: mismatch-translated-choices tzsetup/country/US choices-fi.utf-8

All of these are potential tzsetup crashes for these languages, although
I haven't gone through and verified each one individually. Some of them
may be false positives due to using just "," as a choice separator
rather than ", "; cdebconf doesn't mind this but debconf does, so
lintian reports an error. It should be fixed anyway, since we may want
to run tzsetup under debconf too some day.

Could the translators responsible for each of the above errors, all of
whom I've CCed, please correct them? If you have problems, contact me
and I can explain what's wrong with your particular .po file in more
detail.

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: