diff options
author | Danilo Šegan <danilo@src.gnome.org> | 2004-03-24 08:18:02 +0800 |
---|---|---|
committer | Danilo Šegan <danilo@src.gnome.org> | 2004-03-24 08:18:02 +0800 |
commit | 7c70ddcc35a65e1078a7789832e5209a7a2e4a5b (patch) | |
tree | 75dd3c44ad9d0eeb512969116852bb765fba1bd5 /calendar/gui/dialogs/delete-comp.c | |
parent | 6f309e984bbfd7b5376dd38637a55dd46d307c92 (diff) | |
download | gsoc2013-evolution-7c70ddcc35a65e1078a7789832e5209a7a2e4a5b.tar.gz 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 'calendar/gui/dialogs/delete-comp.c')
-rw-r--r-- | calendar/gui/dialogs/delete-comp.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/calendar/gui/dialogs/delete-comp.c b/calendar/gui/dialogs/delete-comp.c index 843f79ad3c..1c81598021 100644 --- a/calendar/gui/dialogs/delete-comp.c +++ b/calendar/gui/dialogs/delete-comp.c @@ -128,18 +128,24 @@ delete_component_dialog (ECalComponent *comp, } else { switch (vtype) { case E_CAL_COMPONENT_EVENT: - str = g_strdup_printf (_("Are you sure you want to delete " - "%d appointments?"), n_comps); + str = g_strdup_printf (ngettext("Are you sure you want to delete " + "%d appointment?", + "Are you sure you want to delete " + "%d appointments?", n_comps), n_comps); break; case E_CAL_COMPONENT_TODO: - str = g_strdup_printf (_("Are you sure you want to delete " - "%d tasks?"), n_comps); + str = g_strdup_printf (ngettext("Are you sure you want to delete " + "%d task?", + "Are you sure you want to delete " + "%d tasks?", n_comps), n_comps); break; case E_CAL_COMPONENT_JOURNAL: - str = g_strdup_printf (_("Are you sure you want to delete " - "%d journal entries?"), n_comps); + str = g_strdup_printf (ngettext("Are you sure you want to delete " + "%d journal entry?", + "Are you sure you want to delete " + "%d journal entries?", n_comps), n_comps); break; default: |