[tbb-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-115.10.0esr-13.5-1] Bug 41966: Allow removing locales from the locale alternatives list.

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Wed Apr 17 14:52:56 UTC 2024



Pier Angelo Vendrame pushed to branch mullvad-browser-115.10.0esr-13.5-1 at The Tor Project / Applications / Mullvad Browser


Commits:
2970b5b4 by Henry Wilkes at 2024-04-17T16:52:44+02:00
Bug 41966: Allow removing locales from the locale alternatives list.

- - - - -


1 changed file:

- browser/components/preferences/dialogs/browserLanguages.js


Changes:

=====================================
browser/components/preferences/dialogs/browserLanguages.js
=====================================
@@ -349,7 +349,7 @@ async function getLocaleDisplayInfo(localeCodes) {
       id: "locale-" + code,
       label: localeNames[i],
       value: code,
-      canRemove: !packagedLocales.has(code),
+      canRemove: code !== Services.locale.defaultLocale,
       installed: availableLocales.has(code),
     };
   });



View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/2970b5b4dfba504dc201e9424009be1682799153

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/2970b5b4dfba504dc201e9424009be1682799153
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20240417/30f27448/attachment.htm>


More information about the tbb-commits mailing list