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>
This commit is contained in:
parent
4e6848dbea
commit
4dbac804a3
1 changed files with 3 additions and 2 deletions
|
@ -418,8 +418,9 @@ void cb_question(alpm_question_t *question)
|
||||||
alpm_question_select_provider_t *q = &question->select_provider;
|
alpm_question_select_provider_t *q = &question->select_provider;
|
||||||
size_t count = alpm_list_count(q->providers);
|
size_t count = alpm_list_count(q->providers);
|
||||||
char *depstring = alpm_dep_compute_string(q->depend);
|
char *depstring = alpm_dep_compute_string(q->depend);
|
||||||
colon_printf(_("There are %zd providers available for %s:\n"), count,
|
colon_printf(_n("There is %zd provider available for %s\n",
|
||||||
depstring);
|
"There are %zd providers available for %s:\n", count),
|
||||||
|
count, depstring);
|
||||||
free(depstring);
|
free(depstring);
|
||||||
select_display(q->providers);
|
select_display(q->providers);
|
||||||
q->use_index = select_question(count);
|
q->use_index = select_question(count);
|
||||||
|
|
Loading…
Add table
Reference in a new issue