[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-115.16.0esr-13.5-1] fixup! Bug 43098: Year End Campaign 2024.
    morgan (@morgan) 
    git at gitlab.torproject.org
       
    Mon Sep 30 18:00:00 UTC 2024
    
    
  
morgan pushed to branch tor-browser-115.16.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
ebb9762e by Henry Wilkes at 2024-09-30T17:59:03+00:00
fixup! Bug 43098: Year End Campaign 2024.
Bug 43149: Use special YEC 2024 donate url.
- - - - -
1 changed file:
- browser/components/abouttor/content/aboutTor.js
Changes:
=====================================
browser/components/abouttor/content/aboutTor.js
=====================================
@@ -277,8 +277,9 @@ const YecWidget = {
     }
     const donateLink = document.getElementById("yec-2024-donate-link");
     const base = "https://www.torproject.org/donate";
-    // TODO: Updated link for YEC (using _locale?).
-    donateLink.href = base;
+    donateLink.href = this._locale
+      ? `${base}/donate-${this._locale}-yec2024`
+      : base;
   },
 
   /**
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ebb9762e6984cbfd0c5dc3b33d444395c0b8e62e
-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ebb9762e6984cbfd0c5dc3b33d444395c0b8e62e
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20240930/2a983a67/attachment-0001.htm>
    
    
More information about the tbb-commits
mailing list