diff options
-rw-r--r-- | a11y/ChangeLog | 5 | ||||
-rw-r--r-- | a11y/calendar/ea-day-view.c | 10 |
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); |