[tor-commits] [Git][tpo/applications/tor-browser][base-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:53:02 UTC 2024



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


Commits:
168e038e by Henry Wilkes at 2024-04-17T16:52:24+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/tor-browser/-/commit/168e038e74e28a8494722791817c8c6e80ee1ba8

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/168e038e74e28a8494722791817c8c6e80ee1ba8
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/tor-commits/attachments/20240417/d9d134fc/attachment-0001.htm>


More information about the tor-commits mailing list