diff options
author | Guillem Jover <guillem@debian.org> | 2010-08-25 08:15:40 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2010-08-26 04:42:28 +0200 |
commit | cac9ac66948552462ffb94f106b9cb7550525de3 (patch) | |
tree | f407b4ae468b100ef06189a33db5f5faf4bf1e75 /scripts/Dpkg | |
parent | 4509efdc143c85b77df68b7a3b0728e66580701d (diff) | |
download | dpkg-cac9ac66948552462ffb94f106b9cb7550525de3.tar.gz |
Add gettext messages for plural forms
Some of the singular forms are not currently used, but we keep them for
consistency, and to avoid confusing translators.
Closes: #594218
Diffstat (limited to 'scripts/Dpkg')
-rw-r--r-- | scripts/Dpkg/Source/Package/V2.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/Dpkg/Source/Package/V2.pm b/scripts/Dpkg/Source/Package/V2.pm index 6c852ac32..8f6618eeb 100644 --- a/scripts/Dpkg/Source/Package/V2.pm +++ b/scripts/Dpkg/Source/Package/V2.pm @@ -414,9 +414,12 @@ sub do_build { }; find({ wanted => $check_binary, preprocess => $filter_ignore, no_chdir => 1 }, File::Spec->catdir($dir, "debian")); - error(_g("detected %d unwanted binary file(s) " . - "(add them in debian/source/include-binaries to allow their " . - "inclusion)."), $unwanted_binaries) if $unwanted_binaries; + error(P_("detected %d unwanted binary file (add it in " . + "debian/source/include-binaries to allow its inclusion).", + "detected %d unwanted binary files (add them in " . + "debian/source/include-binaries to allow their inclusion).", + $unwanted_binaries), $unwanted_binaries) + if $unwanted_binaries; # Create a patch my $autopatch = File::Spec->catfile($dir, "debian", "patches", |