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

Bug#233262: base-config: apt-setup template apt-setup/another incomplete in french



Quoting Christian Perrier (bubulle@debian.org):
> Package: base-config
> Version: 2.12
> Severity: normal
> Tags: d-i
> 
> When running in french language, the apt-setup/another template is
> incomplete. It seems that the MESSAGE variable which is set just before
> calling db_input is empty while it should contain the output of ngettext.
> 
> This is not french-specific, but happens also for german and, I guess, for
> all languages but english (MESSAGE is not empty when using english)


I strongly suspect this comes from a misunderstanding of plural forms
handling.

By looking at the ru.po files, I found three forms msgstr[0],
msgstr[1] and msgstr[2].

Isn't the [0] form for being used when COUNT=0, the [1] when COUNT=1
and [2] when COUNT>1

This would explain what I found. All languages but lt, ru and uk would
then need adding a [2] form for plural.

This is what I did for french, though not being really sure... May
someone confirm? Denis?





Reply to: