[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-115.9.1esr-13.0-1] fixup! Bug 41369: Improve Firefox language settings for multi-lingual packages



Title: GitLab

Pier Angelo Vendrame pushed to branch mullvad-browser-115.9.1esr-13.0-1 at The Tor Project / Applications / Mullvad Browser

Commits:

  • e3dbf1b5
    by Pier Angelo Vendrame at 2024-04-08T17:41:35+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:

Changes:

  • browser/components/preferences/main.js
    ... ... @@ -1463,7 +1463,9 @@ var gMainPane = {
    1463 1463
             name,
    
    1464 1464
           };
    
    1465 1465
         });
    
    1466
    -    locales.sort((a, b) => a.code.localeCompare(b.code));
    
    1466
    +    // tor-browser#42335: Sort language codes independently from the locale,
    
    1467
    +    // so do not use localeCompare.
    
    1468
    +    locales.sort((a, b) => a.code > b.code);
    
    1467 1469
     
    
    1468 1470
         let fragment = document.createDocumentFragment();
    
    1469 1471
         for (let { code, name } of locales) {
    

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