From 14e52a78813538d02e0c28cc65d32d586d75909c Mon Sep 17 00:00:00 2001 From: Reem H <42309026+reemhamz@users.noreply.github.com> Date: Wed, 6 Sep 2023 14:46:24 +0300 Subject: [PATCH 1/2] began updating Fx Accounts strings --- bedrock/firefox/templates/firefox/accounts.html | 6 +++--- .../templates/firefox/browsers/compare/brave.html | 2 +- .../templates/firefox/browsers/compare/safari.html | 6 +++--- .../templates/firefox/features/password-manager.html | 2 +- bedrock/firefox/templates/firefox/features/sync.html | 2 +- .../newsletter/includes/newsletter-strings.json | 2 +- .../newsletter/templates/newsletter/management.html | 2 +- bedrock/products/templates/products/relay/faq.html | 2 +- .../templates/products/vpn/includes/download-faq.html | 2 +- l10n/en/brands.ftl | 2 ++ l10n/en/firefox/accounts.ftl | 9 ++++++++- l10n/en/firefox/browsers/compare/brave.ftl | 3 +++ l10n/en/firefox/browsers/compare/safari.ftl | 11 +++++++++++ l10n/en/firefox/features/password-manager-2023.ftl | 7 ++++++- l10n/en/firefox/features/sync-2023.ftl | 6 +++++- l10n/en/mozorg/newsletters.ftl | 7 +++++++ l10n/en/products/relay/faq.ftl | 4 ++++ l10n/en/products/vpn/platform-post-download.ftl | 5 +++++ l10n/en/sub_navigation.ftl | 4 ++++ 19 files changed, 68 insertions(+), 16 deletions(-) diff --git a/bedrock/firefox/templates/firefox/accounts.html b/bedrock/firefox/templates/firefox/accounts.html index 04d9abb5baf..c11fdc8e3e4 100644 --- a/bedrock/firefox/templates/firefox/accounts.html +++ b/bedrock/firefox/templates/firefox/accounts.html @@ -41,7 +41,7 @@
{{ ftl('firefox-accounts-already') }}
+{{ ftl('mozilla-accounts-already') }}
{{ ftl('firefox-accounts-manage') }}{{ ftl('compare-brave-the-ability-to-sync-your-passwords') }}
-{{ ftl('compare-brave-the-firefox-browser-also-gives', accounts='href="%s" data-cta-type="link" data-cta-name="Firefox Account"'|safe|format(url('firefox.accounts')), +
{{ ftl('compare-brave-the-firefox-browser-also-gives-v2', accounts='href="%s" data-cta-type="link" data-cta-name="Firefox Account"'|safe|format(url('firefox.accounts')), monitor='href="https://monitor.firefox.com/" rel="external noopener" data-cta-text="Monitor" data-cta-type="link"'|safe, breaches='href="https://monitor.firefox.com/breaches" rel="external noopener" data-cta-text="Data breaches" data-cta-type="link"'|safe) }}
diff --git a/bedrock/firefox/templates/firefox/browsers/compare/safari.html b/bedrock/firefox/templates/firefox/browsers/compare/safari.html index cefe0e6f249..71216590d12 100644 --- a/bedrock/firefox/templates/firefox/browsers/compare/safari.html +++ b/bedrock/firefox/templates/firefox/browsers/compare/safari.html @@ -183,8 +183,8 @@{{ ftl('compare-safari-like-safari-firefox-encourages', attrs='href="https://addons.mozilla.org" rel="external noopener" data-cta-text="add-ons and extensions" data-cta-type="link"'|safe) }}
- {% if ftl_has_messages('compare-safari-also-when-you-sign-up-for-updated', 'compare-safari-firefox-is-also-great-for-video', 'compare-safari-screenshots-is-another-popular') %} -{{ ftl('compare-safari-also-when-you-sign-up-for-updated', pocket='href="https://getpocket.com/" rel="external noopener" data-cta-text="Pocket" data-cta-type="link"'|safe) }}
+ {% if ftl_has_messages('compare-safari-also-when-you-sign-up-for-updated-v2', 'compare-safari-firefox-is-also-great-for-video', 'compare-safari-screenshots-is-another-popular') %} +{{ ftl('compare-safari-also-when-you-sign-up-for-updated-v2', pocket='href="https://getpocket.com/" rel="external noopener" data-cta-text="Pocket" data-cta-type="link"'|safe) }}
{{ ftl('compare-safari-firefox-is-also-great-for-video') }}
@@ -243,7 +243,7 @@{{ ftl('compare-safari-firefox-and-safari-both-provide') }}
-{{ ftl('compare-safari-firefox-also-offers-a-similar-updated', fallback='compare-safari-firefox-also-offers-a-similar', attrs = 'href="%s" data-cta-type="link" data-cta-name="Firefox Account"'|safe|format(url('firefox.accounts'))) }}
+{{ ftl('compare-safari-firefox-also-offers-a-similar-updated-v2', fallback='compare-safari-firefox-also-offers-a-similar', attrs = 'href="%s" data-cta-type="link" data-cta-name="Firefox Account"'|safe|format(url('firefox.accounts'))) }}
{{ ftl('compare-safari-the-firefox-app-for-ios-and', ios='href="%s" rel="external noopener" data-cta-text="iOS" data-cta-type="link"'|safe|format(app_store_url('firefox')), android='href="%s" rel="external noopener" data-cta-text="Android" data-cta-type="link"'|safe|format(play_store_url('firefox'))) }}
diff --git a/bedrock/firefox/templates/firefox/features/password-manager.html b/bedrock/firefox/templates/firefox/features/password-manager.html index b8838151a48..339df1cfcb2 100644 --- a/bedrock/firefox/templates/firefox/features/password-manager.html +++ b/bedrock/firefox/templates/firefox/features/password-manager.html @@ -12,7 +12,7 @@ {% block article_content %}{{ ftl('password-manager-firefox-securely-stores-your') }}
-{{ ftl('password-manager-with-a-free-firefox-account', fxa=url('firefox.accounts')) }}
+{{ ftl('password-manager-with-a-free-mozilla-account', fxa=url('firefox.accounts')) }}
{{ ftl('password-manager-firefox-can-automatically-fill-in') }}
diff --git a/bedrock/firefox/templates/firefox/features/sync.html b/bedrock/firefox/templates/firefox/features/sync.html index 8059e6ff8f5..d7b9aaaf71d 100644 --- a/bedrock/firefox/templates/firefox/features/sync.html +++ b/bedrock/firefox/templates/firefox/features/sync.html @@ -11,7 +11,7 @@ {% block article_content %}{{ ftl('features-sync-with-firefox-you-can-pick-up-where') }}
-{{ ftl('features-sync-sign-up-for-a-free-firefox-account', fxa=url('firefox.accounts')) }}
+{{ ftl('features-sync-sign-up-for-a-free-mozilla-account', fxa=url('firefox.accounts')) }}
{{ ftl('compare-brave-the-ability-to-sync-your-passwords') }}
-{{ ftl('compare-brave-the-firefox-browser-also-gives-v2', accounts='href="%s" data-cta-type="link" data-cta-name="Firefox Account"'|safe|format(url('firefox.accounts')), + {% if switch('moz-accounts-update') %} +
{{ ftl('compare-brave-the-firefox-browser-also-gives-v2', fallback='compare-brave-the-firefox-browser-also-gives', accounts='href="%s" data-cta-type="link" data-cta-name="Firefox Account"'|safe|format(url('firefox.accounts')), monitor='href="https://monitor.firefox.com/" rel="external noopener" data-cta-text="Monitor" data-cta-type="link"'|safe, breaches='href="https://monitor.firefox.com/breaches" rel="external noopener" data-cta-text="Data breaches" data-cta-type="link"'|safe) }}
+ {% else %} +{{ ftl('compare-brave-the-firefox-browser-also-gives', accounts='href="%s" data-cta-type="link" data-cta-name="Firefox Account"'|safe|format(url('firefox.accounts')), + monitor='href="https://monitor.firefox.com/" rel="external noopener" data-cta-text="Monitor" data-cta-type="link"'|safe, + breaches='href="https://monitor.firefox.com/breaches" rel="external noopener" data-cta-text="Data breaches" data-cta-type="link"'|safe) }}
+ {% endif %}{{ ftl('compare-brave-brave-also-recently-gained') }}
diff --git a/bedrock/firefox/templates/firefox/browsers/compare/safari.html b/bedrock/firefox/templates/firefox/browsers/compare/safari.html index 71216590d12..b647d5cddeb 100644 --- a/bedrock/firefox/templates/firefox/browsers/compare/safari.html +++ b/bedrock/firefox/templates/firefox/browsers/compare/safari.html @@ -182,16 +182,15 @@{{ ftl('compare-safari-like-safari-firefox-encourages', attrs='href="https://addons.mozilla.org" rel="external noopener" data-cta-text="add-ons and extensions" data-cta-type="link"'|safe) }}
- - {% if ftl_has_messages('compare-safari-also-when-you-sign-up-for-updated-v2', 'compare-safari-firefox-is-also-great-for-video', 'compare-safari-screenshots-is-another-popular') %} -{{ ftl('compare-safari-also-when-you-sign-up-for-updated-v2', pocket='href="https://getpocket.com/" rel="external noopener" data-cta-text="Pocket" data-cta-type="link"'|safe) }}
+ {% if switch('moz-accounts-update') %} +{{ ftl('compare-safari-also-when-you-sign-up-for-updated-v2', fallback='compare-safari-also-when-you-sign-up-for-updated', pocket='href="https://getpocket.com/" rel="external noopener" data-cta-text="Pocket" data-cta-type="link"'|safe) }}
+ {% else %} + {{ ftl('compare-safari-also-when-you-sign-up-for-updated', pocket='href="https://getpocket.com/" rel="external noopener" data-cta-text="Pocket" data-cta-type="link"'|safe) }} + {% endif %}{{ ftl('compare-safari-firefox-is-also-great-for-video') }}
{{ ftl('compare-safari-screenshots-is-another-popular', attrs='href="https://screenshots.firefox.com" rel="external noopener" data-cta-text="Screenshots" data-cta-type="link"'|safe) }}
- {% else %} -{{ ftl('compare-safari-also-when-you-sign-up-for', fallback='compare-safari-also-when-you-sign-up-for-fallback', pocket='href="https://getpocket.com/" rel="external noopener" data-cta-text="Pocket" data-cta-type="link"'|safe, send='href="https://send.firefox.com/" rel="external noopener" data-cta-text="Send" data-cta-type="link"'|safe ) }}
- {% endif %}{{ ftl('compare-safari-both-browsers-have-a-lot') }}
@@ -243,7 +242,11 @@{{ ftl('compare-safari-firefox-and-safari-both-provide') }}
-{{ ftl('compare-safari-firefox-also-offers-a-similar-updated-v2', fallback='compare-safari-firefox-also-offers-a-similar', attrs = 'href="%s" data-cta-type="link" data-cta-name="Firefox Account"'|safe|format(url('firefox.accounts'))) }}
+ {% if switch('moz-accounts-update') %} +{{ ftl('compare-safari-firefox-also-offers-a-similar-updated-v2', fallback='compare-safari-firefox-also-offers-a-similar-updated', attrs = 'href="%s" data-cta-type="link" data-cta-name="Firefox Account"'|safe|format(url('firefox.accounts'))) }}
+ {% else %} +{{ ftl('compare-safari-firefox-also-offers-a-similar-updated', attrs = 'href="%s" data-cta-type="link" data-cta-name="Firefox Account"'|safe|format(url('firefox.accounts'))) }}
+ {% endif %}{{ ftl('compare-safari-the-firefox-app-for-ios-and', ios='href="%s" rel="external noopener" data-cta-text="iOS" data-cta-type="link"'|safe|format(app_store_url('firefox')), android='href="%s" rel="external noopener" data-cta-text="Android" data-cta-type="link"'|safe|format(play_store_url('firefox'))) }}
diff --git a/bedrock/firefox/templates/firefox/features/password-manager.html b/bedrock/firefox/templates/firefox/features/password-manager.html index 339df1cfcb2..c45aa8db088 100644 --- a/bedrock/firefox/templates/firefox/features/password-manager.html +++ b/bedrock/firefox/templates/firefox/features/password-manager.html @@ -12,7 +12,11 @@ {% block article_content %}{{ ftl('password-manager-firefox-securely-stores-your') }}
-{{ ftl('password-manager-with-a-free-mozilla-account', fxa=url('firefox.accounts')) }}
+ {% if switch('moz-accounts-update') %} +{{ ftl('password-manager-with-a-free-mozilla-account', fallback='password-manager-with-a-free-firefox-account', fxa=url('firefox.accounts')) }}
+ {% else %} +{{ ftl('password-manager-with-a-free-firefox-account', fxa=url('firefox.accounts')) }}
+ {% endif %}{{ ftl('password-manager-firefox-can-automatically-fill-in') }}
diff --git a/bedrock/firefox/templates/firefox/features/sync.html b/bedrock/firefox/templates/firefox/features/sync.html index d7b9aaaf71d..062ad7e7953 100644 --- a/bedrock/firefox/templates/firefox/features/sync.html +++ b/bedrock/firefox/templates/firefox/features/sync.html @@ -11,7 +11,13 @@ {% block article_content %}{{ ftl('features-sync-with-firefox-you-can-pick-up-where') }}
-{{ ftl('features-sync-sign-up-for-a-free-mozilla-account', fxa=url('firefox.accounts')) }}
+ + {% if switch('moz-accounts-update') %} +{{ ftl('features-sync-sign-up-for-a-free-mozilla-account', fallback='features-sync-sign-up-for-a-free-firefox-account', fxa=url('firefox.accounts')) }}
+ {% else %} +{{ ftl('features-sync-sign-up-for-a-free-firefox-account', fxa=url('firefox.accounts')) }}
+ {% endif %} +- {{ ftl('firefox-privacy-hub-already-have-an-account', - sign_in=fxa_link_fragment(entrypoint=_entrypoint, action='signin', optional_parameters={'utm_campaign': _utm_campaign}), - class_name='js-fxa-cta-link js-fxa-product-button', - learn_more=url('firefox.accounts') )}} + {% if switch('moz-accounts-update') %} + {{ ftl('firefox-privacy-hub-already-have-an-account-v2', fallback='firefox-privacy-hub-already-have-an-account', + sign_in=fxa_link_fragment(entrypoint=_entrypoint, action='signin', optional_parameters={'utm_campaign': _utm_campaign}), + class_name='js-fxa-cta-link js-fxa-product-button', + learn_more=url('firefox.accounts') )}} + {% else %} + {{ ftl('firefox-privacy-hub-already-have-an-account', + sign_in=fxa_link_fragment(entrypoint=_entrypoint, action='signin', optional_parameters={'utm_campaign': _utm_campaign}), + class_name='js-fxa-cta-link js-fxa-product-button', + learn_more=url('firefox.accounts') )}} + {% endif %} + + +