From 92255f70f3d1a757e9bfa1eed18bcad150a23719 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Wed, 1 Oct 2008 10:02:42 +0000 Subject: Mark two forgotten strings for translation. Fixes bug #553070 2008-10-01 Gabor Kelemen * send-options.c: Mark two forgotten strings for translation. Fixes bug #553070 svn path=/trunk/; revision=36524 --- plugins/groupwise-features/ChangeLog | 4 ++++ plugins/groupwise-features/send-options.c | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'plugins/groupwise-features') diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index 11ab46e089..202ce94ffa 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,3 +1,7 @@ +2008-10-01 Gabor Kelemen + + * send-options.c: Mark two forgotten strings for translation. Fixes bug #553070 + 2008-10-01 Gabor Kelemen * org-gnome-proxy-errors.xml: diff --git a/plugins/groupwise-features/send-options.c b/plugins/groupwise-features/send-options.c index 939093bb36..124fffe8f3 100644 --- a/plugins/groupwise-features/send-options.c +++ b/plugins/groupwise-features/send-options.c @@ -202,15 +202,19 @@ org_gnome_send_options (EPlugin *epl, EConfigHookItemFactoryData *data) target_account = (EMConfigTargetAccount *)data->config->target; account = target_account->account; + gchar *markup; + if(!g_strrstr (account->source->url, "groupwise://")) return NULL; vbox = gtk_vbox_new (FALSE, 0); frame = gtk_frame_new (""); label = gtk_frame_get_label_widget (GTK_FRAME (frame)); - gtk_label_set_markup (GTK_LABEL (label), "Send Options"); - button = gtk_button_new_with_label ("Advanced send options"); + markup = g_strdup_printf("%s", _("Send Options")); + gtk_label_set_markup (GTK_LABEL (label), markup); + button = gtk_button_new_with_label (_("Advanced send options")); gtk_widget_show (button); + g_free (markup); g_signal_connect(button, "clicked", G_CALLBACK (e_sendoptions_clicked_cb), account); -- cgit v1.2.3