From 41615b69dfae910e83fa1d00995953dc8ac4c9af Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Thu, 13 Jul 2006 14:37:49 +0000 Subject: Added translator comments to some strings. Fixes bug #331016. Thanks to 2006-07-13 Andre Klapper * calendar/ea-day-view.c: Added translator comments to some strings. Fixes bug #331016. Thanks to Boby Wang. svn path=/trunk/; revision=32301 --- a11y/ChangeLog | 5 +++++ a11y/calendar/ea-day-view.c | 10 ++++++++++ 2 files changed, 15 insertions(+) (limited to 'a11y') 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 + + * calendar/ea-day-view.c: Added translator comments to + some strings. Fixes bug #331016. Thanks to Boby Wang. + 2006-06-22 Harish Krishnaswamy * 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); -- cgit