From 5d2819995c2b859eaf0122c6418f1df98afdb6cc Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 18 Oct 2010 09:52:35 +0200 Subject: Bug #630506 - "You have %d alarms" needs ngettext --- calendar/gui/alarm-notify/alarm-queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3