[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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@xxxxxxxxxxxxxx>
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.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits