Skip to content

Commit

Permalink
Remove hard-coded English strings from VPN nav CTA (Fixes mozilla#14179)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson committed Feb 5, 2024
1 parent 91a371a commit df51d79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bedrock/products/templates/products/vpn/includes/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ <h2 class="vpn-hero-sub-heading">{{ subheading }}</h2>
{% if vpn_available %}
{% set pricing_url = '#pricing' if request.path.endswith('/products/vpn/') else url('products.vpn.landing') + '#pricing' %}
<a class="mzp-c-button mzp-t-secondary mzp-t-md" href="{{ pricing_url }}" data-cta-type="button" data-cta-text="Get Mozilla VPN" data-cta-position="navigation">
Get Mozilla VPN
{{ ftl('vpn-shared-subscribe-link') }}
</a>
{% else %}
<a class="mzp-c-button mzp-t-secondary mzp-t-md" href="{{ url('products.vpn.invite') }}" data-cta-type="button" data-cta-text="Join the VPN Waitlist" data-cta-position="navigation">
Join the Waitlist
{{ ftl('vpn-shared-waitlist-link') }}
</a>
{% endif %}
</div>
Expand Down

0 comments on commit df51d79

Please sign in to comment.