aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features
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/groupwise-features
parentfcfe102b0c0340918e013b7f3cb39fb5560a4fef (diff)
downloadgsoc2013-evolution-44eb71780ac5a7e72ba9106c20eef913b29abd05.tar
gsoc2013-evolution-44eb71780ac5a7e72ba9106c20eef913b29abd05.tar.gz
gsoc2013-evolution-44eb71780ac5a7e72ba9106c20eef913b29abd05.tar.bz2
gsoc2013-evolution-44eb71780ac5a7e72ba9106c20eef913b29abd05.tar.lz
gsoc2013-evolution-44eb71780ac5a7e72ba9106c20eef913b29abd05.tar.xz
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/groupwise-features')
-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
5 files changed, 25 insertions, 17 deletions
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);