aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-10-24 13:23:27 +0800
committerDan Winship <danw@src.gnome.org>2000-10-24 13:23:27 +0800
commit360675f54b51d53ac99409077f2d31d96284fb9b (patch)
tree265d70af032473fbdf08d04695ed2a9b3c5b4a34 /mail/folder-browser.c
parentbabd37f2f7b43ea61df0d320ac7344d18debae72 (diff)
downloadgsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.tar.gz
gsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.tar.zst
gsoc2013-evolution-360675f54b51d53ac99409077f2d31d96284fb9b.zip
lots of i18n fixes
svn path=/trunk/; revision=6143
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 86f5214b45..a88b5db0ac 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -134,12 +134,12 @@ folder_browser_set_message_preview (FolderBrowser *folder_browser, gboolean show
}
static char * search_options[] = {
- "Body or subject contains",
- "Body contains",
- "Subject contains",
- "Body does not contain",
- "Subject does not contain",
- "Custom search",
+ N_("Body or subject contains"),
+ N_("Body contains"),
+ N_("Subject contains"),
+ N_("Body does not contain"),
+ N_("Subject does not contain"),
+ N_("Custom search"),
NULL
};
@@ -265,7 +265,11 @@ create_option_menu (char **menu_list, int item, void *data)
while (*menu_list){
GtkWidget *entry;
- entry = e_utf8_gtk_menu_item_new_with_label (GTK_MENU(menu), *menu_list);
+ /* We don't use e_utf8_gtk_menu_item_new_with_label here
+ * because the string comes from gettext and so is localized,
+ * not UTF-8.
+ */
+ entry = gtk_menu_item_new_with_label (_(*menu_list));
gtk_widget_show (entry);
gtk_object_set_data((GtkObject *)entry, "search_option", (void *)i);
gtk_menu_append (GTK_MENU (menu), entry);
@@ -307,7 +311,7 @@ search_save(GtkWidget *w, FolderBrowser *fb)
/* some special case code for the custom search position */
if (index == CUSTOM_SEARCH_ID) {
g_free(text);
- text = g_strdup("Custom");
+ text = g_strdup(_("Custom"));
} else {
if (text == NULL || text[0] == 0) {
g_free (text);