aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-model.c
diff options
context:
space:
mode:
authorDanilo Šegan <danilo@src.gnome.org>2004-03-24 08:18:02 +0800
committerDanilo Šegan <danilo@src.gnome.org>2004-03-24 08:18:02 +0800
commit7c70ddcc35a65e1078a7789832e5209a7a2e4a5b (patch)
tree75dd3c44ad9d0eeb512969116852bb765fba1bd5 /addressbook/gui/widgets/e-addressbook-model.c
parent6f309e984bbfd7b5376dd38637a55dd46d307c92 (diff)
downloadgsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar.gz
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar.bz2
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar.lz
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar.xz
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar.zst
gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.zip
Use ngettext for handling plural forms throughout (fixes bug 53464).
svn path=/trunk/; revision=25168
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-model.c')
-rw-r--r--addressbook/gui/widgets/e-addressbook-model.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c
index ed698e3340..725c7b687d 100644
--- a/addressbook/gui/widgets/e-addressbook-model.c
+++ b/addressbook/gui/widgets/e-addressbook-model.c
@@ -147,11 +147,8 @@ update_folder_bar_message (EABModel *model)
case 0:
message = g_strdup (_("No contacts"));
break;
- case 1:
- message = g_strdup (_("1 contact"));
- break;
default:
- message = g_strdup_printf (_("%d contacts"), count);
+ message = g_strdup_printf (ngettext("%d contact", "%d contacts", count), count);
break;
}