Bug 1626842 - Migrate browser window title to Fluent, part 1
authorJeff Beatty <jbeatty@mozilla.com>
Tue, 26 May 2020 06:49:35 +0200
changeset 566 b8924495ccb444a493e2a2ff3d8b7663d802b61d
parent 565 038ce990ba22a19299f251ecf39dc6a13c286fc0
child 567 90324476a6095db10806382e12b41dca0ea12063
push id302
push userflodolo@mozilla.com
push dateTue, 26 May 2020 04:49:56 +0000
bugs1626842
Bug 1626842 - Migrate browser window title to Fluent, part 1
browser/browser/browser.ftl
--- a/browser/browser/browser.ftl
+++ b/browser/browser/browser.ftl
@@ -1,13 +1,23 @@
 # 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/.
 
 
+## The main browser window's title
+
+# This gets set as the initial title, and is overridden as soon as we start
+# updating the titlebar based on loaded tabs or private browsing state.
+# This should match the `data-title-default` attribute in both
+# `browser-main-window` and `browser-main-window-mac`.
+browser-main-window-title = { -brand-full-name }
+
+##
+
 urlbar-identity-button =
     .aria-label = Apsavērt lopys informaceju
 
 ## Tooltips for images appearing in the address bar
 
 urlbar-services-notification-anchor =
     .tooltiptext = Attaiseit instalacejis ziņuojumu paneli
 urlbar-web-notification-anchor =
@@ -73,22 +83,20 @@ urlbar-persistent-storage-blocked =
 urlbar-popup-blocked =
     .tooltiptext = Izlacušū lūku rōdiešona itymā lopā ir aizlīgta.
 urlbar-autoplay-media-blocked =
     .tooltiptext = Tu esi bloķiejs automatisku multimedeju atskaņōšonu itymā lopā.
 urlbar-canvas-blocked =
     .tooltiptext = Datu sajimšona nu ituos lopys canvas ir blokeita.
 urlbar-midi-blocked =
     .tooltiptext = Tu esi aizlīdzs MIDI pīkļuvi itai lopai.
-
 # Variables
 #   $shortcut (String) - A keyboard shortcut for the edit bookmark command.
 urlbar-star-edit-bookmark =
     .tooltiptext = Edit this bookmark ({ $shortcut })
-
 # Variables
 #   $shortcut (String) - A keyboard shortcut for the add bookmark command.
 urlbar-star-add-bookmark =
     .tooltiptext = Bookmark this page ({ $shortcut })
 
 ## Page Action Context Menu
 
 page-action-add-to-urlbar =
@@ -110,33 +118,30 @@ full-screen-exit =
 ## Search Engine selection buttons (one-offs)
 
 # This string won't wrap, so if the translated string is longer,
 # consider translating it as if it said only "Search Settings".
 search-one-offs-change-settings-button =
     .label = Maineit mekliešonys īstatiejumus
 search-one-offs-change-settings-compact-button =
     .tooltiptext = Maineit mekliešonys īstatiejumus
-
 search-one-offs-context-open-new-tab =
     .label = Mekleit jaunā cilnē
     .accesskey = c
 search-one-offs-context-set-as-default =
     .label = Īstateit par nūkluseitū mekleituoju
     .accesskey = n
 
 ## Bookmark Panel
 
 bookmark-panel-show-editor-checkbox =
     .label = Rōdēt redaktoru pi saglobōšonys
     .accesskey = S
-
 bookmark-panel-done-button =
     .label = Gotovs
-
 # Width of the bookmark panel.
 # Should be large enough to fully display the Done and
 # Cancel/Remove Bookmark buttons.
 bookmark-panel =
     .style = min-width: 23em
 
 ## Identity Panel
 
@@ -188,30 +193,31 @@ browser-window-close-button =
 popup-select-camera =
     .value = Izavielīs kameru:
     .accesskey = k
 popup-select-microphone =
     .value = Izavielīs mikrofonu:
     .accesskey = m
 popup-all-windows-shared = All visible windows on your screen will be shared.
 
+## WebRTC window or screen share tab switch warning
+
+
 ## DevTools F12 popup
 
 
 ## URL Bar
 
 urlbar-default-placeholder =
     .defaultPlaceholder = Īrkosti meklejamū tekstu voi sātys lopys adresu
 urlbar-placeholder =
     .placeholder = Īrkosti meklejamū tekstu voi sātys lopys adresu
 urlbar-remote-control-notification-anchor =
     .tooltiptext = Porlyuku kontrolej nu attōluma
 urlbar-switch-to-tab =
     .value = Puorslēgtīs iz cilni:
-
 # Used to indicate that a selected autocomplete entry is provided by an extension.
 urlbar-extension =
     .value = Paplošynuojums:
-
 urlbar-go-button =
     .tooltiptext = Puorīt iz adresu, kas radzama vītys juslā
 urlbar-page-action-button =
     .tooltiptext = Lopys darbeibys