aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorAndre Klapper <a9016009@gmx.de>2006-01-07 10:02:08 +0800
committerAndre Klapper <aklapper@src.gnome.org>2006-01-07 10:02:08 +0800
commit3454590d4b0bf41dd1a7ffb2629892f2081a234e (patch)
treec6dec931ea589f62975844684581c3ce0325ec71 /calendar/gui
parent48a22cd5e294b58bdfa1d7e8c9bb517ca820d774 (diff)
downloadgsoc2013-evolution-3454590d4b0bf41dd1a7ffb2629892f2081a234e.tar.gz
gsoc2013-evolution-3454590d4b0bf41dd1a7ffb2629892f2081a234e.tar.zst
gsoc2013-evolution-3454590d4b0bf41dd1a7ffb2629892f2081a234e.zip
added translator comments to several strings. Fixes bug 325612.
2005-01-06 Andre Klapper <a9016009@gmx.de> * gui/e-alarm-list.c: added translator comments to several strings. Fixes bug 325612. svn path=/trunk/; revision=31094
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-alarm-list.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/calendar/gui/e-alarm-list.c b/calendar/gui/e-alarm-list.c
index 13c0537ec3..9eb5f2db34 100644
--- a/calendar/gui/e-alarm-list.c
+++ b/calendar/gui/e-alarm-list.c
@@ -392,26 +392,31 @@ get_alarm_duration_string (struct icaldurationtype *duration)
have_something = FALSE;
if (duration->days >= 1) {
+ /* Translator: Entire string is like "Pop up an alert %d days before start of appointment" */
g_string_sprintf (string, ngettext("%d day", "%d days", duration->days), duration->days);
have_something = TRUE;
}
if (duration->weeks >= 1) {
+ /* Translator: Entire string is like "Pop up an alert %d weeks before start of appointment" */
g_string_sprintf (string, ngettext("%d week","%d weeks", duration->weeks), duration->weeks);
have_something = TRUE;
}
if (duration->hours >= 1) {
+ /* Translator: Entire string is like "Pop up an alert %d hours before start of appointment" */
g_string_sprintf (string, ngettext("%d hour", "%d hours", duration->hours), duration->hours);
have_something = TRUE;
}
if (duration->minutes >= 1) {
+ /* Translator: Entire string is like "Pop up an alert %d minutes before start of appointment" */
g_string_sprintf (string, ngettext("%d minute", "%d minutes", duration->minutes), duration->minutes);
have_something = TRUE;
}
if (duration->seconds >= 1) {
+ /* Translator: Entire string is like "Pop up an alert %d seconds before start of appointment" */
g_string_sprintf (string, ngettext("%d second", "%d seconds", duration->seconds), duration->seconds);
have_something = TRUE;
}
@@ -494,14 +499,20 @@ get_alarm_string (ECalComponentAlarm *alarm)
if (dur) {
if (trigger.u.rel_duration.is_neg)
+ /* Translator: The first %s refers to the base, which would be actions like
+ * "Play a Sound". Second %s refers to the duration string e.g:"15 minutes" */
str = g_strdup_printf (_("%s %s before the end of the appointment"),
base, dur);
else
+ /* Translator: The first %s refers to the base, which would be actions like
+ * "Play a Sound". Second %s refers to the duration string e.g:"15 minutes" */
str = g_strdup_printf (_("%s %s after the end of the appointment"),
base, dur);
g_free (dur);
} else
+ /* Translator: The %s refers to the base, which would be actions like
+ * "Play a sound" */
str = g_strdup_printf (_("%s at the end of the appointment"), base);
break;
@@ -524,12 +535,16 @@ get_alarm_string (ECalComponentAlarm *alarm)
e_time_format_date_and_time (&tm, calendar_config_get_24_hour_format (),
FALSE, FALSE, buf, sizeof (buf));
+ /* Translator: The first %s refers to the base, which would be actions like
+ * "Play a Sound". Second %s is an absolute time, e.g. "10:00AM" */
str = g_strdup_printf (_("%s at %s"), base, buf);
break; }
case E_CAL_COMPONENT_ALARM_TRIGGER_NONE:
default:
+ /* Translator: The %s refers to the base, which would be actions like
+ * "Play a sound". "Trigger types" are absolute or relative dates */
str = g_strdup_printf (_("%s for an unknown trigger type"), base);
break;
}