summaryrefslogtreecommitdiff
path: root/src/enquiry.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2010-08-25 08:15:40 +0200
committerGuillem Jover <guillem@debian.org>2010-08-26 04:42:28 +0200
commitcac9ac66948552462ffb94f106b9cb7550525de3 (patch)
treef407b4ae468b100ef06189a33db5f5faf4bf1e75 /src/enquiry.c
parent4509efdc143c85b77df68b7a3b0728e66580701d (diff)
downloaddpkg-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 'src/enquiry.c')
-rw-r--r--src/enquiry.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/enquiry.c b/src/enquiry.c
index 1f46b2274..8d23d41dc 100644
--- a/src/enquiry.c
+++ b/src/enquiry.c
@@ -254,7 +254,9 @@ void unpackchk(const char *const *argv) {
putchar('\n');
}
} else {
- printf(_(" %d packages, from the following sections:"),totalcount);
+ printf(P_(" %d package, from the following section:",
+ " %d packages, from the following sections:", totalcount),
+ totalcount);
width= 0;
for (se= sectionentries; se; se= se->next) {
sprintf(buf,"%d",se->count);