Bug 1608022 - Migrate browser-sets to Fluent, part 4.
authorHåvar Henriksen <havar@firefox.no>
Sat, 01 Feb 2020 15:20:09 +0100
changeset 2649 c549dbd367e9fbba8a38fe8816e547aa89838e00
parent 2648 3b222fbecb965b06df3c4d7699ee6f7c1ee45e31
child 2650 03f6700ffd3ce0af96d8aec9732cf273a722a0b3
push id1366
push userflodolo@mozilla.com
push dateSat, 01 Feb 2020 14:20:25 +0000
bugs1608022
Bug 1608022 - Migrate browser-sets to Fluent, part 4.
browser/browser/browserContext.ftl
browser/browser/browserSets.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 = Bokmerk denne siden
     .accesskey = m
+main-context-menu-bookmark-add =
+    .aria-label = Bokmerk denne siden
+    .accesskey = m
+    .tooltiptext = Bokmerk denne siden
+# Variables
+#   $shortcut (String) - A keyboard shortcut for the add bookmark command.
+main-context-menu-bookmark-add-with-shortcut =
+    .aria-label = Bokmerk denne siden
+    .accesskey = m
+    .tooltiptext = Bokmerk denne siden ({ $shortcut })
+main-context-menu-bookmark-change =
+    .aria-label = Rediger dette bokmerket
+    .accesskey = m
+    .tooltiptext = Rediger dette bokmerket
+# Variables
+#   $shortcut (String) - A keyboard shortcut for the edit bookmark command.
+main-context-menu-bookmark-change-with-shortcut =
+    .aria-label = Rediger dette bokmerket
+    .accesskey = m
+    .tooltiptext = Rediger dette bokmerket ({ $shortcut })
 main-context-menu-open-link =
     .label = Åpne lenke
     .accesskey = l
 main-context-menu-open-link-new-tab =
     .label = Åpne lenke i ny fane
     .accesskey = n
 main-context-menu-open-link-container-tab =
     .label = Åpne lenke i ny innholdsfane
--- a/browser/browser/browserSets.ftl
+++ b/browser/browser/browserSets.ftl
@@ -1,18 +1,22 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 window-minimize-command =
     .label = Minimer
+window-zoom-command =
+    .label = Zoom
 window-new-shortcut =
     .key = N
 window-minimize-shortcut =
     .key = m
+close-shortcut =
+    .key = W
 tab-new-shortcut =
     .key = t
 location-open-shortcut =
     .key = l
 location-open-shortcut-alt =
     .key = d
 search-focus-shortcut =
     .key = k
@@ -48,16 +52,23 @@ 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 = [
@@ -69,16 +80,27 @@ nav-reload-shortcut =
 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
@@ -104,16 +126,18 @@ full-zoom-reduce-shortcut =
     .key = -
 # If in keyboard layouts popular for your locale you need to use the shift key
 # to access the original shortcuts, the following shortcuts can be used.
 # Otherwise their values should remain empty.
 full-zoom-reduce-shortcut-alt =
     .key = { "" }
 full-zoom-enlarge-shortcut =
     .key = +
+full-zoom-enlarge-shortcut-alt =
+    .key = =
 full-zoom-enlarge-shortcut-alt2 =
     .key = { "" }
 full-zoom-reset-shortcut =
     .key = 0
 full-zoom-reset-shortcut-alt =
     .key = { "" }
 
 ##
@@ -121,16 +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