Skip to content

Commit

Permalink
Update sys requirements for Mozilla VPN on Linux (Fixes mozilla#13442) (
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson authored Aug 15, 2023
1 parent acbb512 commit 4e57392
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
4 changes: 2 additions & 2 deletions bedrock/products/templates/products/vpn/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h2>{{ ftl('vpn-download-for-mac-long', fallback='vpn-download-for-mac') }}</h2>
<div class="platform-body">
<h2>{{ ftl('vpn-download-for-linux-long', fallback='vpn-download-for-linux') }}</h2>
<p class="current-platform-lede">{{ ftl('vpn-download-based-on-your') }}</p>
<p>{{ ftl('vpn-download-for-linux-requirements', version='18.04') }}</p>
<p>{{ ftl('vpn-download-for-linux-requirements', version='20.04') }}</p>
<a class="mzp-c-button" href="{{ linux_download_url }}" data-cta-type="button" data-cta-text="VPN Download (Linux)" class="platform-download-link">
{{ ftl('vpn-download-get-mozilla-vpn', fallback='vpn-shared-subscribe-link') }}
</a>
Expand Down Expand Up @@ -178,7 +178,7 @@ <h2>{{ ftl('vpn-download-for-mac') }}</h2>
</div>
<div class="platform-body">
<h2>{{ ftl('vpn-download-for-linux') }}</h2>
<p>{{ ftl('vpn-download-for-linux-requirements', version='18.04') }}</p>
<p>{{ ftl('vpn-download-for-linux-requirements', version='20.04') }}</p>
</div>
<a href="{{ linux_download_url }}" data-cta-type="button" data-cta-text="VPN Download (Linux)" class="platform-download-link">
<span class="visually-hidden">{{ ftl('vpn-download-for-linux-long') }}</span>
Expand Down
8 changes: 1 addition & 7 deletions bedrock/products/templates/products/vpn/landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,7 @@ <h3>{{ ftl('vpn-landing-faq-compatibility-question-heading') }}</h3>
{% endif %}
</li>
<li>
{% if ftl_has_messages('vpn-landing-faq-compatibility-question-desc-linux-v3') %}
{{ ftl('vpn-landing-faq-compatibility-question-desc-linux-v3', url=url('products.vpn.platforms.linux')) }}
{% elif ftl_has_messages('vpn-landing-faq-compatibility-question-desc-linux-v2') %}
{{ ftl('vpn-landing-faq-compatibility-question-desc-linux-v2', url=url('products.vpn.platforms.linux')) }}
{% else %}
{{ ftl('vpn-landing-faq-compatibility-question-desc-linux') }}
{% endif %}
{{ ftl('vpn-landing-faq-compatibility-question-desc-linux-v4', fallback='vpn-landing-faq-compatibility-question-desc-linux-v3', url=url('products.vpn.platforms.linux')) }}
</li>
</ul>
</details>
Expand Down
8 changes: 2 additions & 6 deletions l10n/en/products/vpn/landing.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,11 @@ vpn-landing-faq-compatibility-question-desc-ios-v3 = <a href="{ $url }">{ -brand
# Variables:
# $url (url) - link to https://www.mozilla.org/products/vpn/desktop/linux/
vpn-landing-faq-compatibility-question-desc-linux-v3 = <a href="{ $url }">{ -brand-name-linux }</a> ({ -brand-name-ubuntu } 18.04 and up)
vpn-landing-faq-compatibility-question-desc-linux-v4 = <a href="{ $url }">{ -brand-name-linux }</a> ({ -brand-name-ubuntu } 20.04 and up)
# Outdated string
# Variables:
# $url (url) - link to https://www.mozilla.org/products/vpn/desktop/linux/
vpn-landing-faq-compatibility-question-desc-linux-v2 = <a href="{ $url }">{ -brand-name-linux }</a> ({ -brand-name-ubuntu }-only)
# Outdated string
vpn-landing-faq-compatibility-question-desc-linux = { -brand-name-linux } ({ -brand-name-ubuntu }-only)
vpn-landing-faq-compatibility-question-desc-linux-v3 = <a href="{ $url }">{ -brand-name-linux }</a> ({ -brand-name-ubuntu } 18.04 and up)
vpn-landing-faq-refund-question-heading = What is { -brand-name-mozilla-vpn }’s refund policy?
Expand Down

0 comments on commit 4e57392

Please sign in to comment.