summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2015-04-14 12:46:04 +0200
committerAllan McRae <allan@archlinux.org>2015-05-12 06:00:54 +0200
commit4dbac804a3d00a7bcc6405aa1f28cc5d1aa21f44 (patch)
treecb2171baa34c6509a0f3a3070ae8480840a6c789
parent4e6848dbea7251b4c612503362848574d8ce75e0 (diff)
downloadpacman-4dbac804a3d00a7bcc6405aa1f28cc5d1aa21f44.tar.gz
pacman-4dbac804a3d00a7bcc6405aa1f28cc5d1aa21f44.tar.xz
Pluralize callback string
In English, this string only has it plural form. However, we need to use the pluralized translation as some languages can have multiple plural formats. Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/callback.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index 695e38d4..17c3d7a8 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -418,8 +418,9 @@ void cb_question(alpm_question_t *question)
alpm_question_select_provider_t *q = &question->select_provider;
size_t count = alpm_list_count(q->providers);
char *depstring = alpm_dep_compute_string(q->depend);
- colon_printf(_("There are %zd providers available for %s:\n"), count,
- depstring);
+ colon_printf(_n("There is %zd provider available for %s\n",
+ "There are %zd providers available for %s:\n", count),
+ count, depstring);
free(depstring);
select_display(q->providers);
q->use_index = select_question(count);