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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-102.8.0esr-12.0-1] fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in...



Title: GitLab

Richard Pospesel pushed to branch tor-browser-102.8.0esr-12.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 0a12a547
    by Richard Pospesel at 2023-02-28T19:53:01+00:00
    fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
    
    fixed substring calculation to get short name of locale for bridge emojii names
    

1 changed file:

Changes:

  • browser/components/torpreferences/content/connectionPane.js
    ... ... @@ -741,7 +741,7 @@ const gConnectionPane = (function() {
    741 741
             const annotations = await res.json();
    
    742 742
             const bcp47 = Services.locale.appLocaleAsBCP47;
    
    743 743
             const dash = bcp47.indexOf("-");
    
    744
    -        const lang = dash !== -1 ? bcp47.substring(dash) : bcp47;
    
    744
    +        const lang = dash !== -1 ? bcp47.substring(0, dash) : bcp47;
    
    745 745
             if (bcp47 in annotations) {
    
    746 746
               emojiAnnotations = annotations[bcp47];
    
    747 747
             } else if (lang in annotations) {
    

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