aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
diff options
context:
space:
mode:
authorAndre Klapper <a9016009@gmx.de>2006-02-12 03:14:50 +0800
committerAndre Klapper <aklapper@src.gnome.org>2006-02-12 03:14:50 +0800
commite3b8d0357fca56470ff2a649821fd587955c4cb2 (patch)
tree83b416ba1fa6ed38c9fb2ab8b308658e47c28dac /calendar/gui/alarm-notify
parentbf0dbbb7de6a6f4f3cd6a939408da574ce9b1dfe (diff)
downloadgsoc2013-evolution-e3b8d0357fca56470ff2a649821fd587955c4cb2.tar
gsoc2013-evolution-e3b8d0357fca56470ff2a649821fd587955c4cb2.tar.gz
gsoc2013-evolution-e3b8d0357fca56470ff2a649821fd587955c4cb2.tar.bz2
gsoc2013-evolution-e3b8d0357fca56470ff2a649821fd587955c4cb2.tar.lz
gsoc2013-evolution-e3b8d0357fca56470ff2a649821fd587955c4cb2.tar.xz
gsoc2013-evolution-e3b8d0357fca56470ff2a649821fd587955c4cb2.tar.zst
gsoc2013-evolution-e3b8d0357fca56470ff2a649821fd587955c4cb2.zip
adding translator comments to "second" strings to distinguish ordinal
2006-02-11 Andre Klapper <a9016009@gmx.de> * 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
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r--calendar/gui/alarm-notify/util.c3
1 files changed, 2 insertions, 1 deletions
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)