aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/alarm-queue.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-10-18 15:52:35 +0800
committerMilan Crha <mcrha@redhat.com>2010-10-18 15:52:35 +0800
commit5d2819995c2b859eaf0122c6418f1df98afdb6cc (patch)
tree428d6ed091542d6397e835f9cb0597f15d4d54a3 /calendar/gui/alarm-notify/alarm-queue.c
parent11f52b6fb78c734f074f196992cdbfb7a93aadfe (diff)
downloadgsoc2013-evolution-5d2819995c2b859eaf0122c6418f1df98afdb6cc.tar.gz
gsoc2013-evolution-5d2819995c2b859eaf0122c6418f1df98afdb6cc.tar.zst
gsoc2013-evolution-5d2819995c2b859eaf0122c6418f1df98afdb6cc.zip
Bug #630506 - "You have %d alarms" needs ngettext
Diffstat (limited to 'calendar/gui/alarm-notify/alarm-queue.c')
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index 7dc63abf6f..7145a2209a 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -1516,7 +1516,7 @@ display_notification (time_t trigger, CompQueuedAlarms *cqa,
if (g_list_length (tray_icons_list) > 1) {
gchar *tip;
- tip = g_strdup_printf (_("You have %d alarms"), g_list_length (tray_icons_list));
+ tip = g_strdup_printf (ngettext ("You have %d alarm", "You have %d alarms", g_list_length (tray_icons_list)), g_list_length (tray_icons_list));
gtk_status_icon_set_tooltip_text (tray_icon, tip);
}
else {