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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.9.0esr-13.0-1] fixup! Add TorStrings module for localization



Title: GitLab

Pier Angelo Vendrame pushed to branch tor-browser-115.9.0esr-13.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • ae92391a
    by hackademix at 2024-03-18T17:15:20+01:00
    fixup! Add TorStrings module for localization
    
    Bug 42440: Remove the "Prioritize .onion sites when known" option
    

2 changed files:

Changes:

  • browser/modules/TorStrings.jsm
    ... ... @@ -471,20 +471,15 @@ const Loader = {
    471 471
       */
    
    472 472
       onionLocation() {
    
    473 473
         const strings = {
    
    474
    -      alwaysPrioritize: "Always Prioritize Onionsites",
    
    475
    -      alwaysPrioritizeAccessKey: "a",
    
    474
    +      learnMore: "Learn more…",
    
    475
    +      loadOnion: "Visit the .onion",
    
    476
    +      loadOnionAccessKey: "V",
    
    476 477
           notNow: "Not Now",
    
    477 478
           notNowAccessKey: "n",
    
    478 479
           description:
    
    479
    -        "Website publishers can protect users by adding a security layer. This prevents eavesdroppers from knowing that you are the one visiting that website.",
    
    480
    -      tryThis: "Try this: Onionsite",
    
    481
    -      onionAvailable: "Onionsite available",
    
    482
    -      learnMore: "Learn more",
    
    483
    -      always: "Always",
    
    484
    -      askEverytime: "Ask you every time",
    
    485
    -      prioritizeOnionsDescription:
    
    486
    -        "Prioritize onionsites when they are available.",
    
    487
    -      onionServicesTitle: "Onion Services",
    
    480
    +        "There's a more private and secure version of this site available over the Tor network via onion services. Onion services help website publishers and their visitors defeat surveillance and censorship.",
    
    481
    +      tryThis: "Try Onion Services",
    
    482
    +      onionAvailable: ".onion available",
    
    488 483
         };
    
    489 484
     
    
    490 485
         const tsb = new TorPropertyStringBundle(
    

  • toolkit/torbutton/chrome/locale/en-US/onionLocation.properties
    ... ... @@ -4,10 +4,10 @@
    4 4
     # file, You can obtain one at http://mozilla.org/MPL/2.0/.
    
    5 5
     
    
    6 6
     # Onion-Location strings.
    
    7
    -onionLocation.alwaysPrioritize=Always Prioritize Onions
    
    8
    -# Localization note: this is the access key for "Always Prioritize Onions".
    
    7
    +onionLocation.loadOnion=Visit the .onion
    
    8
    +# Localization note: this is the access key for "Visit the .onion".
    
    9 9
     # It should be a character that appears in that string.
    
    10
    -onionLocation.alwaysPrioritizeAccessKey=a
    
    10
    +onionLocation.loadOnionAccessKey=V
    
    11 11
     onionLocation.notNow=Not Now
    
    12 12
     # Localization note: this is the access key for "Not now".
    
    13 13
     # It should be a character that appears in that string.
    
    ... ... @@ -16,7 +16,3 @@ onionLocation.description=There's a more private and secure version of this site
    16 16
     onionLocation.tryThis=Try Onion Services
    
    17 17
     onionLocation.onionAvailable=.onion available
    
    18 18
     onionLocation.learnMore=Learn more…
    19
    -onionLocation.always=Always
    
    20
    -onionLocation.askEverytime=Ask every time
    
    21
    -onionLocation.prioritizeOnionsDescription=Prioritize .onion sites when known.
    
    22
    -onionLocation.onionServicesTitle=Onion Services

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