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

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-115.10.0esr-13.5-1] Bug 41966: Allow removing locales from the locale alternatives list.



Title: GitLab

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

Commits:

  • 2970b5b4
    by Henry Wilkes at 2024-04-17T16:52:44+02:00
    Bug 41966: Allow removing locales from the locale alternatives list.
    

1 changed file:

Changes:

  • browser/components/preferences/dialogs/browserLanguages.js
    ... ... @@ -349,7 +349,7 @@ async function getLocaleDisplayInfo(localeCodes) {
    349 349
           id: "locale-" + code,
    
    350 350
           label: localeNames[i],
    
    351 351
           value: code,
    
    352
    -      canRemove: !packagedLocales.has(code),
    
    352
    +      canRemove: code !== Services.locale.defaultLocale,
    
    353 353
           installed: availableLocales.has(code),
    
    354 354
         };
    
    355 355
       });
    

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