aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/calendar/ea-day-view.c
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 /a11y/calendar/ea-day-view.c
parent993c0752e7a2b733020db3da8860bc8b6034d47d (diff)
downloadgsoc2013-evolution-41615b69dfae910e83fa1d00995953dc8ac4c9af.tar
gsoc2013-evolution-41615b69dfae910e83fa1d00995953dc8ac4c9af.tar.gz
gsoc2013-evolution-41615b69dfae910e83fa1d00995953dc8ac4c9af.tar.bz2
gsoc2013-evolution-41615b69dfae910e83fa1d00995953dc8ac4c9af.tar.lz
gsoc2013-evolution-41615b69dfae910e83fa1d00995953dc8ac4c9af.tar.xz
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
Diffstat (limited to 'a11y/calendar/ea-day-view.c')
-rw-r--r--a11y/calendar/ea-day-view.c10
1 files changed, 10 insertions, 0 deletions
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);