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

Commits:

1 changed file:

Changes:

  • browser/components/abouttor/content/aboutTor.js
    ... ... @@ -277,8 +277,9 @@ const YecWidget = {
    277 277
         }
    
    278 278
         const donateLink = document.getElementById("yec-2024-donate-link");
    
    279 279
         const base = "https://www.torproject.org/donate";
    
    280
    -    // TODO: Updated link for YEC (using _locale?).
    
    281
    -    donateLink.href = base;
    
    280
    +    donateLink.href = this._locale
    
    281
    +      ? `${base}/donate-${this._locale}-yec2024`
    
    282
    +      : base;
    
    282 283
       },
    
    283 284
     
    
    284 285
       /**