[tbb-commits] [tor-browser] 01/33: fixup! fixup! Add TorStrings module for localization
gitolite role
git at cupani.torproject.org
Tue May 3 22:40:09 UTC 2022
This is an automated email from the git hooks/post-receive script.
richard pushed a commit to branch tor-browser-91.9.0esr-11.5-1
in repository tor-browser.
commit 24149aac9f0459f20ff8ea9241370a922b4e3fda
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Thu Apr 7 15:44:16 2022 +0200
fixup! fixup! Add TorStrings module for localization
---
browser/modules/TorStrings.jsm | 56 +++++++++++++++++++++++++++++-------------
1 file changed, 39 insertions(+), 17 deletions(-)
diff --git a/browser/modules/TorStrings.jsm b/browser/modules/TorStrings.jsm
index eb1e7808b4b90..028d4e27fe709 100644
--- a/browser/modules/TorStrings.jsm
+++ b/browser/modules/TorStrings.jsm
@@ -282,6 +282,8 @@ var TorStrings = {
),
bridgeLocation: getString("torPreferences.bridgeLocation", "Your location"),
bridgeLocationAutomatic: getString("torPreferences.bridgeLocationAutomatic", "Automatic"),
+ bridgeLocationFrequent: getString("torPreferences.bridgeLocationFrequent", "Frequently selected locations"),
+ bridgeLocationOther: getString("torPreferences.bridgeLocationOther", "Other locations"),
bridgeChooseForMe: getString("torPreferences.bridgeChooseForMe", "Choose a Bridge For Me\u2026"),
bridgeCurrent: getString("torPreferences.bridgeBadgeCurrent", "Your Current Bridges"),
bridgeId: getString("torPreferences.bridgeId", "#1 bridge: #2"),
@@ -293,8 +295,8 @@ var TorStrings = {
),
bridgeCopy: getString("torPreferences.bridgeCopy", "Copy Bridge Address"),
copied: getString("torPreferences.copied", "Copied!"),
- bridgeShowAll: getString("torPreferences.bridgeShowAll", "Show all bridges"),
- bridgeRemoveAll: getString("torPreferences.bridgeRemoveAll", "Remove all bridges"),
+ bridgeShowAll: getString("torPreferences.bridgeShowAll", "Show All Bridges"),
+ bridgeRemoveAll: getString("torPreferences.bridgeRemoveAll", "Remove All Bridges"),
bridgeAdd: getString("torPreferences.bridgeAdd", "Add a New Bridge"),
bridgeSelectBrowserBuiltin: getString(
"torPreferences.bridgeSelectBrowserBuiltin",
@@ -332,6 +334,10 @@ var TorStrings = {
"View the Tor logs"
),
showLogs: getString("torPreferences.viewLogs", "View Logs\u2026"),
+ // Remove all bridges dialog
+ removeBridgesQuestion: getString("torPreferences.removeBridgesQuestion", "Remove all the bridges?"),
+ removeBridgesWarning: getString("torPreferences.removeBridgesWarning", "This action cannot be undone."),
+ cancel: getString("torPreferences.cancel", "Cancel"),
// Scan bridge QR dialog
scanQrTitle: getString("torPreferences.scanQrTitle", "Scan the QR code"),
// Builtin bridges dialog
@@ -500,6 +506,13 @@ var TorStrings = {
"Connecting…"
),
+ tryingAgain: getStringNet("torConnect.tryingAgain", "Trying again…"),
+
+ noInternet: getStringNet(
+ "torConnect.noInternet",
+ "Tor Browser couldn’t reach the Internet"
+ ),
+
torBootstrapFailed: getStringLauncher(
"tor_bootstrap_failed",
"Tor failed to establish a Tor network connection."
@@ -526,20 +539,10 @@ var TorStrings = {
),
tryingBridgeAgain: getStringNet(
- "torConnect.tryingBridge",
+ "torConnect.tryingBridgeAgain",
"Trying one more time…"
),
- addLocation: getStringNet(
- "torConnect.addLocation",
- "Add your location settings"
- ),
-
- addLocationDescription: getStringNet(
- "torConnect.addLocationDescription",
- "Tor Browser needs to know your location in order to choose the right bridge for you. If you’d rather not share your location, #1 manually instead."
- ),
-
errorLocation: getStringNet(
"torConnect.errorLocation",
"Tor Browser couldn’t locate you"
@@ -547,7 +550,17 @@ var TorStrings = {
errorLocationDescription: getStringNet(
"torConnect.errorLocationDescription",
- "Tor Browser still couldn’t connect to Tor. Please check your location settings are correct and try again."
+ "Tor Browser needs to know your location in order to choose the right bridge for you. If you’d rather not share your location, #1 manually instead."
+ ),
+
+ isLocationCorrect: getStringNet(
+ "torConnect.isLocationCorrect",
+ "Are these location settings correct?"
+ ),
+
+ isLocationCorrectDescription: getStringNet(
+ "torConnect.isLocationCorrectDescription",
+ "Tor Browser still couldn’t connect to Tor. Please check your location settings are correct and try again, or #1 instead."
),
finalError: getStringNet(
@@ -604,8 +617,7 @@ var TorStrings = {
"Connected"
),
- tryAgain: getStringNet("torConnect.tryAgain", "Try connecting again"),
- offline: getStringNet("torConnect.offline", "Offline"),
+ tryAgain: getStringNet("torConnect.tryAgain", "Try Again"),
// tor connect strings for message box in about:preferences#connection
connectMessage: getStringNet("torConnect.connectMessage", "Changes to Tor Settings will not take effect until you connect"),
@@ -615,12 +627,22 @@ var TorStrings = {
tryBridge: getStringNet("torConnect.tryBridge", "Try a Bridge"),
+ automatic: getStringNet("torConnect.automatic", "Automatic"),
selectCountryRegion: getStringNet(
"torConnect.selectCountryRegion",
- "Select Country or Region",
+ "Select Country or Region"
+ ),
+ frequentLocations: getStringNet(
+ "torConnect.frequentLocations",
+ "Frequently selected locations"
+ ),
+ otherLocations: getStringNet(
+ "torConnect.otherLocations",
+ "Other locations"
),
// TorConnect.jsm error messages
+ offline: getStringNet("torConnect.offline", "Internet not reachable"),
autoBootstrappingFailed: getStringNet(
"torConnect.autoBootstrappingFailed",
"Automatic configuration failed"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tbb-commits
mailing list