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:53:57 +0100
changeset 1289 649b2528be65d3d50cfed452933d131b120a9dde
parent 1288 e2904b23d9e16ee43fa897d9584341da2e383cda
child 1290 b595caca8b904345211f965a5df1fa686e75cd3f
push id574
push userflodolo@mozilla.com
push dateWed, 19 Feb 2020 09:54:16 +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 } (Huliðsstilling)
        *[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 = Skoða upplýsingar um vefsvæði
 
 ## Tooltips for images appearing in the address bar
 
 urlbar-services-notification-anchor =
     .tooltiptext = Opna skilaboðaflipa uppsetninga
 urlbar-web-notification-anchor =