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

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Mon Mar 18 16:15:33 UTC 2024



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:

- browser/modules/TorStrings.jsm
- toolkit/torbutton/chrome/locale/en-US/onionLocation.properties


Changes:

=====================================
browser/modules/TorStrings.jsm
=====================================
@@ -471,20 +471,15 @@ const Loader = {
   */
   onionLocation() {
     const strings = {
-      alwaysPrioritize: "Always Prioritize Onionsites",
-      alwaysPrioritizeAccessKey: "a",
+      learnMore: "Learn more…",
+      loadOnion: "Visit the .onion",
+      loadOnionAccessKey: "V",
       notNow: "Not Now",
       notNowAccessKey: "n",
       description:
-        "Website publishers can protect users by adding a security layer. This prevents eavesdroppers from knowing that you are the one visiting that website.",
-      tryThis: "Try this: Onionsite",
-      onionAvailable: "Onionsite available",
-      learnMore: "Learn more",
-      always: "Always",
-      askEverytime: "Ask you every time",
-      prioritizeOnionsDescription:
-        "Prioritize onionsites when they are available.",
-      onionServicesTitle: "Onion Services",
+        "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.",
+      tryThis: "Try Onion Services",
+      onionAvailable: ".onion available",
     };
 
     const tsb = new TorPropertyStringBundle(


=====================================
toolkit/torbutton/chrome/locale/en-US/onionLocation.properties
=====================================
@@ -4,10 +4,10 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # Onion-Location strings.
-onionLocation.alwaysPrioritize=Always Prioritize Onions
-# Localization note: this is the access key for "Always Prioritize Onions".
+onionLocation.loadOnion=Visit the .onion
+# Localization note: this is the access key for "Visit the .onion".
 # It should be a character that appears in that string.
-onionLocation.alwaysPrioritizeAccessKey=a
+onionLocation.loadOnionAccessKey=V
 onionLocation.notNow=Not Now
 # Localization note: this is the access key for "Not now".
 # 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
 onionLocation.tryThis=Try Onion Services
 onionLocation.onionAvailable=.onion available
 onionLocation.learnMore=Learn more…
-onionLocation.always=Always
-onionLocation.askEverytime=Ask every time
-onionLocation.prioritizeOnionsDescription=Prioritize .onion sites when known.
-onionLocation.onionServicesTitle=Onion Services



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ae92391ae85bd3b51918f0130ff3d3473c6358c8

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ae92391ae85bd3b51918f0130ff3d3473c6358c8
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20240318/4eff6a8e/attachment-0001.htm>


More information about the tbb-commits mailing list