aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Klapper <a9016009@gmx.de>2006-07-13 22:37:49 +0800
committerAndre Klapper <aklapper@src.gnome.org>2006-07-13 22:37:49 +0800
commit41615b69dfae910e83fa1d00995953dc8ac4c9af (patch)
tree7c5aa4b3ef6cfad235496db8934dceb3e7012f85
parent993c0752e7a2b733020db3da8860bc8b6034d47d (diff)
downloadgsoc2013-evolution-41615b69dfae910e83fa1d00995953dc8ac4c9af.tar.gz
gsoc2013-evolution-41615b69dfae910e83fa1d00995953dc8ac4c9af.tar.zst
gsoc2013-evolution-41615b69dfae910e83fa1d00995953dc8ac4c9af.zip
Added translator comments to some strings. Fixes bug #331016. Thanks to
2006-07-13 Andre Klapper <a9016009@gmx.de> * calendar/ea-day-view.c: Added translator comments to some strings. Fixes bug #331016. Thanks to Boby Wang. svn path=/trunk/; revision=32301
-rw-r--r--a11y/ChangeLog5
-rw-r--r--a11y/calendar/ea-day-view.c10
2 files changed, 15 insertions, 0 deletions
diff --git a/a11y/ChangeLog b/a11y/ChangeLog
index 69c03b03f0..3a2b259572 100644
--- a/a11y/ChangeLog
+++ b/a11y/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-13 Andre Klapper <a9016009@gmx.de>
+
+ * calendar/ea-day-view.c: Added translator comments to
+ some strings. Fixes bug #331016. Thanks to Boby Wang.
+
2006-06-22 Harish Krishnaswamy <kharish@novell.com>
* e-table/gal-a11y-e-cell-text.c: (ect_check):
diff --git a/a11y/calendar/ea-day-view.c b/a11y/calendar/ea-day-view.c
index b85b40087f..d10deb49bd 100644
--- a/a11y/calendar/ea-day-view.c
+++ b/a11y/calendar/ea-day-view.c
@@ -146,15 +146,25 @@ ea_day_view_get_name (AtkObject *accessible)
/* the child main item is always there */
--n_events;
if (n_events >= 1)
+ /* To translators: Here, "It" is either like "Work Week View: July
+ 10th - July 14th, 2006." or "Day View: Thursday July 13th, 2006." */
event_str = g_strdup_printf (ngettext ("It has %d event.", "It has %d events.", n_events), n_events);
else
+ /* To translators: Here, "It" is either like "Work Week View: July
+ 10th - July 14th, 2006." or "Day View: Thursday July 13th, 2006." */
event_str = g_strdup (_("It has no events."));
view_type = gnome_calendar_get_view (gcal);
if (view_type == GNOME_CAL_WORK_WEEK_VIEW)
+ /* To translators: First %s is the week, for example "July 10th -
+ July 14th, 2006". Second %s is the number of events in this work
+ week, for example "It has %d event/events." or "It has no events." */
name_str = g_strdup_printf (_("Work Week View: %s. %s"),
label_text, event_str);
else
+ /* To translators: First %s is the day, for example "Thursday July
+ 13th, 2006". Second %s is the number of events on this day, for
+ example "It has %d event/events." or "It has no events." */
name_str = g_strdup_printf (_("Day View: %s. %s"),
label_text, event_str);