add comments for translators after queries.

git-svn-id: http://emdebian.org/svn/current@8070 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
codehelp 2011-08-14 13:23:53 +00:00
parent d1d254731d
commit 68158e293c

View file

@ -561,6 +561,7 @@ sub force_unpack {
#chomp ($multi); #chomp ($multi);
$multi = ''; $multi = '';
if ($multi eq ":all") { if ($multi eq ":all") {
# Translators: imagine "Architecture: all" in quotes.
my $msg = sprintf(_g("Warning: invalid value '%s' for Multi-Arch field in Architecture: all package: %s. "), $multi, $deb); my $msg = sprintf(_g("Warning: invalid value '%s' for Multi-Arch field in Architecture: all package: %s. "), $multi, $deb);
warn ("$msg\n"); warn ("$msg\n");
$multi = ''; $multi = '';
@ -1340,14 +1341,17 @@ sub dump_config {
$plural = ngettext("Debconf preseed file", "Debconf preseed files", scalar @debconf); $plural = ngettext("Debconf preseed file", "Debconf preseed files", scalar @debconf);
printf("%s:\t%s\n", $plural, join(" ", sort @debconf)) if (scalar @debconf > 0); printf("%s:\t%s\n", $plural, join(" ", sort @debconf)) if (scalar @debconf > 0);
if (defined ($hooks{'D'} and scalar @{$hooks{'D'}} > 0)) { if (defined ($hooks{'D'} and scalar @{$hooks{'D'}} > 0)) {
# Translators: leaving the plural blank to keep the lines shorter.
$plural = ngettext ("Download hook: ", "", scalar @{$hooks{'D'}}); $plural = ngettext ("Download hook: ", "", scalar @{$hooks{'D'}});
print "download hooks:\t\t$plural".join (", ", sort @{$hooks{'D'}})."\n"; print "download hooks:\t\t$plural".join (", ", sort @{$hooks{'D'}})."\n";
} }
if (defined ($hooks{'N'} and scalar @{$hooks{'N'}} > 0)) { if (defined ($hooks{'N'} and scalar @{$hooks{'N'}} > 0)) {
# Translators: leaving the plural blank to keep the lines shorter.
$plural = ngettext ("Native hook: ", "", scalar @{$hooks{'N'}}); $plural = ngettext ("Native hook: ", "", scalar @{$hooks{'N'}});
print "native hooks:\t\t$plural".join (", ", sort @{$hooks{'N'}})."\n"; print "native hooks:\t\t$plural".join (", ", sort @{$hooks{'N'}})."\n";
} }
if (defined ($hooks{'A'} and scalar @{$hooks{'A'}} > 0)) { if (defined ($hooks{'A'} and scalar @{$hooks{'A'}} > 0)) {
# Translators: leaving the plural blank to keep the lines shorter.
$plural = ngettext ("Completion hook: ", "", scalar @{$hooks{'A'}}); $plural = ngettext ("Completion hook: ", "", scalar @{$hooks{'A'}});
print "completion hooks:\t$plural".join (", ", sort @{$hooks{'A'}})."\n"; print "completion hooks:\t$plural".join (", ", sort @{$hooks{'A'}})."\n";
} }