Commit ae92391a authored by ma1's avatar ma1 Committed by Pier Angelo Vendrame
Browse files

fixup! Add TorStrings module for localization

Bug 42440: Remove the "Prioritize .onion sites when known" option
parent 03ee248c
Loading
Loading
Loading
Loading
+6 −11
Original line number Diff line number Diff line
@@ -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(
+3 −7
Original line number Diff line number Diff line
@@ -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