[tbb-commits] [tor-browser] 05/33: fixup! squash! Bug 27476: Implement about:torconnect captive portal within Tor Browser

gitolite role git at cupani.torproject.org
Tue May 3 22:40:13 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 84e48eb00923a7f555fda35abc7269c39b92abdc
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Thu Apr 7 14:47:11 2022 +0200

    fixup! squash! Bug 27476: Implement about:torconnect captive portal within Tor Browser
    
    Bug 40874: relabeled "Connect" to "Try Again" when torconnect hits an error
---
 browser/components/torconnect/content/aboutTorConnect.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/browser/components/torconnect/content/aboutTorConnect.js b/browser/components/torconnect/content/aboutTorConnect.js
index 8710eef95a49e..2ef0b8597948f 100644
--- a/browser/components/torconnect/content/aboutTorConnect.js
+++ b/browser/components/torconnect/content/aboutTorConnect.js
@@ -380,11 +380,11 @@ class AboutTorConnect {
       this.show(this.elements.quickstartContainer);
       this.show(this.elements.configureButton);
       this.show(this.elements.connectButton, true);
+      this.elements.connectButton.textContent =
+        TorStrings.torConnect.torConnectButton;
       if (state.StateChanged) {
         this.elements.connectButton.focus();
       }
-      this.elements.connectButton.textContent =
-        TorStrings.torConnect.torConnectButton;
     }
   }
 
@@ -483,6 +483,7 @@ class AboutTorConnect {
     this.hideButtons();
     this.show(this.elements.configureButton);
     this.show(this.elements.connectButton);
+    this.elements.connectButton.textContent = TorStrings.torConnect.tryAgain;
     this.show(this.elements.tryBridgeButton, true);
   }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list