commit 7ce7e376fc8f3e51cf5de04f1a254c9190e3364b
Author: Kathy Brade <brade(a)pearlcrescent.com>
Date: Wed Mar 4 16:49:14 2020 -0500
Bug 19251: Show improved error pages for onion service errors.
Add strings for onion service error pages.
---
chrome/locale/en-US/torbutton.properties | 49 ++++++++++++++++++++++++++++++--
1 file changed, 47 insertions(+), 2 deletions(-)
diff --git a/chrome/locale/en-US/torbutton.properties b/chrome/locale/en-US/torbutton.properties
index 375067b3..536c3ade 100644
--- a/chrome/locale/en-US/torbutton.properties
+++ b/chrome/locale/en-US/torbutton.properties
@@ -60,9 +60,54 @@ pageInfo_OnionEncryptionWithBitsAndProtocol=Connection Encrypted (Onion Service,
pageInfo_OnionEncryption=Connection Encrypted (Onion Service)
# Onion services strings. Strings are kept here for ease of translation.
-# LOCALIZATION NOTE: %S will be replaced with the .onion address.
onionServices.learnMore=Learn more
-onionServices.clientAuthMissing=Tor onion service missing client authorization
+onionServices.errorPage.browser=Browser
+onionServices.errorPage.network=Network
+onionServices.errorPage.onionSite=Onionsite
+# LOCALIZATION NOTE: In the longDescription strings, %S will be replaced with
+# an error code, e.g., 0xF3.
+# Tor SOCKS error 0xF0:
+onionServices.descNotFound.pageTitle=Problem Loading Onionsite
+onionServices.descNotFound.header=Onionsite Not Found
+onionServices.descNotFound=The most likely cause is that the onionsite is offline. Contact the onionsite administrator.
+onionServices.descNotFound.longDescription=Details: %S — The requested onion service descriptor can't be found on the hashring and therefore the service is not reachable by the client.
+# Tor SOCKS error 0xF1:
+onionServices.descInvalid.pageTitle=Problem Loading Onionsite
+onionServices.descInvalid.header=Onionsite Cannot Be Reached
+onionServices.descInvalid=The onionsite is unreachable due an internal error.
+onionServices.descInvalid.longDescription=Details: %S — The requested onion service descriptor can't be parsed or signature validation failed.
+# Tor SOCKS error 0xF2:
+onionServices.introFailed.pageTitle=Problem Loading Onionsite
+onionServices.introFailed.header=Onionsite Has Disconnected
+onionServices.introFailed=The most likely cause is that the onionsite is offline. Contact the onionsite administrator.
+onionServices.introFailed.longDescription=Details: %S — Introduction failed, which means that the descriptor was found but the service is no longer connected to the introduction point. It is likely that the service has changed its descriptor or that it is not running.
+# Tor SOCKS error 0xF3:
+onionServices.rendezvousFailed.pageTitle=Problem Loading Onionsite
+onionServices.rendezvousFailed.header=Unable to Connect to Onionsite
+onionServices.rendezvousFailed=The onionsite is busy or the Tor network is overloaded. Try again later.
+onionServices.rendezvousFailed.longDescription=Details: %S — The client failed to rendezvous with the service, which means that the client was unable to finalize the connection.
+# Tor SOCKS error 0xF4:
+onionServices.clientAuthMissing.pageTitle=Authorization Required
+onionServices.clientAuthMissing.header=Onionsite Requires Authentication
+onionServices.clientAuthMissing=Access to the onionsite requires a key but none was provided.
+onionServices.clientAuthMissing.longDescription=Details: %S — The client downloaded the requested onion service descriptor but was unable to decrypt its content because client authorization information is missing.
+# Tor SOCKS error 0xF5:
+onionServices.clientAuthIncorrect.pageTitle=Authorization Failed
+onionServices.clientAuthIncorrect.header=Onionsite Authentication Failed
+onionServices.clientAuthIncorrect=The provided key is incorrect or has been revoked. Contact the onionsite administrator.
+onionServices.clientAuthIncorrect.longDescription=Details: %S — The client was able to download the requested onion service descriptor but was unable to decrypt its content using the provided client authorization information. This may mean that access has been revoked.
+# Tor SOCKS error 0xF6:
+onionServices.badAddress.pageTitle=Problem Loading Onionsite
+onionServices.badAddress.header=Invalid Onionsite Address
+onionServices.badAddress=The provided onionsite address is invalid. Please check that you entered it correctly.
+onionServices.badAddress.longDescription=Details: %S — The provided .onion address is invalid. This error is returned due to one of the following reasons: the address checksum doesn't match, the ed25519 public key is invalid, or the encoding is invalid.
+# Tor SOCKS error 0xF7:
+onionServices.introTimedOut.pageTitle=Problem Loading Onionsite
+onionServices.introTimedOut.header=Onionsite Circuit Creation Timed Out
+onionServices.introTimedOut=Failed to connect to the onionsite, possibly due to a poor network connection.
+onionServices.introTimedOut.longDescription=Details: %S — The connection to the requested onion service timed out while trying to build the rendezvous circuit.
+#
+# LOCALIZATION NOTE: %S will be replaced with the .onion address.
onionServices.authPrompt.description=%S is requesting your private key.
onionServices.authPrompt.keyPlaceholder=Enter your private key for this onion service
onionServices.authPrompt.done=Done