[pacman-dev] [PATCH] Pluralize callback string

Allan McRae allan at archlinux.org
Tue Apr 14 10:48:22 UTC 2015

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 at archlinux.org>

Is "UNUSED STRING" clear enough?

 src/pacman/callback.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index 695e38d..8d138bf 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -418,8 +418,8 @@ 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("UNUSED STRING %zd %s\n", "There are %zd providers available for %s:\n", count),
+						count, depstring);
 				q->use_index = select_question(count);

More information about the pacman-dev mailing list