[gnome-utils] [gsearchtool] Mark 'Open with' strings for translation
- From: Dennis Cranston <dcransto src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-utils] [gsearchtool] Mark 'Open with' strings for translation
- Date: Tue, 11 Aug 2009 05:14:03 +0000 (UTC)
commit 935c31ee380a471e6258cbe302671b9595907897
Author: Dennis Cranston <dennis_cranston yahoo com>
Date: Mon Aug 10 22:12:19 2009 -0700
[gsearchtool] Mark 'Open with' strings for translation
gsearchtool/ChangeLog | 6 ++++++
gsearchtool/gsearchtool-callbacks.c | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/gsearchtool/ChangeLog b/gsearchtool/ChangeLog
index 834d022..99de879 100644
--- a/gsearchtool/ChangeLog
+++ b/gsearchtool/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-10 Dennis Cranston <dennis_cranston yahoo com>
+
+ * gsearchtool-callbacks.c: Rework 'Open With' menu layout
+ to match changes made to nautilus. Mark 'Open with'
+ strings for translation.
+
2009-05-18 Dennis Cranston <dennis_cranston yahoo com>
* configure.ac, Makefile.am, *.[ch]: Added libeggsmclient
diff --git a/gsearchtool/gsearchtool-callbacks.c b/gsearchtool/gsearchtool-callbacks.c
index aa920a3..b8e7058 100644
--- a/gsearchtool/gsearchtool-callbacks.c
+++ b/gsearchtool/gsearchtool-callbacks.c
@@ -1060,7 +1060,7 @@ build_popup_menu_for_file (GSearchWindow * gsearch,
}
/* Popup menu item: Open with (default) */
- str = g_strdup_printf ("_Open with %s", g_app_info_get_name (list->data));
+ str = g_strdup_printf (_("_Open with %s"), g_app_info_get_name (list->data));
new1 = gtk_image_menu_item_new_with_mnemonic (str);
gtk_widget_show (new1);
@@ -1091,7 +1091,7 @@ build_popup_menu_for_file (GSearchWindow * gsearch,
/* Popup menu item: Open with (others) */
if (list_length < 4) {
- str = g_strdup_printf ("Open with %s", g_app_info_get_name (list->data));
+ str = g_strdup_printf (_("Open with %s"), g_app_info_get_name (list->data));
}
else {
str = g_strdup_printf ("%s", g_app_info_get_name (list->data));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]