From 93a849a872c3de12ce64c243068493bda171c27d Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 28 Aug 2006 06:54:55 +0000 Subject: ** Fix for bug #353059 svn path=/trunk/; revision=32686 --- mail/ChangeLog | 7 +++++++ mail/em-folder-browser.c | 4 ++-- widgets/misc/ChangeLog | 7 +++++++ widgets/misc/e-search-bar.c | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index bcc524cd29..cf0e348ba4 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2006-08-28 Srinivasa Ragavan + + ** Fix for bug #353059 + + * em-folder-browser.c: (generate_viewoption_menu): Added translated + strings to search, which are already translated. + 2006-08-27 Srinivasa Ragavan ** Fix for bug #352980 diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index 7abacdb578..2aca161d18 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -297,7 +297,7 @@ generate_viewoption_menu (GtkWidget *emfv) for (i = 0; emfb_view_items[i].search.id != -1; ++i) { if (emfb_view_items[i].search.text) { char *str; - str = string_without_underscores (emfb_view_items[i].search.text); + str = string_without_underscores (_(emfb_view_items[i].search.text)); menu_item = gtk_image_menu_item_new_with_label (str); /* if (emfb_view_items[i].image) gtk_image_menu_item_set_image (menu_item, e_icon_factory_get_image (emfb_view_items[i].image, E_ICON_SIZE_MENU)); */ @@ -352,7 +352,7 @@ generate_viewoption_menu (GtkWidget *emfv) for (i = 0; temp_view_items[i].search.id != -1; ++i) { if (temp_view_items[i].search.text) { char *str; - str = string_without_underscores (temp_view_items[i].search.text); + str = string_without_underscores (_(temp_view_items[i].search.text)); menu_item = gtk_image_menu_item_new_with_label (str); /* if (temp_view_items[i].image) gtk_image_menu_item_set_image (menu_item, e_icon_factory_get_image (temp_view_items[i].image, E_ICON_SIZE_MENU)); */ diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 3aeb9d28b4..4be92b7506 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,10 @@ +2006-08-28 Srinivasa Ragavan + + ** Fix for bug #353059 + + * e-search-bar.c: (e_search_bar_set_scopeoption): Added translatable + options to search strings, which are already translated. + 2006-08-23 Behnam Esfahbod * e-calendar.c: diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index 85ce98217a..5d771854ca 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -1177,7 +1177,7 @@ e_search_bar_set_scopeoption (ESearchBar *search_bar, ESearchBarItem *scopeitems for (i = 0; scopeitems[i].id != -1; ++i) { if (scopeitems[i].text) { char *str; - str = string_without_underscores (scopeitems[i].text); + str = string_without_underscores (_(scopeitems[i].text)); menu_item = gtk_menu_item_new_with_label (str); g_object_set_data_full (G_OBJECT (menu_item), "string",str, g_free); } else { -- cgit