Verified Commit 6b973513 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

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

Bug 42335: Do not localize the order of languages
parent 02be06d6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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) {