[tor-commits] [torbutton] branch master updated: Bug 41023: Update manual URLs

gitolite role git at cupani.torproject.org
Fri Jun 17 18:40:07 UTC 2022


This is an automated email from the git hooks/post-receive script.

richard pushed a commit to branch master
in repository torbutton.

The following commit(s) were added to refs/heads/master by this push:
     new 8f25518a Bug 41023: Update manual URLs
8f25518a is described below

commit 8f25518a68e7a8671ca2b8e7ce11eeaf4d3b45af
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Wed Jun 15 12:52:10 2022 +0200

    Bug 41023: Update manual URLs
    
    Updated `about:tor` to link to the offline manual.
---
 chrome/content/aboutTor/aboutTor-content.js | 4 +---
 chrome/content/aboutTor/aboutTor.xhtml      | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/chrome/content/aboutTor/aboutTor-content.js b/chrome/content/aboutTor/aboutTor-content.js
index 2d1ae71f..601b817c 100644
--- a/chrome/content/aboutTor/aboutTor-content.js
+++ b/chrome/content/aboutTor/aboutTor-content.js
@@ -111,9 +111,7 @@ var AboutTorListener = {
   },
 
   onLocaleChange: function(aLocale) {
-    // Set localized Tor Browser manual and "Get Involved" links.
-    content.document.getElementById("manualLink").href =
-                            "https://tb-manual.torproject.org/" + aLocale;
+    // Set localized "Get Involved" link.
     content.document.getElementById("getInvolvedLink").href =
                             "https://community.torproject.org/" + aLocale;
 
diff --git a/chrome/content/aboutTor/aboutTor.xhtml b/chrome/content/aboutTor/aboutTor.xhtml
index 12244f9b..03e10fd8 100644
--- a/chrome/content/aboutTor/aboutTor.xhtml
+++ b/chrome/content/aboutTor/aboutTor.xhtml
@@ -97,7 +97,7 @@
         <a href="https://donate.torproject.org/" target="_blank">&aboutTor.donationBanner.buttonA; »</a>
       </p>
       <p id="manual" class="showForManual moreInfoLink">&aboutTor.torbrowser_user_manual_questions.label;
-        <a id="manualLink" target="_blank">&aboutTor.torbrowser_user_manual_link.label;</a></p>
+        <a id="manualLink" href="about:manual" target="_blank">&aboutTor.torbrowser_user_manual_link.label;</a></p>
       <p id="newsletter" class="moreInfoLink"><img class="imageStyle" src="chrome://browser/skin/mail.svg"/>&aboutTor.newsletter.tagline;<br/>
         <a href="https://newsletter.torproject.org">&aboutTor.newsletter.link_text; »</a>
       </p>

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


More information about the tor-commits mailing list