Commit af4804a4 authored by Richard Pospesel's avatar Richard Pospesel
Browse files

fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser

Bug 40891: Add Internet connection error when network isn't reachable
parent dce69bda
......@@ -316,7 +316,7 @@ body {
fill: var(--onion-color);
}
.title.offline, .title.assit, .title.final {
.title.offline, .title.assist, .title.final {
background-image: url("chrome://browser/content/torconnect/connection-failure.svg");
}
......
......@@ -514,7 +514,7 @@ class AboutTorConnect {
showOffline(error) {
this.setTitle(TorStrings.torConnect.noInternet, "offline");
this.setLongText("Some long text from 🍩️");
this.setLongText(TorStrings.torConnect.noInternetDescription);
this.setProgress(error, false);
this.setBreadcrumbsStatus(
BreadcrumbStatus.Default,
......@@ -529,7 +529,7 @@ class AboutTorConnect {
}
showConnectionAssistant(state) {
this.setTitle(TorStrings.torConnect.couldNotConnect, "assit");
this.setTitle(TorStrings.torConnect.couldNotConnect, "assist");
this.showConfigureConnectionLink(TorStrings.torConnect.assistDescription);
this.setProgress(state?.ErrorDetails, false);
this.setBreadcrumbsStatus(
......
......@@ -514,6 +514,11 @@ var TorStrings = {
"Tor Browser couldn’t reach the Internet"
),
noInternetDescription: getStringNet(
"torConnect.noInternetDescription",
"This could be due to a connection issue rather than Tor being blocked. Check your Internet connection, proxy and firewall settings before trying again.",
),
torBootstrapFailed: getStringLauncher(
"tor_bootstrap_failed",
"Tor failed to establish a Tor network connection."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment