diff options
author | Allan McRae <allan@archlinux.org> | 2015-04-14 20:46:04 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-05-12 14:00:54 +1000 |
commit | 4dbac804a3d00a7bcc6405aa1f28cc5d1aa21f44 (patch) | |
tree | cb2171baa34c6509a0f3a3070ae8480840a6c789 /src | |
parent | 4e6848dbea7251b4c612503362848574d8ce75e0 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/callback.c | 5 |
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); |