Skip to content
Snippets Groups Projects
Verified Commit f52f9fb7 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 41369: Improve Firefox language settings for multi-lingual packages

Bug 42335: Do not localize the order of languages
parent 1ff67dd6
Branches
No related tags found
No related merge requests found
......@@ -1463,7 +1463,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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment