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/gui/gnome-cal.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'calendar/gui') 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 v1.2.3