Pier Angelo Vendrame pushed to branch tor-browser-115.9.1esr-13.0-1 at The Tor Project / Applications / Tor Browser
Commits: c584d988 by Pier Angelo Vendrame at 2024-04-08T17:40:45+02:00 fixup! Bug 41369: Improve Firefox language settings for multi-lingual packages
Bug 42335: Do not localize the order of languages
- - - - -
1 changed file:
- browser/components/preferences/main.js
Changes:
===================================== browser/components/preferences/main.js ===================================== @@ -1456,7 +1456,9 @@ var gMainPane = { name, }; }); - locales.sort((a, b) => a.code.localeCompare(b.code)); + // tor-browser#42335: Sort language codes independently from the locale, + // so do not use localeCompare. + locales.sort((a, b) => a.code > b.code);
let fragment = document.createDocumentFragment(); for (let { code, name } of locales) {
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/c584d988...
tbb-commits@lists.torproject.org