From 0a15cc5782fbaead14d4a32b88cd153b0ce329fd Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 28 Aug 2006 05:24:15 +0000 Subject: ** Fix for bug #352988 svn path=/trunk/; revision=32685 --- calendar/ChangeLog | 7 +++++++ calendar/gui/gnome-cal.c | 9 +++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index aaa317892a..ff29f83c2b 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2006-08-28 Andre Klapper + + ** Fix for bug #352988 + + * gui/gnome-cal.c: (setup_widgets): Marking two strings for + translation. + 2006-08-24 Ross Burton * gui/e-week-view-main-item.c: diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 9c6a219fb6..ec33b07be9 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1442,6 +1442,7 @@ setup_widgets (GnomeCalendar *gcal) GtkWidget *vbox; GtkWidget *label; int i; + char *tmp; priv = gcal->priv; @@ -1505,7 +1506,9 @@ setup_widgets (GnomeCalendar *gcal) gtk_box_pack_start ((GtkBox *)vbox, sep, FALSE, TRUE, 0); label = gtk_label_new (NULL); - gtk_label_set_markup ((GtkLabel *)label, " Tasks "); + tmp = g_strdup_printf (" %s ", _("Tasks")); + gtk_label_set_markup ((GtkLabel *)label, tmp); + g_free (tmp); gtk_box_pack_start ((GtkBox *)vbox, label, FALSE, TRUE, 0); priv->todo = e_calendar_table_new (); @@ -1631,7 +1634,9 @@ setup_widgets (GnomeCalendar *gcal) /* Memo view */ vbox = gtk_vbox_new (FALSE, 0); label = gtk_label_new (NULL); - gtk_label_set_markup ((GtkLabel *)label, " Memos "); + tmp = g_strdup_printf (" %s ", _("Memos")); + gtk_label_set_markup ((GtkLabel *)label, tmp); + g_free (tmp); gtk_box_pack_start ((GtkBox *)vbox, label, FALSE, TRUE, 0); priv->memo = e_memo_table_new (); priv->memo_config = e_memo_table_config_new (E_MEMO_TABLE (priv->memo)); -- cgit