From f61546eb2ba7a40526ff617953302f78beccdf8b Mon Sep 17 00:00:00 2001 From: Pascal Chevrel Date: Fri, 7 Jul 2023 16:24:29 +0200 Subject: [PATCH] Bug 1841816 : Update nightly/whatsnew template to also link to Mastodon * Added an updated string to mention and link to our FirefoxNightly Mastodon account * Previously translated string without the mastodon link is used as a fallback --- bedrock/firefox/templates/firefox/nightly/whatsnew.html | 2 +- l10n/en/firefox/nightly/whatsnew.ftl | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bedrock/firefox/templates/firefox/nightly/whatsnew.html b/bedrock/firefox/templates/firefox/nightly/whatsnew.html index 0b9f622d0d0..f2764d58730 100644 --- a/bedrock/firefox/templates/firefox/nightly/whatsnew.html +++ b/bedrock/firefox/templates/firefox/nightly/whatsnew.html @@ -46,7 +46,7 @@

{{ self.page_title() }}

{{ ftl('nightly-whatsnew-this-is-a-good') }}

-

{{ ftl('nightly-whatsnew-if-you-want-to', blog='https://blog.nightly.mozilla.org/', twitter='https://twitter.com/FirefoxNightly') }}

+

{{ ftl('nightly-whatsnew-if-you-want-to-v2', blog='https://blog.nightly.mozilla.org/', twitter='https://twitter.com/FirefoxNightly', mastodon='https://mozilla.social/@FirefoxNightly', fallback='nightly-whatsnew-if-you-want-to' ) }}

{% if ftl_has_messages('nightly-whatsnew-want-to-know-which-v2') %} diff --git a/l10n/en/firefox/nightly/whatsnew.ftl b/l10n/en/firefox/nightly/whatsnew.ftl index 4c8d89ea0b6..131e14e8e37 100644 --- a/l10n/en/firefox/nightly/whatsnew.ftl +++ b/l10n/en/firefox/nightly/whatsnew.ftl @@ -21,7 +21,11 @@ nightly-whatsnew-this-is-a-good = This is a good time to thank you for helping u # Variables: # $blog (url) - link to https://blog.nightly.mozilla.org/ +# $mastodon (url) - link to https://mozilla.social/@FirefoxNightly # $twitter (url) - link to https://twitter.com/FirefoxNightly +nightly-whatsnew-if-you-want-to-v2 = If you want to know what’s happening around { -brand-name-nightly } and its community, reading our blog and following us on { -brand-name-mastodon } or { -brand-name-twitter } are good starting points! + +# Obsolete nightly-whatsnew-if-you-want-to = If you want to know what’s happening around { -brand-name-nightly } and its community, reading our blog and following us on { -brand-name-twitter } are good starting points! # Variables: