diff options
author | Karsten Bräckelmann <kbrae@src.gnome.org> | 2006-02-13 07:15:23 +0800 |
---|---|---|
committer | Karsten Bräckelmann <kbrae@src.gnome.org> | 2006-02-13 07:15:23 +0800 |
commit | 62979463404b455e7c656e48c1ecb5f986d9c2c8 (patch) | |
tree | d7b3d094debf75ba8e70ce7e16753e1d6c1d1041 /plugins | |
parent | 0a8fecc95294179fe2db1d581e3395016ec03dff (diff) | |
download | gsoc2013-evolution-62979463404b455e7c656e48c1ecb5f986d9c2c8.tar.gz gsoc2013-evolution-62979463404b455e7c656e48c1ecb5f986d9c2c8.tar.zst gsoc2013-evolution-62979463404b455e7c656e48c1ecb5f986d9c2c8.zip |
Removing unnecessary markup in translateable string.
svn path=/trunk/; revision=31494
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bbdb/ChangeLog | 6 | ||||
-rw-r--r-- | plugins/bbdb/bbdb.c | 9 | ||||
-rw-r--r-- | plugins/itip-formatter/ChangeLog | 6 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 9 |
4 files changed, 26 insertions, 4 deletions
diff --git a/plugins/bbdb/ChangeLog b/plugins/bbdb/ChangeLog index 69452e06dd..123fb6c25b 100644 --- a/plugins/bbdb/ChangeLog +++ b/plugins/bbdb/ChangeLog @@ -1,3 +1,9 @@ +2006-02-12 Karsten Bräckelmann <guenther@rudersport.de> + + * bbdb.c (bbdb_page_factory): + Removing unnecessary markup in translateable string. + Fixes part of bug #272789. + 2006-01-23 Devashish Sharma <sdevashish@novell.com> * bbdb.c : diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c index 4eea3fb3fb..3c9cca5e2a 100644 --- a/plugins/bbdb/bbdb.c +++ b/plugins/bbdb/bbdb.c @@ -418,6 +418,7 @@ bbdb_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) GtkWidget *label; GtkWidget *gaim_label; GtkWidget *button; + gchar *str; /* A structure to pass some stuff around */ stuff = g_new0 (struct bbdb_stuff, 1); @@ -435,7 +436,9 @@ bbdb_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) /* "Automatic Contacts" */ frame_label = gtk_label_new (""); - gtk_label_set_markup (GTK_LABEL (frame_label), _("<span weight=\"bold\">Automatic Contacts</span>")); + str = g_strdup_printf ("<span weight=\"bold\">%s</span>", _("Automatic Contacts")); + gtk_label_set_markup (GTK_LABEL (frame_label), str); + gfree (str); GTK_MISC (frame_label)->xalign = 0.0; gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0); @@ -469,7 +472,9 @@ bbdb_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) gtk_box_pack_start (GTK_BOX (page), frame, TRUE, TRUE, 24); frame_label = gtk_label_new (""); - gtk_label_set_markup (GTK_LABEL (frame_label), _("<span weight=\"bold\">Instant Messaging Contacts</span>")); + str = g_strdup_printf ("<span weight=\"bold\">%s</span>", _("Instant Messaging Contacts")); + gtk_label_set_markup (GTK_LABEL (frame_label), str); + gfree (str); GTK_MISC (frame_label)->xalign = 0.0; gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0); diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index fc8d5903f7..317c40bd3d 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,9 @@ +2006-02-12 Karsten Bräckelmann <guenther@rudersport.de> + + * itip-formatter.c (itip_formatter_page_factory): + Removing unnecessary markup in translateable string. + Fixes part of bug #272789. + 2006-02-11 Karsten Bräckelmann <guenther@rudersport.de> * itip-formatter.c (itip_formatter_page_factory): diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 54ac321436..6b80b69e24 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -1961,6 +1961,7 @@ itip_formatter_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) GtkWidget *ess; GtkWidget *scrolledwin; ESourceList *source_list; + gchar *str; /* Create a new notebook page */ page = gtk_vbox_new (FALSE, 0); @@ -1974,7 +1975,9 @@ itip_formatter_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) /* "General" */ frame_label = gtk_label_new (""); - gtk_label_set_markup (GTK_LABEL (frame_label), _("<span weight=\"bold\">General</span>")); + str = g_strdup_printf ("<span weight=\"bold\">%s</span>", _("General")); + gtk_label_set_markup (GTK_LABEL (frame_label), str); + g_free (str); GTK_MISC (frame_label)->xalign = 0.0; gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0); @@ -1998,7 +2001,9 @@ itip_formatter_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) gtk_box_pack_start (GTK_BOX (page), frame, TRUE, TRUE, 24); frame_label = gtk_label_new (""); - gtk_label_set_markup (GTK_LABEL (frame_label), _("<span weight=\"bold\">Conflict Search</span>")); + str = g_strdup_printf ("<span weight=\"bold\">%s</span>", _("Conflict Search")); + gtk_label_set_markup (GTK_LABEL (frame_label), str); + gfree (str); GTK_MISC (frame_label)->xalign = 0.0; gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0); |