From 172ad11003eec1e4d49ba262853f11910d47616f Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Sat, 17 Dec 2005 11:53:30 +0000 Subject: ** Fixes bug #324094 2005-12-15 Srinivasa Ragavan ** Fixes bug #324094 * gui/e-calendar-view.c: (e_calendar_view_get_tooltips): Added comments to few strings for translation. svn path=/trunk/; revision=30798 --- calendar/ChangeLog | 8 +++++++- calendar/gui/e-calendar-view.c | 5 ++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index f9d8472442..a6aec0e39b 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2005-12-15 Srinivasa Ragavan + + ** Fixes bug #324094 + + * gui/e-calendar-view.c: (e_calendar_view_get_tooltips): Added + comments to few strings for translation. + 2005-12-15 Srinivasa Ragavan * gui/e-week-view.c: (e_week_view_reshape_event_span), @@ -7,7 +14,6 @@ 2005-12-15 Srinivasa Ragavan - reviewed by: * gui/e-calendar-view.c: (e_calendar_view_get_tooltips): Removed markup from translatable strings. diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index c529729444..01fdf973a4 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -1957,6 +1957,7 @@ e_calendar_view_get_tooltips (ECalendarViewEventData *data) GtkWidget *hbox = gtk_hbox_new (FALSE, 0); ptr = strchr(organiser.value, ':'); ptr++; + /* To Translators: It will display "Organiser: NameOfTheUser " */ tmp = g_strdup_printf (_("Organizer: %s <%s>"), organiser.cn, ptr); label = gtk_label_new (tmp); gtk_box_pack_start ((GtkBox *)hbox, label, FALSE, FALSE, 0); @@ -1970,6 +1971,7 @@ e_calendar_view_get_tooltips (ECalendarViewEventData *data) e_cal_component_get_location (newcomp, &str); if (str) { + /* To Translators: It will display "Location: PlaceOfTheMeeting" */ tmp = g_strdup_printf (_("Location: %s"), str); label = gtk_label_new (NULL); gtk_label_set_markup ((GtkLabel *)label, tmp); @@ -1999,7 +2001,8 @@ e_calendar_view_get_tooltips (ECalendarViewEventData *data) tmp1 = get_label(dtstart.value); tmp = calculate_time (t_start, t_end); - + + /* To Translators: It will display "Time: ActualStartDateAndTime (DurationOfTheMeeting)"*/ tmp2 = g_strdup_printf(_("Time: %s %s"), tmp1, tmp); hbox = gtk_hbox_new (FALSE, 0); gtk_box_pack_start ((GtkBox *)hbox, gtk_label_new_with_mnemonic (tmp2), FALSE, FALSE, 0); -- cgit v1.2.3