commit 627d83ded2fb977f68da7fcaad0ee763ec5223ec
Author: Matthew Finkel <sysrqb(a)torproject.org>
Date: Wed May 5 16:53:11 2021 +0000
squash! 40209: Implement Basic Crypto Safety
Bug 40428: Fix string attribute names
---
browser/modules/TorStrings.jsm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/browser/modules/TorStrings.jsm b/browser/modules/TorStrings.jsm
index bf522234d588..1e08b168e4af 100644
--- a/browser/modules/TorStrings.jsm
+++ b/browser/modules/TorStrings.jsm
@@ -115,33 +115,33 @@ var TorStrings = {
let retval = {
cryptoWarning: getString(
- "cryptoSafetyPrompt.cryptoWarning",
+ "cryptoWarning",
"A cryptocurrency address (%S) has been copied from an insecure website. It could have been modified."
),
whatCanHeading: getString(
- "cryptoSafetyPrompt.whatCanHeading",
+ "whatCanHeading",
"What can you do about it?"
),
whatCanBody: getString(
- "cryptoSafetyPrompt.whatCanBody",
+ "whatCanBody",
"You can try reconnecting with a new circuit to establish a secure connection, or accept the risk and dismiss this warning."
),
- learnMore: getString("cryptoSafetyPrompt.learnMore", "Learn more"),
+ learnMore: getString("learnMore", "Learn more"),
learnMoreURL: `https://support.torproject.org/${getLocale()}/`,
primaryAction: getString(
- "cryptoSafetyPrompt.primaryAction",
+ "primaryAction",
"Reload Tab with a New Circuit"
),
primaryActionAccessKey: getString(
- "cryptoSafetyPrompt.primaryActionAccessKey",
+ "primaryActionAccessKey",
"R"
),
secondaryAction: getString(
- "cryptoSafetyPrompt.secondaryAction",
+ "secondaryAction",
"Dismiss Warning"
),
secondaryActionAccessKey: getString(
- "cryptoSafetyPrompt.secondaryActionAccessKey",
+ "secondaryActionAccessKey",
"D"
),
};