Loading browser/base/content/languageNotification.js +5 −5 Changes for browser/base/content/languageNotification.js: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ // Show a prompt to suggest to the user that they can change the UI language. // Show it only the first time, and then do not show it anymore window.addEventListener("load", async () => { window.addEventListener("load", () => { const PREF_NAME = "intl.language_notification.shown"; if (Services.prefs.getBoolPref(PREF_NAME, false)) { Loading Loading @@ -35,12 +35,12 @@ window.addEventListener("load", async () => { Services.locale.requestedLocales, Services.locale.availableLocales ).length; const label = await document.l10n.formatValue( matchingSystem const label = { "l10n-id": matchingSystem ? "language-notification-label-system" : "language-notification-label", { language } ); "l10n-args": { language }, }; const buttons = [ { Loading Loading
browser/base/content/languageNotification.js +5 −5 Changes for browser/base/content/languageNotification.js: 5 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ // Show a prompt to suggest to the user that they can change the UI language. // Show it only the first time, and then do not show it anymore window.addEventListener("load", async () => { window.addEventListener("load", () => { const PREF_NAME = "intl.language_notification.shown"; if (Services.prefs.getBoolPref(PREF_NAME, false)) { Loading Loading @@ -35,12 +35,12 @@ window.addEventListener("load", async () => { Services.locale.requestedLocales, Services.locale.availableLocales ).length; const label = await document.l10n.formatValue( matchingSystem const label = { "l10n-id": matchingSystem ? "language-notification-label-system" : "language-notification-label", { language } ); "l10n-args": { language }, }; const buttons = [ { Loading