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

[tor-commits] [tor-browser] 01/02: fixup! Add TorStrings module for localization



This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch tor-browser-102.3.0esr-12.0-2
in repository tor-browser.

commit 3b8c09fd4cc72ec3bc532dea6331ffe3f75edd9c
Author: Pier Angelo Vendrame <pierov@xxxxxxxxxxxxxx>
AuthorDate: Wed Aug 24 10:20:21 2022 +0200

    fixup! Add TorStrings module for localization
    
    Moved tor-launcher localization files to torbutton.
---
 browser/modules/TorStrings.jsm | 47 +++---------------------------------------
 1 file changed, 3 insertions(+), 44 deletions(-)

diff --git a/browser/modules/TorStrings.jsm b/browser/modules/TorStrings.jsm
index cd15386c8606..78f53096fe39 100644
--- a/browser/modules/TorStrings.jsm
+++ b/browser/modules/TorStrings.jsm
@@ -137,7 +137,7 @@ var TorStrings = {
   */
   settings: (function() {
     let tsb = new TorDTDStringBundle(
-      ["chrome://torlauncher/locale/network-settings.dtd"],
+      ["chrome://torbutton.locale/network-settings.dtd"],
       ""
     );
     let getString = function(key, fallback) {
@@ -435,11 +435,11 @@ var TorStrings = {
 
   torConnect: (() => {
     const tsbNetwork = new TorDTDStringBundle(
-      ["chrome://torlauncher/locale/network-settings.dtd"],
+      ["chrome://torbutton.locale/network-settings.dtd"],
       ""
     );
     const tsbLauncher = new TorPropertyStringBundle(
-      "chrome://torlauncher/locale/torlauncher.properties",
+      "chrome://torbutton.locale/torlauncher.properties",
       "torlauncher."
     );
     const tsbCommon = new TorPropertyStringBundle(
@@ -934,45 +934,4 @@ var TorStrings = {
 
     return retval;
   })() /* Rulesets */,
-
-  /*
-    Tor Deamon Configuration Key Strings
-  */
-
-  // TODO: proper camel case
-  configKeys: {
-    /* Bridge Conf Settings */
-    useBridges: "UseBridges",
-    bridgeList: "Bridge",
-    /* Proxy Conf Strings */
-    socks4Proxy: "Socks4Proxy",
-    socks5Proxy: "Socks5Proxy",
-    socks5ProxyUsername: "Socks5ProxyUsername",
-    socks5ProxyPassword: "Socks5ProxyPassword",
-    httpsProxy: "HTTPSProxy",
-    httpsProxyAuthenticator: "HTTPSProxyAuthenticator",
-    /* Firewall Conf Strings */
-    reachableAddresses: "ReachableAddresses",
-
-    /* BridgeDB Strings */
-    clientTransportPlugin: "ClientTransportPlugin",
-  },
-
-  /*
-    about:config preference keys
-  */
-
-  preferenceKeys: {
-    defaultBridgeType: "extensions.torlauncher.default_bridge_type",
-    recommendedBridgeType:
-      "extensions.torlauncher.default_bridge_recommended_type",
-  },
-
-  /*
-    about:config preference branches
-  */
-  preferenceBranches: {
-    defaultBridge: "extensions.torlauncher.default_bridge.",
-    bridgeDBBridges: "extensions.torlauncher.bridgedb_bridge.",
-  },
 };

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits