[tbb-commits] [Git][tpo/applications/tor-browser][tor-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:46:16 UTC 2024
Pier Angelo Vendrame pushed to branch tor-browser-115.10.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
5be723a9 by Henry Wilkes at 2024-04-17T15:37:09+01: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/5be723a9be40487b91991cb1aaeb0d3538c67ad1
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/5be723a9be40487b91991cb1aaeb0d3538c67ad1
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/f986ac87/attachment-0001.htm>
More information about the tbb-commits
mailing list