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.


_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to