Package: po-debconf Version: 1.0.2 Severity: minor Tags: patch Hi,
podebconf-display-po will skip templates with only one choice. This situation occurs when the maintainer mark only one choice as translatable. The solution in the attached patch is to add one second choice if there is only one choice. Cheers, -- Thomas Huriaux
--- podebconf-display-po 2006-05-26 16:32:18.000000000 +0200 +++ /usr/bin/podebconf-display-po 2006-05-23 00:11:32.000000000 +0200 @@ -161,10 +161,6 @@ # question. print $fh "Choices: dummy1, dummy2\n"; } - if ($fields->{$file}->{$_}->{field} eq 'Choices' && $fields->{$file}->{$_}->{msgid} !~ /,/) { - $fields->{$file}->{$_}->{msgid} .= ", dummy2"; - $fields->{$file}->{$_}->{msgstr} .= ", dummy2"; - } print $fh "$fields->{$file}->{$_}->{field}: $fields->{$file}->{$_}->{msgid}\n"; print $fh "$fields->{$file}->{$_}->{field}-$lang$charset: $fields->{$file}->{$_}->{msgstr}\n"; $new = 0;
signature.asc
Description: Digital signature