From 4dbac804a3d00a7bcc6405aa1f28cc5d1aa21f44 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Tue, 14 Apr 2015 20:46:04 +1000 Subject: 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 --- src/pacman/callback.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2