Bug#374447: Unlocalized test with "None" in postinst
Le Lundi 19 Juin 2006 17:35, Gintautas Miliauskas <gintas@akl.lt> a écrit :
> Package: kdepim
> Followup-For: Bug #374447
>
> I just noticed that kpilot.postinst does this:
>
> # if port is not set to None
> if [ "$port" != "None" ]
> then
> ...
>
> Won't this break when a translated (non-English) "None" is passed by
> debconf? I checked the other translations and all of them translate the
> word "None" to their language.
No it won't break because debconf will "return" the original (English)
string to the script (in this case "None"). The sole requierement is that
you keep exactly the number of coma-seperated string from the msgid in
your msgtr.
Hope, it helps.
Reply to: