summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-02-04 08:57:31 +1000
committerAllan McRae <allan@archlinux.org>2014-02-04 09:01:38 +1000
commit1601532a53b3b668b0946400bb2c68ca25f80c72 (patch)
tree906b005c3dfaecbeeaec33870708145053326934 /src
parent8014dc648f7a1f9b30200905b5e0cab776a6f0e4 (diff)
downloadpacman-1601532a53b3b668b0946400bb2c68ca25f80c72.tar.xz
Give groups display text singular and plural forms
Reported on transifex Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/sync.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index f6ee57a8..3cb73bc5 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -601,8 +601,9 @@ static int process_group(alpm_list_t *dbs, const char *group, int error)
}
if(config->print == 0) {
- colon_printf(_("There are %d members in group %s:\n"), count,
- group);
+ colon_printf(_n("There is %d member in group %s:\n",
+ "There are %d members in group %s:\n", count),
+ count, group);
select_display(pkgs);
char *array = malloc(count);
if(!array) {