[libgda] GdaBrowser: use capitalization in menu items, fixes bug #699573



commit 00d3e7c6e13dfdab4674c76f8aae87ffc6650195
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun May 5 13:48:52 2013 +0200

    GdaBrowser: use capitalization in menu items, fixes bug #699573

 tools/browser/browser-window.c                     |   12 ++++++------
 .../data-manager/data-manager-perspective.c        |    4 ++--
 .../browser/dummy-perspective/dummy-perspective.c  |    4 ++--
 .../ldap-browser/ldap-browser-perspective.c        |    8 ++++----
 tools/browser/ldap-browser/ldap-classes-page.c     |    4 ++--
 tools/browser/ldap-browser/ldap-entries-page.c     |    4 ++--
 tools/browser/ldap-browser/ldap-search-page.c      |    2 +-
 tools/browser/query-exec/query-exec-perspective.c  |    4 ++--
 .../schema-browser/schema-browser-perspective.c    |    2 +-
 tools/browser/schema-browser/table-info.c          |    4 ++--
 10 files changed, 24 insertions(+), 24 deletions(-)
---
diff --git a/tools/browser/browser-window.c b/tools/browser/browser-window.c
index f3bf81f..964f083 100644
--- a/tools/browser/browser-window.c
+++ b/tools/browser/browser-window.c
@@ -279,20 +279,20 @@ static const GtkToggleActionEntry ui_toggle_actions [] =
 static const GtkActionEntry ui_actions[] = {
         { "Connection", NULL, N_("_Connection"), NULL, N_("Connection"), NULL },
         { "ConnectionOpen", GTK_STOCK_CONNECT, N_("_Connect"), NULL, N_("Open a connection"), G_CALLBACK 
(connection_open_cb)},
-        { "ConnectionBind", NULL, N_("_Bind connection"), "<control>I", N_("Use connection to create\n"
+        { "ConnectionBind", NULL, N_("_Bind Connection"), "<control>I", N_("Use connection to create\n"
                                                    "a new binding connection to access data\n"
                                                    "from multiple databases at once"), G_CALLBACK 
(connection_bind_cb)},
         { "ConnectionProps", GTK_STOCK_PROPERTIES, N_("_Properties"), NULL, N_("Connection properties"), 
G_CALLBACK (connection_properties_cb)},
-        { "ConnectionList", NULL, N_("_Connections list"), NULL, N_("Connections list"), G_CALLBACK 
(connection_list_cb)},
-        { "ConnectionMetaSync", GTK_STOCK_REFRESH, N_("_Fetch meta data"), NULL, N_("Fetch meta data"), 
G_CALLBACK (connection_meta_update_cb)},
-        { "ConnectionClose", GTK_STOCK_CLOSE, N_("_Close connection"), NULL, N_("Close this connection"), 
G_CALLBACK (connection_close_cb)},
+        { "ConnectionList", NULL, N_("_Connections List"), NULL, N_("Connections list"), G_CALLBACK 
(connection_list_cb)},
+        { "ConnectionMetaSync", GTK_STOCK_REFRESH, N_("_Fetch Meta Data"), NULL, N_("Fetch meta data"), 
G_CALLBACK (connection_meta_update_cb)},
+        { "ConnectionClose", GTK_STOCK_CLOSE, N_("_Close Connection"), NULL, N_("Close this connection"), 
G_CALLBACK (connection_close_cb)},
         { "Quit", GTK_STOCK_QUIT, N_("_Quit"), NULL, N_("Quit"), G_CALLBACK (quit_cb)},
         { "Edit", NULL, N_("_Edit"), NULL, N_("Edit"), NULL },
         { "Display", NULL, N_("_Display"), NULL, N_("Display"), NULL },
         { "Perspective", NULL, N_("_Perspective"), NULL, N_("Perspective"), NULL },
         { "Window", NULL, N_("_Window"), NULL, N_("Window"), NULL },
-        { "WindowNew", STOCK_NEW_WINDOW, N_("_New window"), "<control>N", N_("Open a new window for current 
connection"), G_CALLBACK (window_new_cb)},
-        { "WindowNewOthers", NULL, N_("New window for _connection"), NULL, N_("Open a new window for a 
connection"), NULL},
+        { "WindowNew", STOCK_NEW_WINDOW, N_("_New Window"), "<control>N", N_("Open a new window for current 
connection"), G_CALLBACK (window_new_cb)},
+        { "WindowNewOthers", NULL, N_("New Window for _Connection"), NULL, N_("Open a new window for a 
connection"), NULL},
         { "WindowClose", GTK_STOCK_CLOSE, N_("_Close"), NULL, N_("Close this window"), G_CALLBACK 
(window_close_cb)},
         { "Help", NULL, N_("_Help"), NULL, N_("Help"), NULL },
         { "HelpAbout", GTK_STOCK_ABOUT, N_("_About"), NULL, N_("About"), G_CALLBACK (about_cb) },
diff --git a/tools/browser/data-manager/data-manager-perspective.c 
b/tools/browser/data-manager/data-manager-perspective.c
index b072ac6..15c1ed7 100644
--- a/tools/browser/data-manager/data-manager-perspective.c
+++ b/tools/browser/data-manager/data-manager-perspective.c
@@ -329,12 +329,12 @@ favorites_toggle_cb (GtkToggleAction *action, BrowserPerspective *bpers)
 
 static const GtkToggleActionEntry ui_toggle_actions [] =
 {
-        { "DataManagerFavoritesShow", NULL, N_("_Show favorites"), "F9", N_("Show or hide favorites"), 
G_CALLBACK (favorites_toggle_cb), FALSE}
+        { "DataManagerFavoritesShow", NULL, N_("_Show Favorites"), "F9", N_("Show or hide favorites"), 
G_CALLBACK (favorites_toggle_cb), FALSE}
 };
 
 static GtkActionEntry ui_actions[] = {
         { "DataManagerMenu", NULL, N_("_Manager"), NULL, N_("Manager"), NULL },
-        { "NewDataManager", GTK_STOCK_NEW, N_("_New data manager"), "<control>T", N_("New data manager"),
+        { "NewDataManager", GTK_STOCK_NEW, N_("_New Data Manager"), "<control>T", N_("New data manager"),
           G_CALLBACK (manager_new_cb)},
 };
 
diff --git a/tools/browser/dummy-perspective/dummy-perspective.c 
b/tools/browser/dummy-perspective/dummy-perspective.c
index 54afc5c..d0f1bf6 100644
--- a/tools/browser/dummy-perspective/dummy-perspective.c
+++ b/tools/browser/dummy-perspective/dummy-perspective.c
@@ -155,9 +155,9 @@ dummy_list_cb (G_GNUC_UNUSED GtkAction *action, G_GNUC_UNUSED BrowserPerspective
 
 static GtkActionEntry ui_actions[] = {
         { "DummyMenu", NULL, "_Dummy", NULL, "DummyMenu", NULL },
-        { "DummyItem1", GTK_STOCK_ADD, "_Dummy add", NULL, "Add something",
+        { "DummyItem1", GTK_STOCK_ADD, "_Dummy Add", NULL, "Add something",
           G_CALLBACK (dummy_add_cb)},
-        { "DummyItem2", GTK_STOCK_REMOVE, "_Dummy list", NULL, "List something",
+        { "DummyItem2", GTK_STOCK_REMOVE, "_Dummy List", NULL, "List something",
           G_CALLBACK (dummy_list_cb)},
 };
 
diff --git a/tools/browser/ldap-browser/ldap-browser-perspective.c 
b/tools/browser/ldap-browser/ldap-browser-perspective.c
index e360cf8..c9b0c67 100644
--- a/tools/browser/ldap-browser/ldap-browser-perspective.c
+++ b/tools/browser/ldap-browser/ldap-browser-perspective.c
@@ -329,16 +329,16 @@ ldab_search_add_cb (G_GNUC_UNUSED GtkAction *action, BrowserPerspective *bpers)
 
 static const GtkToggleActionEntry ui_toggle_actions [] =
        {
-               { "LdapToolsFavoritesShow", NULL, N_("_Show favorites"), "F9", N_("Show or hide favorites"), 
G_CALLBACK (favorites_toggle_cb), FALSE }
+               { "LdapToolsFavoritesShow", NULL, N_("_Show Favorites"), "F9", N_("Show or hide favorites"), 
G_CALLBACK (favorites_toggle_cb), FALSE }
        };
 
 static GtkActionEntry ui_actions[] = {
        { "LDAP", NULL, N_("_LDAP"), NULL, N_("LDAP"), NULL },
-        { "LdapLdapEntriesPageNew", BROWSER_STOCK_LDAP_ENTRIES, N_("_New LDAP entries browser"), 
"<control>T", N_("Open a new LDAP entries browser"),
+        { "LdapLdapEntriesPageNew", BROWSER_STOCK_LDAP_ENTRIES, N_("_New LDAP Entries Browser"), 
"<control>T", N_("Open a new LDAP entries browser"),
           G_CALLBACK (ldab_ldap_entries_page_add_cb)},
-        { "LdapLdapClassesPageNew", NULL, N_("_New LDAP classes browser"), "<control>C", N_("Open a new LDAP 
classes browser"),
+        { "LdapLdapClassesPageNew", NULL, N_("_New LDAP Classes Browser"), "<control>C", N_("Open a new LDAP 
classes browser"),
          G_CALLBACK (ldab_ldap_classes_page_add_cb)},
-        { "LdapSearchNew", GTK_STOCK_FIND, N_("_New LDAP search"), "<control>G", N_("Open a new LDAP search 
form"),
+        { "LdapSearchNew", GTK_STOCK_FIND, N_("_New LDAP Search"), "<control>G", N_("Open a new LDAP search 
form"),
          G_CALLBACK (ldab_search_add_cb)},
 };
 
diff --git a/tools/browser/ldap-browser/ldap-classes-page.c b/tools/browser/ldap-browser/ldap-classes-page.c
index 1c7c9f3..4287a75 100644
--- a/tools/browser/ldap-browser/ldap-classes-page.c
+++ b/tools/browser/ldap-browser/ldap-classes-page.c
@@ -506,9 +506,9 @@ static GtkActionEntry ui_actions[] = {
        { "LDAP", NULL, N_("_LDAP"), NULL, N_("LDAP"), NULL },
        { "AddToFav", STOCK_ADD_BOOKMARK, N_("Add to _Favorites"), NULL, N_("Add class to favorites"),
          G_CALLBACK (action_add_to_fav_cb)},
-       { "DnBack", GTK_STOCK_GO_BACK, N_("Previous class"), NULL, N_("Move back to previous LDAP class"),
+       { "DnBack", GTK_STOCK_GO_BACK, N_("Previous Class"), NULL, N_("Move back to previous LDAP class"),
          G_CALLBACK (action_class_back_cb)},
-       { "DnForward", GTK_STOCK_GO_FORWARD, N_("Next class"), NULL, N_("Move to next LDAP class"),
+       { "DnForward", GTK_STOCK_GO_FORWARD, N_("Next Class"), NULL, N_("Move to next LDAP class"),
          G_CALLBACK (action_class_forward_cb)},
 };
 static const gchar *ui_actions_browser =
diff --git a/tools/browser/ldap-browser/ldap-entries-page.c b/tools/browser/ldap-browser/ldap-entries-page.c
index cc543d4..43c7fa9 100644
--- a/tools/browser/ldap-browser/ldap-entries-page.c
+++ b/tools/browser/ldap-browser/ldap-entries-page.c
@@ -512,9 +512,9 @@ static GtkActionEntry ui_actions[] = {
        { "LDAP", NULL, N_("_LDAP"), NULL, N_("LDAP"), NULL },
        { "AddToFav", STOCK_ADD_BOOKMARK, N_("Add to _Favorites"), NULL, N_("Add entry to favorites"),
          G_CALLBACK (action_add_to_fav_cb)},
-       { "DnBack", GTK_STOCK_GO_BACK, N_("Previous entry"), NULL, N_("Move back to previous LDAP entry"),
+       { "DnBack", GTK_STOCK_GO_BACK, N_("Previous Entry"), NULL, N_("Move back to previous LDAP entry"),
          G_CALLBACK (action_dn_back_cb)},
-       { "DnForward", GTK_STOCK_GO_FORWARD, N_("Next entry"), NULL, N_("Move to next LDAP entry"),
+       { "DnForward", GTK_STOCK_GO_FORWARD, N_("Next Entry"), NULL, N_("Move to next LDAP entry"),
          G_CALLBACK (action_dn_forward_cb)},
 };
 static const gchar *ui_actions_browser =
diff --git a/tools/browser/ldap-browser/ldap-search-page.c b/tools/browser/ldap-browser/ldap-search-page.c
index b84651a..938fa76 100644
--- a/tools/browser/ldap-browser/ldap-search-page.c
+++ b/tools/browser/ldap-browser/ldap-search-page.c
@@ -462,7 +462,7 @@ action_class_forward_cb (G_GNUC_UNUSED GtkAction *action, LdapSearchPage *epage)
 */
 static GtkActionEntry ui_actions[] = {
        { "LDAP", NULL, N_("_LDAP"), NULL, N_("LDAP"), NULL },
-       { "DefineAsTable", BROWSER_STOCK_TABLE_ADD, N_("Define as table"), NULL, N_("Define search as a 
virtual table"),
+       { "DefineAsTable", BROWSER_STOCK_TABLE_ADD, N_("Define as Table"), NULL, N_("Define search as a 
virtual table"),
          G_CALLBACK (action_define_as_table_cb)},
        /*
        { "DnBack", GTK_STOCK_GO_BACK, N_("Previous class"), NULL, N_("Move back to previous LDAP class"),
diff --git a/tools/browser/query-exec/query-exec-perspective.c 
b/tools/browser/query-exec/query-exec-perspective.c
index 1b4e43c..350616b 100644
--- a/tools/browser/query-exec/query-exec-perspective.c
+++ b/tools/browser/query-exec/query-exec-perspective.c
@@ -310,12 +310,12 @@ favorites_toggle_cb (GtkToggleAction *action, BrowserPerspective *bpers)
 
 static const GtkToggleActionEntry ui_toggle_actions [] =
 {
-        { "QueryExecFavoritesShow", NULL, N_("_Show favorites"), "F9", N_("Show or hide favorites"), 
G_CALLBACK (favorites_toggle_cb), FALSE }
+        { "QueryExecFavoritesShow", NULL, N_("_Show Favorites"), "F9", N_("Show or hide favorites"), 
G_CALLBACK (favorites_toggle_cb), FALSE }
 };
 
 static GtkActionEntry ui_actions[] = {
         { "QueryExecMenu", NULL, N_("_Query"), NULL, N_("Query"), NULL },
-        { "QueryExecItem1", STOCK_CONSOLE, N_("_New editor"), "<control>T", N_("Open a new query editor"),
+        { "QueryExecItem1", STOCK_CONSOLE, N_("_New Editor"), "<control>T", N_("Open a new query editor"),
           G_CALLBACK (query_exec_add_cb)},
 };
 
diff --git a/tools/browser/schema-browser/schema-browser-perspective.c 
b/tools/browser/schema-browser/schema-browser-perspective.c
index a9d6a85..92f8beb 100644
--- a/tools/browser/schema-browser/schema-browser-perspective.c
+++ b/tools/browser/schema-browser/schema-browser-perspective.c
@@ -305,7 +305,7 @@ favorites_toggle_cb (GtkToggleAction *action, BrowserPerspective *bpers)
 
 static const GtkToggleActionEntry ui_toggle_actions [] =
 {
-        { "SchemaToolsFavoritesShow", NULL, N_("_Show favorites"), "F9", N_("Show or hide favorites"), 
G_CALLBACK (favorites_toggle_cb), FALSE }
+        { "SchemaToolsFavoritesShow", NULL, N_("_Show Favorites"), "F9", N_("Show or hide favorites"), 
G_CALLBACK (favorites_toggle_cb), FALSE }
 };
 
 static GtkActionEntry ui_actions[] = {
diff --git a/tools/browser/schema-browser/table-info.c b/tools/browser/schema-browser/table-info.c
index c68986c..5040b24 100644
--- a/tools/browser/schema-browser/table-info.c
+++ b/tools/browser/schema-browser/table-info.c
@@ -990,9 +990,9 @@ static GtkActionEntry ui_actions[] = {
          G_CALLBACK (action_add_to_fav_cb)},
        { "ViewContents", GTK_STOCK_EDIT, N_("_Contents"), NULL, N_("View table's contents"),
          G_CALLBACK (action_view_contents_cb)},
-       { "InsertData", GTK_STOCK_ADD, N_("_Insert data"), NULL, N_("Insert data into table"),
+       { "InsertData", GTK_STOCK_ADD, N_("_Insert Data"), NULL, N_("Insert data into table"),
          G_CALLBACK (action_insert_cb)},
-       { "KfDeclare", NULL, N_("_Declare foreign key"), NULL, N_("Declare a foreign key for table"),
+       { "KfDeclare", NULL, N_("_Declare Foreign Key"), NULL, N_("Declare a foreign key for table"),
          G_CALLBACK (action_declarefk_cb)},
 };
 static const gchar *ui_actions_info =


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]