Bug 1608022 - Migrate browser-sets to Fluent, part 5.
authorJakob Kappel Petersen <jakobkpetersen@gmail.com>
Sat, 01 Feb 2020 15:02:31 +0100
changeset 2331 7ebd9e3e5afcf973f4a67a2ee07e0cef668f939e
parent 2330 b68a89fe25307d1eac49711b3944208e422fabc7
child 2332 12c0e98a7dc0f2f5300136d8d4585aad310f537a
push id641
push userflodolo@mozilla.com
push dateSat, 01 Feb 2020 14:02:47 +0000
bugs1608022
Bug 1608022 - Migrate browser-sets to Fluent, part 5.
browser/browser/browserContext.ftl
browser/browser/browserSets.ftl
browser/browser/menubar.ftl
--- a/browser/browser/browserContext.ftl
+++ b/browser/browser/browserContext.ftl
@@ -60,16 +60,36 @@ main-context-menu-page-save =
 toolbar-button-page-save =
     .label = { main-context-menu-page-save.label }
 
 ## Simple menu items
 
 main-context-menu-bookmark-page =
     .aria-label = Bogmærk denne side
     .accesskey = m
+main-context-menu-bookmark-add =
+    .aria-label = Bogmærk denne side
+    .accesskey = m
+    .tooltiptext = Bogmærk denne side
+# Variables
+#   $shortcut (String) - A keyboard shortcut for the add bookmark command.
+main-context-menu-bookmark-add-with-shortcut =
+    .aria-label = Bogmærk denne side
+    .accesskey = m
+    .tooltiptext = Bogmærk denne side ({ $shortcut })
+main-context-menu-bookmark-change =
+    .aria-label = Rediger bogmærke
+    .accesskey = m
+    .tooltiptext = Rediger dette bogmærke
+# Variables
+#   $shortcut (String) - A keyboard shortcut for the edit bookmark command.
+main-context-menu-bookmark-change-with-shortcut =
+    .aria-label = Rediger bogmærke
+    .accesskey = m
+    .tooltiptext = Rediger dette bogmærke ({ $shortcut })
 main-context-menu-open-link =
     .label = Åbn link
     .accesskey = Å
 main-context-menu-open-link-new-tab =
     .label = Åbn link i nyt faneblad
     .accesskey = f
 main-context-menu-open-link-container-tab =
     .label = Åbn link i nyt kontekst-faneblad
--- a/browser/browser/browserSets.ftl
+++ b/browser/browser/browserSets.ftl
@@ -24,16 +24,18 @@ search-focus-shortcut =
 #   - web search
 #   - find in page
 find-shortcut =
     .key = f
 search-find-again-shortcut =
     .key = g
 search-find-again-shortcut-alt =
     .keycode = VK_F3
+search-find-selection-shortcut =
+    .key = e
 # Verify what shortcut for that operation
 # are recommended by the Human Interface Guidelines
 # of each platform for your locale.
 search-focus-shortcut-alt =
     .key =
         { PLATFORM() ->
             [linux] j
            *[other] e
@@ -50,40 +52,62 @@ downloads-shortcut =
 addons-shortcut =
     .key = A
 file-open-shortcut =
     .key = o
 save-page-shortcut =
     .key = s
 page-source-shortcut =
     .key = u
+# This should match the Option+Command keyboard shortcut letter that Safari
+# and Chrome use for "View Source" on macOS. `page-source-shortcut` above
+# is Firefox's official keyboard shortcut shown in the GUI.
+# Safari variant is an alias provided for the convenience of Safari and Chrome
+# users on macOS. See bug 1398988.
+page-source-shortcut-safari =
+    .key = u
 page-info-shortcut =
     .key = i
 print-shortcut =
     .key = p
+mute-toggle-shortcut =
+    .key = M
 nav-back-shortcut-alt =
     .key = [
 nav-fwd-shortcut-alt =
     .key = ]
 nav-reload-shortcut =
     .key = r
 # Shortcut available only on macOS.
 nav-stop-shortcut =
     .key = .
 history-show-all-shortcut =
     .key = H
 history-sidebar-shortcut =
     .key = h
 full-screen-shortcut =
     .key = f
+# Verify what shortcut for that operation
+# are recommended by the Human Interface Guidelines
+# of each platform for your locale.
+reader-mode-toggle-shortcut =
+    .key =
+        { PLATFORM() ->
+            [windows] VK_F9
+           *[other] R
+        }
+picture-in-picture-toggle-shortcut =
+    .key = ]
 # Pick the key that is commonly present
 # in your locale keyboards above the
 # `picture-in-picture-toggle-shortcut` key.
 picture-in-picture-toggle-shortcut-alt =
     .key = { "}" }
+bookmark-this-page-shortcut =
+    .key = d
 # Verify what shortcut for that operation
 # are recommended by the Human Interface Guidelines
 # of each platform for your locale.
 bookmark-show-all-shortcut =
     .key =
         { PLATFORM() ->
             [linux] o
            *[other] i
@@ -121,14 +145,18 @@ full-zoom-reset-shortcut-alt =
 bidi-switch-direction-shortcut =
     .key = X
 private-browsing-shortcut =
     .key = P
 
 ## The shortcuts below are for Mac specific
 ## global menu.
 
+quit-app-shortcut =
+    .key = Q
 help-shortcut =
     .key = ?
 preferences-shortcut =
     .key = ,
+hide-app-shortcut =
+    .key = H
 hide-other-apps-shortcut =
     .key = H
--- a/browser/browser/menubar.ftl
+++ b/browser/browser/menubar.ftl
@@ -189,16 +189,18 @@ menu-history-undo-window-menu =
 
 menu-bookmarks-menu =
     .label = Bogmærker
     .accesskey = B
 menu-bookmarks-show-all =
     .label = Vis alle bogmærker
 menu-bookmark-this-page =
     .label = Bogmærk denne side
+menu-bookmark-edit =
+    .label = Rediger bogmærke
 menu-bookmarks-all-tabs =
     .label = Bogmærk alle faneblade…
 menu-bookmarks-toolbar =
     .label = Bogmærkelinje
 menu-bookmarks-other =
     .label = Andre bogmærker
 menu-bookmarks-mobile =
     .label = Mobil-bogmærker