From e3b8d0357fca56470ff2a649821fd587955c4cb2 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Sat, 11 Feb 2006 19:14:50 +0000 Subject: adding translator comments to "second" strings to distinguish ordinal 2006-02-11 Andre Klapper * gui/dialogs/recurrence-page.c: * gui/alarm-notify/util.c: * gui/misc.c: adding translator comments to "second" strings to distinguish ordinal numbers and time divisions. Fixes bug 328988. svn path=/trunk/; revision=31484 --- calendar/gui/alarm-notify/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui/alarm-notify') diff --git a/calendar/gui/alarm-notify/util.c b/calendar/gui/alarm-notify/util.c index 93e44c1336..9409cc928c 100644 --- a/calendar/gui/alarm-notify/util.c +++ b/calendar/gui/alarm-notify/util.c @@ -61,6 +61,7 @@ calculate_time (time_t start, time_t end) minutes = difference / 60; seconds = difference % 60; if (seconds) + /* TRANSLATORS: here, "second" is the time division (like "minute"), not the ordinal number (like "third") */ str = g_strdup_printf (_("(%d %s %d %s)"), minutes, ngettext(_("minute"), _("minutes"), minutes), seconds, ngettext(_("second"), _("seconds"), seconds)); else str = g_strdup_printf (_("(%d %s)"), minutes, ngettext(_("minute"), _("minutes"), minutes)); @@ -81,7 +82,7 @@ calculate_time (time_t start, time_t end) s_hours = g_strdup_printf (ngettext(_("%u hour"),_("%u hours"), hours), hours); if (s_minutes && s_seconds) - str = g_strconcat ("(", s_hours, s_minutes, s_seconds, ")", NULL); + str = g_strconcat ("(", s_hours, s_minutes, s_seconds, ")", NULL); else if (s_minutes) str = g_strconcat ("(", s_hours, s_minutes, ")", NULL); else if (s_seconds) -- cgit v1.2.3