aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2007-01-27 07:53:57 +0800
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>2007-01-27 07:53:57 +0800
commit44eb71780ac5a7e72ba9106c20eef913b29abd05 (patch)
treeb6360a88d2b2d6ce69e376d9350a917f0754079e /plugins
parentfcfe102b0c0340918e013b7f3cb39fb5560a4fef (diff)
downloadgsoc2013-evolution-44eb71780ac5a7e72ba9106c20eef913b29abd05.tar.gz
gsoc2013-evolution-44eb71780ac5a7e72ba9106c20eef913b29abd05.tar.zst
gsoc2013-evolution-44eb71780ac5a7e72ba9106c20eef913b29abd05.zip
Mark strings as translatable. See bug #399381 for details.
svn path=/trunk/; revision=33152
Diffstat (limited to 'plugins')
-rw-r--r--plugins/exchange-operations/ChangeLog7
-rw-r--r--plugins/exchange-operations/exchange-account-setup.c4
-rw-r--r--plugins/exchange-operations/exchange-contacts.c4
-rw-r--r--plugins/groupwise-features/ChangeLog8
-rw-r--r--plugins/groupwise-features/install-shared.c9
-rw-r--r--plugins/groupwise-features/junk-settings.c2
-rw-r--r--plugins/groupwise-features/share-folder.c9
-rw-r--r--plugins/groupwise-features/status-track.c14
-rw-r--r--plugins/imap-features/ChangeLog5
-rw-r--r--plugins/imap-features/imap-headers.c2
-rw-r--r--plugins/ipod-sync/ChangeLog5
-rw-r--r--plugins/ipod-sync/evolution-ipod-sync.c16
-rw-r--r--plugins/save-attachments/ChangeLog5
-rw-r--r--plugins/save-attachments/save-attachments.c2
-rw-r--r--plugins/startup-wizard/ChangeLog6
-rw-r--r--plugins/startup-wizard/startup-wizard.c4
16 files changed, 69 insertions, 33 deletions
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog
index f4d81e1f9d..4e470410e1 100644
--- a/plugins/exchange-operations/ChangeLog
+++ b/plugins/exchange-operations/ChangeLog
@@ -1,3 +1,10 @@
+2007-01-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * exchange-account-setup.c:
+ (org_gnome_exchange_show_folder_size_factory):
+ * exchange-contacts.c: (e_exchange_contacts_pcontacts):
+ mark strings as translatable. See bug #399381 for details.
+
2006-01-18 Raghavendran R <raghavguru7@gmail.com>
* exchange-send-options.glade :Glade file for
diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c
index 80f9ef2dd6..0ac6ffcd75 100644
--- a/plugins/exchange-operations/exchange-account-setup.c
+++ b/plugins/exchange-operations/exchange-account-setup.c
@@ -946,9 +946,9 @@ org_gnome_exchange_show_folder_size_factory (EPlugin *epl, EConfigHookItemFactor
account = exchange_operations_get_exchange_account ();
model = exchange_account_folder_size_get_model (account);
if (model)
- folder_size = g_strdup_printf ("%s KB", exchange_folder_size_get_val (model, folder_name));
+ folder_size = g_strdup_printf (_("%s KB"), exchange_folder_size_get_val (model, folder_name));
else
- folder_size = g_strdup ("0 KB");
+ folder_size = g_strdup (_("0 KB"));
hbx_size = (GtkHBox*) gtk_hbox_new (FALSE, 0);
vbx = (GtkVBox *)gtk_notebook_get_nth_page (GTK_NOTEBOOK (data->parent), 0);
diff --git a/plugins/exchange-operations/exchange-contacts.c b/plugins/exchange-operations/exchange-contacts.c
index eae0944491..a1ea6dab98 100644
--- a/plugins/exchange-operations/exchange-contacts.c
+++ b/plugins/exchange-operations/exchange-contacts.c
@@ -210,9 +210,9 @@ e_exchange_contacts_pcontacts (EPlugin *epl, EConfigHookItemFactoryData *data)
abook_name = (char*)e_source_peek_name (source);
model = exchange_account_folder_size_get_model (account);
if (model)
- folder_size = g_strdup_printf ("%s KB", exchange_folder_size_get_val (model, abook_name));
+ folder_size = g_strdup_printf (_("%s KB"), exchange_folder_size_get_val (model, abook_name));
else
- folder_size = g_strdup_printf ("0 KB");
+ folder_size = g_strdup_printf (_("0 KB"));
/* FIXME: Take care of i18n */
lbl_size = gtk_label_new_with_mnemonic (_("Size:"));
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog
index 96371273cc..f54f808ea2 100644
--- a/plugins/groupwise-features/ChangeLog
+++ b/plugins/groupwise-features/ChangeLog
@@ -1,3 +1,11 @@
+2007-01-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * install-shared.c: (org_gnome_popup_wizard):
+ * junk-settings.c: (junk_settings_construct):
+ * share-folder.c: (share_folder_construct):
+ * status-track.c: (track_status):
+ mark strings as translatable. See bug #399381 for details.
+
2007-01-25 Kjartan Maraas <kmaraas@gnome.org>
* send-options.c: (get_cnc): Fix a crash when setting up
diff --git a/plugins/groupwise-features/install-shared.c b/plugins/groupwise-features/install-shared.c
index 0c944458a5..a761358111 100644
--- a/plugins/groupwise-features/install-shared.c
+++ b/plugins/groupwise-features/install-shared.c
@@ -212,12 +212,11 @@ org_gnome_popup_wizard (EPlugin *ep, EMEventTargetMessage *target)
from_addr = camel_mime_message_get_from ((CamelMimeMessage *)target->message);
if (from_addr && camel_internet_address_get(from_addr, 0, &name, &email)) {
- /* FIXME: this needs translating ... */
- start_message = g_strconcat (" The User ", "'", name, "'" ," has shared a folder with you\n\n",
- " Message from ", "'" , name, "'\n\n\n", content->buffer->data, "\n\n\n", "Click 'Forward' to install the shared folder\n\n",NULL);
- title_page = GNOME_DRUID_PAGE_EDGE (gnome_druid_page_edge_new_with_vals(GNOME_EDGE_START, TRUE, "Install the shared folder", start_message, NULL, NULL, NULL));
+ start_message = g_strconcat (_(" The User "), "'", name, "' " , _("has shared a folder with you\n\n"), " ",
+ _(" Message from "), "'" , name, "'\n\n\n", content->buffer->data, "\n\n\n", _("Click 'Forward' to install the shared folder\n\n"), NULL);
+ title_page = GNOME_DRUID_PAGE_EDGE (gnome_druid_page_edge_new_with_vals(GNOME_EDGE_START, TRUE, _("Install the shared folder"), start_message, NULL, NULL, NULL));
g_free(start_message);
- wizard = GNOME_DRUID (gnome_druid_new_with_window ("Shared Folder Installation", NULL, TRUE, (GtkWidget**)(&window)));
+ wizard = GNOME_DRUID (gnome_druid_new_with_window (_("Shared Folder Installation"), NULL, TRUE, (GtkWidget**)(&window)));
gtk_window_set_position (GTK_WINDOW (window) , GTK_WIN_POS_CENTER_ALWAYS);
gnome_druid_append_page(wizard, GNOME_DRUID_PAGE(title_page));
gtk_widget_show_all (GTK_WIDGET (title_page));
diff --git a/plugins/groupwise-features/junk-settings.c b/plugins/groupwise-features/junk-settings.c
index 2575addc72..c5f7cd1177 100644
--- a/plugins/groupwise-features/junk-settings.c
+++ b/plugins/groupwise-features/junk-settings.c
@@ -421,7 +421,7 @@ junk_settings_construct (JunkSettings *js)
gtk_widget_show (GTK_WIDGET (js->entry_list));
js->cell = gtk_cell_renderer_text_new ();
- js->column = gtk_tree_view_column_new_with_attributes ("Email", js->cell, "text", 0, NULL);
+ js->column = gtk_tree_view_column_new_with_attributes (_("Email"), js->cell, "text", 0, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (js->entry_list),
GTK_TREE_VIEW_COLUMN (js->column));
diff --git a/plugins/groupwise-features/share-folder.c b/plugins/groupwise-features/share-folder.c
index beb4e0a533..0cbbf66f99 100644
--- a/plugins/groupwise-features/share-folder.c
+++ b/plugins/groupwise-features/share-folder.c
@@ -25,6 +25,7 @@
#include <glade/glade.h>
#include "share-folder.h"
#include <glib/gmain.h>
+#include <glib/gi18n-lib.h>
#include <gtk/gtktreemodel.h>
#include <gtk/gtkliststore.h>
#include <gtk/gtktreeselection.h>
@@ -756,24 +757,24 @@ share_folder_construct (ShareFolder *sf)
gtk_widget_show (GTK_WIDGET (sf->user_list));
sf->cell = gtk_cell_renderer_text_new ();
- sf->column = gtk_tree_view_column_new_with_attributes ("Users", sf->cell, "text", 0, NULL);
+ sf->column = gtk_tree_view_column_new_with_attributes (_("Users"), sf->cell, "text", 0, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (sf->user_list),
GTK_TREE_VIEW_COLUMN (sf->column));
sf->cell = gtk_cell_renderer_toggle_new ();
- sf->column = gtk_tree_view_column_new_with_attributes ("Add ", sf->cell, "active" , 1, NULL);
+ sf->column = gtk_tree_view_column_new_with_attributes (_("Add "), sf->cell, "active" , 1, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (sf->user_list),
GTK_TREE_VIEW_COLUMN (sf->column));
g_signal_connect (sf->cell, "toggled", G_CALLBACK (add_right_clicked), sf);
sf->cell = gtk_cell_renderer_toggle_new ();
- sf->column = gtk_tree_view_column_new_with_attributes ("Modify", sf->cell, "active", 2, NULL);
+ sf->column = gtk_tree_view_column_new_with_attributes (_("Modify"), sf->cell, "active", 2, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (sf->user_list),
GTK_TREE_VIEW_COLUMN (sf->column));
g_signal_connect (sf->cell, "toggled", G_CALLBACK (edit_right_clicked), sf);
sf->cell = gtk_cell_renderer_toggle_new ();
- sf->column = gtk_tree_view_column_new_with_attributes ("Delete", sf->cell, "active", 3, NULL);
+ sf->column = gtk_tree_view_column_new_with_attributes (_("Delete"), sf->cell, "active", 3, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (sf->user_list),
GTK_TREE_VIEW_COLUMN (sf->column));
g_signal_connect (sf->cell, "toggled", G_CALLBACK (delete_right_clicked), sf);
diff --git a/plugins/groupwise-features/status-track.c b/plugins/groupwise-features/status-track.c
index 1a9ef868d3..f14d241bed 100644
--- a/plugins/groupwise-features/status-track.c
+++ b/plugins/groupwise-features/status-track.c
@@ -115,7 +115,7 @@ track_status (EPopup *ep, EPopupItem *item, void *data)
/*Create the dialog*/
d = (GtkDialog *) gtk_dialog_new ();
gtk_dialog_add_button (d, GTK_STOCK_OK, GTK_RESPONSE_OK);
- gtk_window_set_title (GTK_WINDOW (d), "Message Status");
+ gtk_window_set_title (GTK_WINDOW (d), _("Message Status"));
table = (GtkTable *) gtk_table_new (1, 2, FALSE);
win = (GtkScrolledWindow *) gtk_scrolled_window_new (NULL, NULL);
@@ -129,7 +129,7 @@ track_status (EPopup *ep, EPopupItem *item, void *data)
gtk_table_set_row_spacings (table, 6);
/*Subject*/
- widget = gtk_label_new ("<b>Subject</b> :");
+ widget = gtk_label_new (_("<b>Subject</b> :"));
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);
@@ -141,7 +141,7 @@ 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> :");
+ widget = gtk_label_new (_("<b>From</b> :"));
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);
@@ -154,7 +154,7 @@ 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> :");
+ widget = gtk_label_new (_("<b>Creation date</b> :"));
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);
@@ -174,15 +174,15 @@ track_status (EPopup *ep, EPopupItem *item, void *data)
gtk_table_set_col_spacings (table ,12);
gtk_table_set_row_spacings (table, 6);
gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET (table), FALSE, TRUE, 0);
- widget = gtk_label_new ("<b>Recipients </b>");
+ widget = gtk_label_new (_("<b>Recipients </b>"));
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);
- widget = gtk_label_new ("<b>Action</b>");
+ widget = gtk_label_new (_("<b>Action</b>"));
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 , 1, 2, row, row + 1, GTK_FILL, 0, 0, 0);
- widget = gtk_label_new ("<b>Date and Time</b>");
+ widget = gtk_label_new (_("<b>Date and Time</b>"));
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 , 2, 3, row, row + 1, GTK_FILL, 0, 0, 0);
diff --git a/plugins/imap-features/ChangeLog b/plugins/imap-features/ChangeLog
index ee9075ce21..d15fe4e3ec 100644
--- a/plugins/imap-features/ChangeLog
+++ b/plugins/imap-features/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * imap-headers.c: (org_gnome_imap_headers):
+ mark strings as translatable. See bug #399381 for details.
+
2007-01-22 Sankar P <psankar@novell.com>
* ChangeLog
diff --git a/plugins/imap-features/imap-headers.c b/plugins/imap-features/imap-headers.c
index d08f32489d..ff29c82ebe 100644
--- a/plugins/imap-features/imap-headers.c
+++ b/plugins/imap-features/imap-headers.c
@@ -245,7 +245,7 @@ org_gnome_imap_headers (EPlugin *epl, EConfigHookItemFactoryData *data)
g_signal_connect (add_header, "clicked", G_CALLBACK(add_header_clicked), NULL);
g_signal_connect (remove_header, "clicked", G_CALLBACK(remove_header_clicked), NULL);
- gtk_notebook_append_page ((GtkNotebook *)(data->parent), vbox, gtk_label_new("IMAP Headers"));
+ gtk_notebook_append_page ((GtkNotebook *)(data->parent), vbox, gtk_label_new(_("IMAP Headers")));
gtk_widget_show_all (vbox);
return NULL;
}
diff --git a/plugins/ipod-sync/ChangeLog b/plugins/ipod-sync/ChangeLog
index 684b5be1e8..198e86a2a1 100644
--- a/plugins/ipod-sync/ChangeLog
+++ b/plugins/ipod-sync/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * evolution-ipod-sync.c: (ipod_check_status):
+ mark strings as translatable. See bug #399381 for details.
+
2006-05-13 Harish Krishnaswamy <kharish@novell.com>
* Makefile.am : Add evolution-ipod-sync.h to dist.
diff --git a/plugins/ipod-sync/evolution-ipod-sync.c b/plugins/ipod-sync/evolution-ipod-sync.c
index fe31bdb4d7..4b7a3743ed 100644
--- a/plugins/ipod-sync/evolution-ipod-sync.c
+++ b/plugins/ipod-sync/evolution-ipod-sync.c
@@ -11,6 +11,7 @@
#include "evolution-ipod-sync.h"
#include <gnome.h>
+#include <glib/gi18n-lib.h>
#include <glade/glade.h>
#include <libhal.h>
@@ -57,14 +58,13 @@ ipod_check_status (gboolean silent)
* it wasn't plugged in. Either way, we want to umount
* the iPod when we finish syncing. */
if (!silent) {
- GtkWidget *message = gtk_message_dialog_new_with_markup (
- NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
- "<span weight=\"bold\" size=\"larger\">"
- "Search for a iPod failed"
- "</span>\n\n"
- "Evolution could not find a iPod to synchronize with."
- "Either it is not connected to the system or it is "
- "not powered on.");
+ GtkWidget *message = gtk_message_dialog_new_with_markup (NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
+ _("<span weight=\"bold\" size=\"larger\">"
+ "Search for a iPod failed"
+ "</span>\n\n"
+ "Evolution could not find a iPod to synchronize with."
+ "Either it is not connected to the system or it is "
+ "not powered on."));
gtk_dialog_run (GTK_DIALOG (message));
gtk_widget_destroy (message);
diff --git a/plugins/save-attachments/ChangeLog b/plugins/save-attachments/ChangeLog
index a2150378c5..fd685afd5c 100644
--- a/plugins/save-attachments/ChangeLog
+++ b/plugins/save-attachments/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * save-attachments.c: (save_got_message):
+ mark strings as translatable. See bug #399381 for details.
+
2006-07-07 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fixes bug #341369
diff --git a/plugins/save-attachments/save-attachments.c b/plugins/save-attachments/save-attachments.c
index 9f28d71c30..080b520891 100644
--- a/plugins/save-attachments/save-attachments.c
+++ b/plugins/save-attachments/save-attachments.c
@@ -331,7 +331,7 @@ save_got_message(CamelFolder *folder, const char *uid, CamelMimeMessage *msg, vo
data->msg = msg;
camel_object_ref(msg);
- dialog = (GtkDialog *)gtk_dialog_new_with_buttons("Save attachments",
+ dialog = (GtkDialog *)gtk_dialog_new_with_buttons(_("Save attachments"),
NULL, /* target->parent? */
0,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
diff --git a/plugins/startup-wizard/ChangeLog b/plugins/startup-wizard/ChangeLog
index cf72fe35cb..92455b55c6 100644
--- a/plugins/startup-wizard/ChangeLog
+++ b/plugins/startup-wizard/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-27 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * startup-wizard.c: (startup_wizard_timezone_page),
+ (startup_wizard_importer_page):
+ mark strings as translatable. See bug #399381 for details.
+
2006-06-14 Srinivasa Ragavan <sragavan@novell.com>
* startup-wizard.c: (startup_wizard_timezone_page): Pass the default
diff --git a/plugins/startup-wizard/startup-wizard.c b/plugins/startup-wizard/startup-wizard.c
index eceb683c2c..fd05318674 100644
--- a/plugins/startup-wizard/startup-wizard.c
+++ b/plugins/startup-wizard/startup-wizard.c
@@ -107,7 +107,7 @@ startup_wizard_timezone_page (EPlugin *ep, EConfigHookItemFactoryData *hook_data
etd = e_timezone_dialog_new ();
g_object_set_data (G_OBJECT (hook_data->config), IMPORT_TIMEZONE_DIALOG, etd);
- page = gnome_druid_page_standard_new_with_vals ("Timezone", NULL, NULL);
+ page = gnome_druid_page_standard_new_with_vals (_("Timezone"), NULL, NULL);
e_timezone_dialog_reparent (etd, GNOME_DRUID_PAGE_STANDARD (page)->vbox);
e_timezone_dialog_set_timezone (etd, NULL);
@@ -133,7 +133,7 @@ startup_wizard_importer_page (EPlugin *ep, EConfigHookItemFactoryData *hook_data
if (import_importers == NULL)
return NULL;
- page = gnome_druid_page_standard_new_with_vals ("Importing files", NULL, NULL);
+ page = gnome_druid_page_standard_new_with_vals (_("Importing files"), NULL, NULL);
label = gtk_label_new (_("Please select the information that you would like to import:"));
gtk_box_pack_start (GTK_BOX (GNOME_DRUID_PAGE_STANDARD (page)->vbox), label, FALSE, FALSE, 3);