Bug 1591328 - Migrate browser window title to Fluent, part 1
authorne-NP team [Pootle] <https://wiki.mozilla.org/L10n:Teams:ne-NP>
Sat, 23 Nov 2019 15:10:54 +0100
changeset 997 5da7ebcf8c6e73fd8b576d90a0eb68cf1818ef6a
parent 996 4fb8d454247e6140fc0f6d740fa878bfc8eaa913
child 998 696a9e6694c1568c689833fd2565ddf9b35088f0
push id374
push userflodolo@mozilla.com
push dateSat, 23 Nov 2019 14:11:06 +0000
bugs1591328
Bug 1591328 - Migrate browser window title to Fluent, part 1
browser/browser/browser.ftl
--- a/browser/browser/browser.ftl
+++ b/browser/browser/browser.ftl
@@ -1,12 +1,43 @@
 # 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/.
 
+# This is the default window title in case there is no content
+# title to be displayed.
+#
+# Depending on the $mode, the string will look like this (in en-US):
+#
+# "default" - "Mozilla Firefox"
+# "private" - "Mozilla Firefox (Private Browsing)"
+#
+# Variables
+#   $mode (String) - "private" in case of a private browsing mode, "default" otherwise.
+browser-main-window-title =
+    { $mode ->
+        [private] { -brand-full-name } (निजी ब्राउजिङ्ग)
+       *[default] { -brand-full-name }
+    }
+# This is the default window title in case there is a content
+# title to be displayed.
+#
+# Depending on the $mode, the string will look like this (in en-US):
+#
+# "default" - "Example Title - Mozilla Firefox"
+# "private" - "Example Title - Mozilla Firefox (Private Browsing)"
+#
+# Variables
+#   $mode (String) - "private" in case of a private browsing mode, "default" otherwise.
+#   $title (String) - Content title string.
+browser-main-window-content-title =
+    { $mode ->
+        [private] { $title } - { -brand-full-name } (निजी ब्राउजिङ्ग)
+       *[default] { $title } - { -brand-full-name }
+    }
 urlbar-identity-button =
     .aria-label = साइट जानकारी हेर्नुहोस्
 
 ## Tooltips for images appearing in the address bar
 
 urlbar-services-notification-anchor =
     .tooltiptext = स्थापना सन्देश प्यानल खोल्नुहोस्
 urlbar-web-notification-anchor =