[tor-commits] [tor-browser] 02/08: fixup! Add TorStrings module for localization
gitolite role
git at cupani.torproject.org
Fri Jun 17 18:32:38 UTC 2022
This is an automated email from the git hooks/post-receive script.
richard pushed a commit to branch tor-browser-91.10.0esr-11.5-1
in repository tor-browser.
commit c2c361fb8e0d579b44a402da80c258da2b47066e
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Tue Jun 14 11:43:26 2022 +0200
fixup! Add TorStrings module for localization
Updated Manual URLs
---
browser/modules/TorStrings.jsm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/browser/modules/TorStrings.jsm b/browser/modules/TorStrings.jsm
index 1586a3f787e39..84e959a1dcb1f 100644
--- a/browser/modules/TorStrings.jsm
+++ b/browser/modules/TorStrings.jsm
@@ -224,7 +224,7 @@ var TorStrings = {
),
},
learnMore: getString("learn_more_label", "Learn more"),
- learnMoreURL: `https://tb-manual.torproject.org/${getLocale()}/security-settings/`,
+ learnMoreURL: 'about:manual#security-settings',
restoreDefaults: getString("restore_defaults", "Restore Defaults"),
advancedSecuritySettings: getString(
"advanced_security_settings",
@@ -461,8 +461,10 @@ var TorStrings = {
),
copyLog: getString("torsettings.copyLog", "Copy Tor Log to Clipboard"),
- learnMoreTorBrowserURL: `https://tb-manual.torproject.org/${getLocale()}/about/`,
- learnMoreBridgesURL: `https://tb-manual.torproject.org/${getLocale()}/bridges/`,
+ learnMoreTorBrowserURL: 'about:manual#about',
+ learnMoreBridgesURL: 'about:manual#bridges',
+ learnMoreBridgesCardURL: 'about:manual#bridges_bridge-moji',
+ learnMoreCircumventionURL: 'about:manual#circumvention',
};
return retval;
@@ -786,7 +788,9 @@ var TorStrings = {
tryThis: getString("tryThis", "Try this: Onionsite"),
onionAvailable: getString("onionAvailable", "Onionsite available"),
learnMore: getString("learnMore", "Learn more"),
- learnMoreURL: `https://tb-manual.torproject.org/${getLocale()}/onion-services/`,
+ learnMoreURL: 'about:manual#onion-services',
+ // XUL popups cannot open about: URLs, but we are online when showing the notification, so just use the online version
+ learnMoreURLNotification: `https://tb-manual.torproject.org/${getLocale()}/onion-services/`,
always: getString("always", "Always"),
askEverytime: getString("askEverytime", "Ask you every time"),
prioritizeOnionsDescription: getString(
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tor-commits
mailing list