[evolution] Bug #630506 - "You have %d alarms" needs ngettext
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #630506 - "You have %d alarms" needs ngettext
- Date: Mon, 18 Oct 2010 07:53:36 +0000 (UTC)
commit 5d2819995c2b859eaf0122c6418f1df98afdb6cc
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 18 09:52:35 2010 +0200
Bug #630506 - "You have %d alarms" needs ngettext
calendar/gui/alarm-notify/alarm-queue.c | 2 +-
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 7dc63ab..7145a22 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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]