Skip to content

Commit

Permalink
VPN landing pages locale fix (#15408)
Browse files Browse the repository at this point in the history
* Remove reference to old VPN landing page FTL file (Fixes #15407)

* Restore missing invite page strings
  • Loading branch information
alexgibson authored Oct 30, 2024
1 parent 6f96cb8 commit 8ca29f3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bedrock/products/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def active_locale_available(slug, locale):

@require_safe
def vpn_landing_page(request):
ftl_files = ["products/vpn/landing", "products/vpn/landing-2023", "products/vpn/shared", "products/vpn/pricing-2023"]
ftl_files = ["products/vpn/landing-2023", "products/vpn/shared", "products/vpn/pricing-2023"]
country = get_country_from_request(request)
vpn_available_in_country = vpn_available(request)
mobile_sub_only = vpn_available_mobile_sub_only(request)
Expand Down Expand Up @@ -122,7 +122,7 @@ def vpn_landing_page(request):

@require_safe
def vpn_pricing_page(request):
ftl_files = ["products/vpn/landing", "products/vpn/shared", "products/vpn/pricing-2023"]
ftl_files = ["products/vpn/pricing-2023", "products/vpn/shared"]
available_countries = settings.VPN_AVAILABLE_COUNTRIES
country = get_country_from_request(request)
vpn_available_in_country = vpn_available(request)
Expand Down
27 changes: 27 additions & 0 deletions l10n/en/products/vpn/landing.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

### URL: https://www-dev.allizom.org/products/vpn/invite/

vpn-landing-invite-page-title = Join the Waitlist: { -brand-name-mozilla-vpn }
vpn-landing-invite-page-desc-v2 = Get notified when { -brand-name-mozilla-vpn } is available for your region.
vpn-landing-invite-page-heading = Join the VPN Waitlist
vpn-landing-invite-email-label = What is your email address?
vpn-landing-invite-required-label = Required
# Only localize "yourname". Do not change "@example.com".
vpn-landing-invite-email-placeholder = [email protected]
vpn-landing-invite-country-label = What country do you live in?
vpn-landing-invite-language-label = Select your preferred language.
# Variables:
# $privacy (url) - link to https://www.mozilla.org/privacy/subscription-services/
vpn-landing-invite-privacy-policy = By clicking “Join the waitlist”, you agree to our <a href="{ $privacy }">Privacy Policy</a>.
vpn-landing-invite-your-information = Your information will only be used to notify you about platform availability.
vpn-landing-invite-thanks-heading = Thanks! You’re on the list
vpn-landing-invite-thanks-desc = Once { -brand-name-mozilla-vpn } becomes available for your region, we’ll email you.

0 comments on commit 8ca29f3

Please sign in to comment.