mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -05:00
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
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user