diff options
author | Vivek Jain <jvivek@novell.com> | 2005-07-19 19:00:16 +0800 |
---|---|---|
committer | Jain Vivek <jvivek@src.gnome.org> | 2005-07-19 19:00:16 +0800 |
commit | 2772c15f5e953f91c812cf9e7ce6ac9c2d23bfe6 (patch) | |
tree | 0dbb8f888b68bfc79c7b6ef6ceedaff537d90002 /plugins/groupwise-features | |
parent | 439f40f9d53c9b22549f63aba8bffcb6f741f885 (diff) | |
download | gsoc2013-evolution-2772c15f5e953f91c812cf9e7ce6ac9c2d23bfe6.tar.gz gsoc2013-evolution-2772c15f5e953f91c812cf9e7ce6ac9c2d23bfe6.tar.zst gsoc2013-evolution-2772c15f5e953f91c812cf9e7ce6ac9c2d23bfe6.zip |
Marked strings for translation
2005-07-19 Vivek Jain <jvivek@novell.com>
* junk-mail-settings.c: Marked strings for translation
svn path=/trunk/; revision=29800
Diffstat (limited to 'plugins/groupwise-features')
-rw-r--r-- | plugins/groupwise-features/ChangeLog | 4 | ||||
-rw-r--r-- | plugins/groupwise-features/junk-mail-settings.c | 8 | ||||
-rw-r--r-- | 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 <jvivek@novell.com> + + * junk-mail-settings.c: Marked strings for translation + 2005-07-13 Tor Lillqvist <tml@novell.com> * 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), "<b>Junk Mail Settings</b>"); + gtk_label_set_markup (GTK_LABEL (w), _("<b>Junk Mail Settings</b>")); 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); } |