From 2772c15f5e953f91c812cf9e7ce6ac9c2d23bfe6 Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Tue, 19 Jul 2005 11:00:16 +0000 Subject: Marked strings for translation 2005-07-19 Vivek Jain * junk-mail-settings.c: Marked strings for translation svn path=/trunk/; revision=29800 --- plugins/groupwise-features/ChangeLog | 4 ++++ plugins/groupwise-features/junk-mail-settings.c | 8 ++++---- plugins/groupwise-features/share-folder-common.c | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index d13f88a5f8..de28aa5c22 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,3 +1,7 @@ +2005-07-19 Vivek Jain + + * junk-mail-settings.c: Marked strings for translation + 2005-07-13 Tor Lillqvist * Makefile.am (NO_UNDEFINED_REQUIRED_LIBS): As the code does use diff --git a/plugins/groupwise-features/junk-mail-settings.c b/plugins/groupwise-features/junk-mail-settings.c index 5e8a209f18..5a361fb573 100644 --- a/plugins/groupwise-features/junk-mail-settings.c +++ b/plugins/groupwise-features/junk-mail-settings.c @@ -74,7 +74,7 @@ junk_mail_settings (EPopup *ep, EPopupItem *item, void *data) CamelStore *store = folder->parent_store; cnc = get_cnc (store); - dialog = gtk_dialog_new_with_buttons ("Junk Settings", + dialog = gtk_dialog_new_with_buttons (_("Junk Settings"), NULL, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, @@ -87,7 +87,7 @@ junk_mail_settings (EPopup *ep, EPopupItem *item, void *data) 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), "Junk Mail Settings"); + gtk_label_set_markup (GTK_LABEL (w), _("Junk Mail Settings")); gtk_box_pack_start ((GtkBox *) box, w, FALSE, FALSE, 6); junk_tab = junk_settings_new (cnc); @@ -124,13 +124,13 @@ org_gnome_junk_settings(EPlugin *ep, EMPopupTargetSelect *t) GSList *menus = NULL; int i = 0; - static int first =1; + static int first = 0; if (! g_strrstr (t->uri, "groupwise://")) return ; /* for translation*/ - if (first == 1) { + if (!first) { popup_items[0].label = _(popup_items[0].label); } diff --git a/plugins/groupwise-features/share-folder-common.c b/plugins/groupwise-features/share-folder-common.c index cde5069a34..330aa831c7 100644 --- a/plugins/groupwise-features/share-folder-common.c +++ b/plugins/groupwise-features/share-folder-common.c @@ -348,13 +348,13 @@ org_gnome_create_option(EPlugin *ep, EMPopupTargetFolder *t) { GSList *menus = NULL; int i = 0; - static int first =1; + static int first = 0; if (! g_strrstr (t->uri, "groupwise://")) return ; /* for translation*/ - if (first) { + if (!first) { popup_items[0].label = _(popup_items[0].label); } -- cgit