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

Commits:

1 changed file:

Changes:

  • browser/components/abouttor/content/aboutTor.js
    ... ... @@ -286,8 +286,9 @@ const YecWidget = {
    286 286
         }
    
    287 287
         const donateLink = document.getElementById("yec-2024-donate-link");
    
    288 288
         const base = "https://www.torproject.org/donate";
    
    289
    -    // TODO: Updated link for YEC (using _locale?).
    
    290
    -    donateLink.href = base;
    
    289
    +    donateLink.href = this._locale
    
    290
    +      ? `${base}/donate-${this._locale}-yec2024`
    
    291
    +      : base;
    
    291 292
       },
    
    292 293
     
    
    293 294
       /**