[tbb-commits] [torbutton/master] Bug 30497: Add donation text and link

gk at torproject.org gk at torproject.org
Tue May 14 13:41:12 UTC 2019


commit fd4c553ca957e3116f4905d2ad5e765d61bfc4e0
Author: Georg Koppen <gk at torproject.org>
Date:   Tue May 14 07:05:07 2019 +0000

    Bug 30497: Add donation text and link
---
 src/chrome/content/aboutTor/aboutTor.xhtml | 3 +++
 src/chrome/locale/en-US/aboutTor.dtd       | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/src/chrome/content/aboutTor/aboutTor.xhtml b/src/chrome/content/aboutTor/aboutTor.xhtml
index 0789f851..4736f653 100644
--- a/src/chrome/content/aboutTor/aboutTor.xhtml
+++ b/src/chrome/content/aboutTor/aboutTor.xhtml
@@ -72,6 +72,9 @@ window.addEventListener("pageshow", function() {
     </div>
 
     <div id="bottom">
+      <p id="donate" class="moreInfoLink">&aboutTor.donationBanner.line2e;
+        <a href="https://donate.torproject.org/">&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>
       <p id="newsletter" class="moreInfoLink"><img class="imageStyle" src="resource://torbutton-assets/icon-newsletter.png"/><br/>&aboutTor.newsletter.tagline;<br/>
diff --git a/src/chrome/locale/en-US/aboutTor.dtd b/src/chrome/locale/en-US/aboutTor.dtd
index 4f360a91..c4273ad2 100644
--- a/src/chrome/locale/en-US/aboutTor.dtd
+++ b/src/chrome/locale/en-US/aboutTor.dtd
@@ -28,3 +28,5 @@
 
 <!ENTITY aboutTor.newsletter.tagline "Get the latest news from Tor straight to your inbox.">
 <!ENTITY aboutTor.newsletter.link_text "Sign up for Tor News.">
+<!ENTITY aboutTor.donationBanner.line2e "Keep Tor strong.">
+<!ENTITY aboutTor.donationBanner.buttonA "Donate Now">





More information about the tbb-commits mailing list