Bug 1591328 - Migrate browser window title to Fluent, part 1
authorJamil Ahmed <itsjamil@gmail.com>
Sat, 23 Nov 2019 14:52:41 +0100
changeset 1495 84394e8589300424b1cd3d9b5a9e6705f9c51cbb
parent 1494 88e35de17b8811ad6de1ef1a37405f33b9f4f460
child 1496 ae9e54c89bf04cc9b1886dda6258918d0524fdaa
push id162
push userflodolo@mozilla.com
push dateSat, 23 Nov 2019 13:52:53 +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 =