]> spindle.queued.net Git - midori/commitdiff
Adjust mnemonics to not conflict when used in the same context
authorChristian Dywan <christian@twotoasts.de>
Thu, 11 Jun 2009 21:57:42 +0000 (23:57 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 11 Jun 2009 21:57:42 +0000 (23:57 +0200)
midori/midori-browser.c
midori/midori-view.c
midori/sokoke.c

index 8263c06a0d3aaa17691090e8190623b500634859..46a5c2eb5e1d879f724aa9b8a30d71bc2b2a739f 100644 (file)
@@ -4037,7 +4037,7 @@ static const GtkActionEntry entries[] = {
     N_("Custom..."), "",
     NULL, G_CALLBACK (_action_view_encoding_activate) },
  { "SourceView", NULL,
-   N_("View _Source"), "<Ctrl>U",
+   N_("View So_urce"), "<Ctrl>U",
    N_("View the source code of the page"), G_CALLBACK (_action_source_view_activate) },
  { "SelectionSourceView", NULL,
     N_("View Selection Source"), "",
@@ -4061,14 +4061,14 @@ static const GtkActionEntry entries[] = {
    N_("Empty Trash"), "",
    N_("Delete the contents of the trash"), G_CALLBACK (_action_trash_empty_activate) },
  { "UndoTabClose", GTK_STOCK_UNDELETE,
-   N_("Undo Close Tab"), "<Ctrl><Shift>t",
+   N_("Undo _Close Tab"), "<Ctrl><Shift>t",
    N_("Open the last closed tab"), G_CALLBACK (_action_undo_tab_close_activate) },
 
  { "BookmarkAdd", STOCK_BOOKMARK_ADD,
    NULL, "<Ctrl>d",
    N_("Add a new bookmark"), G_CALLBACK (_action_bookmark_add_activate) },
  { "BookmarkFolderAdd", GTK_STOCK_DIRECTORY,
-   N_("Add a new folder"), "",
+   N_("Add a new _folder"), "",
    N_("Add a new bookmark folder"), G_CALLBACK (_action_bookmark_folder_add_activate) },
  { "Tools", NULL, N_("_Tools") },
  { "ManageSearchEngines", GTK_STOCK_PROPERTIES,
index 054a9e4d248054dda52d76ce59107ca291f0c346..93af3d4788119fca2659ec00af30a9a4ca3d6fc3 100644 (file)
@@ -1314,7 +1314,7 @@ webkit_web_view_populate_popup_cb (WebKitWebView* web_view,
             }
         }
         g_list_free (items);
-        menuitem = gtk_image_menu_item_new_with_mnemonic (_("Undo Close Tab"));
+        menuitem = gtk_image_menu_item_new_with_mnemonic (_("Undo _Close Tab"));
         icon = gtk_image_new_from_stock (GTK_STOCK_UNDELETE, GTK_ICON_SIZE_MENU);
         gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menuitem), icon);
         gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
@@ -1356,7 +1356,7 @@ webkit_web_view_populate_popup_cb (WebKitWebView* web_view,
         if (!midori_view_can_view_source (view))
             gtk_widget_set_sensitive (menuitem, FALSE);
 
-        menuitem = gtk_image_menu_item_new_with_mnemonic (_("View _Source"));
+        menuitem = gtk_image_menu_item_new_with_mnemonic (_("View So_urce"));
         gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
         g_object_set_data (G_OBJECT (menuitem), "action", "SourceView");
         g_signal_connect (menuitem, "activate",
index 7ecda869431b67b048d0fedc1f568a20afa5e0b2..e9db11955f32363195aa9677f2a5aa4254d85d9d 100644 (file)
@@ -854,7 +854,7 @@ sokoke_register_stock_items (void)
 
         { STOCK_BOOKMARK,       N_("_Bookmark"), 0, 0, GTK_STOCK_FILE },
         { STOCK_BOOKMARKS,      N_("_Bookmarks"), 0, 0, GTK_STOCK_DIRECTORY },
-        { STOCK_BOOKMARK_ADD,   N_("_Add Bookmark"), 0, 0, GTK_STOCK_ADD },
+        { STOCK_BOOKMARK_ADD,   N_("Add Boo_kmark"), 0, 0, GTK_STOCK_ADD },
         { STOCK_CONSOLE,        N_("_Console"), 0, 0, GTK_STOCK_DIALOG_WARNING },
         { STOCK_EXTENSIONS,     N_("_Extensions"), 0, 0, GTK_STOCK_CONVERT },
         { STOCK_HISTORY,        N_("_History"), 0, 0, GTK_STOCK_SORT_ASCENDING },