Bug 1613801 - Don't include brand name in the window title on Mac., part 1.
authorAxel Hecht <l10n@mozilla.com>
Wed, 19 Feb 2020 10:34:49 +0100
changeset 854 662177b277d16a56fc4b50f54eaa87f25ae38e12
parent 853 bd90627f02a662ebb765618cbe7c61344e5d2dfa
child 855 16ce23672cf5a9ff4eddb730073bffa80d823b4f
push id308
push userflodolo@mozilla.com
push dateWed, 19 Feb 2020 09:35:27 +0000
bugs1613801
Bug 1613801 - Don't include brand name in the window title on Mac., part 1.
browser/browser/browser.ftl
--- a/browser/browser/browser.ftl
+++ b/browser/browser/browser.ftl
@@ -28,16 +28,40 @@ browser-main-window-title =
 # 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 }
     }
+
+## This is the default window title in case there is content
+## title to be displayed.
+##
+## On macOS the title doesn't include the brand name, on all other
+## platforms it does.
+##
+## For example, in private mode on Windows, the title will be:
+## "Example Title - Mozilla Firefox (Private Browsing)"
+##
+## while on macOS in default mode it will be:
+## "Example Title"
+##
+## Variables
+##   $title (String) - Content title string.
+
+browser-main-window-content-title-default =
+    { PLATFORM() ->
+        [macos] { $title }
+       *[other] { $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 =