aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-07-30 15:52:48 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-07-30 15:52:48 +0800
commitf971541da6eafd34428c318ad01c3de647057c5b (patch)
tree9fe3ddcda5aef793cf3b580794794f0d6b24f1ee /plugins/groupwise-features
parentc3381b5b2e4ab4428a7421f23cab04bdef600a17 (diff)
downloadgsoc2013-evolution-f971541da6eafd34428c318ad01c3de647057c5b.tar
gsoc2013-evolution-f971541da6eafd34428c318ad01c3de647057c5b.tar.gz
gsoc2013-evolution-f971541da6eafd34428c318ad01c3de647057c5b.tar.bz2
gsoc2013-evolution-f971541da6eafd34428c318ad01c3de647057c5b.tar.lz
gsoc2013-evolution-f971541da6eafd34428c318ad01c3de647057c5b.tar.xz
gsoc2013-evolution-f971541da6eafd34428c318ad01c3de647057c5b.tar.zst
gsoc2013-evolution-f971541da6eafd34428c318ad01c3de647057c5b.zip
2007-07-30 Part of fix for bug #360461 - Avoid markup in translatable messages
svn path=/trunk/; revision=33894
Diffstat (limited to 'plugins/groupwise-features')
-rw-r--r--plugins/groupwise-features/junk-mail-settings.c7
-rw-r--r--plugins/groupwise-features/status-track.c14
2 files changed, 16 insertions, 5 deletions
diff --git a/plugins/groupwise-features/junk-mail-settings.c b/plugins/groupwise-features/junk-mail-settings.c
index 9a3d7b0085..51f1697f65 100644
--- a/plugins/groupwise-features/junk-mail-settings.c
+++ b/plugins/groupwise-features/junk-mail-settings.c
@@ -73,6 +73,7 @@ junk_mail_settings (EPopup *ep, EPopupItem *item, void *data)
CamelFolder *folder = (CamelFolder *)data;
CamelStore *store = folder->parent_store;
cnc = get_cnc (store);
+ gchar *msg;
dialog = gtk_dialog_new_with_buttons (_("Junk Settings"),
NULL,
@@ -86,9 +87,11 @@ junk_mail_settings (EPopup *ep, EPopupItem *item, void *data)
gtk_widget_ensure_style (dialog);
gtk_container_set_border_width ((GtkContainer *) ((GtkDialog *) dialog)->vbox, 12);
box = gtk_vbox_new (FALSE, 6);
- w = gtk_label_new ("");
- gtk_label_set_markup (GTK_LABEL (w), _("<b>Junk Mail Settings</b>"));
+ w = gtk_label_new ("");
+ msg = g_strdup_printf("<b>%s</b>", _("Junk Mail Settings"));
+ gtk_label_set_markup (GTK_LABEL (w), msg);
gtk_box_pack_start ((GtkBox *) box, w, FALSE, FALSE, 6);
+ g_free(msg);
junk_tab = junk_settings_new (cnc);
w = (GtkWidget *)junk_tab->vbox;
diff --git a/plugins/groupwise-features/status-track.c b/plugins/groupwise-features/status-track.c
index 7a0580a12d..2f5b4402db 100644
--- a/plugins/groupwise-features/status-track.c
+++ b/plugins/groupwise-features/status-track.c
@@ -75,6 +75,8 @@ track_status (EPopup *ep, EPopupItem *item, void *data)
time_t time ;
char *time_str ;
+ gchar *boldmsg;
+
const char *status = NULL ;
int row = 0;
@@ -114,7 +116,9 @@ track_status (EPopup *ep, EPopupItem *item, void *data)
gtk_table_set_row_spacings (table, 6);
/*Subject*/
- widget = gtk_label_new (_("<b>Subject</b>:"));
+ boldmsg = g_strdup_printf ("<b>%s</b>", _("Subject:"));
+ widget = gtk_label_new (boldmsg);
+ g_free (boldmsg);
gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
gtk_label_set_use_markup (GTK_LABEL (widget), TRUE);
gtk_table_attach (table, widget , 0, 1, row, row + 1, GTK_FILL, 0, 0, 0);
@@ -126,7 +130,9 @@ track_status (EPopup *ep, EPopupItem *item, void *data)
/*From*/
from = camel_mime_message_get_from (msg) ;
camel_internet_address_get (from, 0, &namep, &addp) ;
- widget = gtk_label_new (_("<b>From</b>:"));
+ boldmsg = g_strdup_printf ("<b>%s</b>", _("From:"));
+ widget = gtk_label_new (boldmsg);
+ g_free (boldmsg);
gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
gtk_label_set_use_markup (GTK_LABEL (widget), TRUE);
gtk_table_attach (table, widget , 0, 1, row, row + 1, GTK_FILL, 0, 0, 0);
@@ -139,7 +145,9 @@ track_status (EPopup *ep, EPopupItem *item, void *data)
time = camel_mime_message_get_date (msg, NULL) ;
time_str = ctime (&time) ;
time_str[strlen(time_str)-1] = '\0' ;
- widget = gtk_label_new (_("<b>Creation date</b>:"));
+ boldmsg = g_strdup_printf ("<b>%s</b>", _("Creation date:"));
+ widget = gtk_label_new (boldmsg);
+ g_free (boldmsg);
gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
gtk_label_set_use_markup (GTK_LABEL (widget), TRUE);
gtk_table_attach (table, widget , 0, 1, row, row + 1, GTK_FILL, 0, 0, 0);