[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.3.0esr-14.0-1] fixup! Bug 43098: Year End Campaign 2024.

morgan (@morgan) git at gitlab.torproject.org
Mon Sep 30 17:58:09 UTC 2024



morgan pushed to branch tor-browser-128.3.0esr-14.0-1 at The Tor Project / Applications / Tor Browser


Commits:
94cc83ed by Henry Wilkes at 2024-09-30T16:33:54+01: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
=====================================
@@ -286,8 +286,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/94cc83edc7d961a2125c49736cfdd1d44204261f

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/94cc83edc7d961a2125c49736cfdd1d44204261f
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/tor-commits/attachments/20240930/38246095/attachment.htm>


More information about the tor-commits mailing list