Skip to content

Commit

Permalink
Bug 1841816 : Update nightly/whatsnew template to also link to Mastodon
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
pascalchevrel authored and alexgibson committed Jul 7, 2023
1 parent 1fd7701 commit f61546e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bedrock/firefox/templates/firefox/nightly/whatsnew.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2 class="c-emphasis-box-title">{{ self.page_title() }}</h2>

<p>{{ ftl('nightly-whatsnew-this-is-a-good') }}</p>

<p>{{ ftl('nightly-whatsnew-if-you-want-to', blog='https://blog.nightly.mozilla.org/', twitter='https://twitter.com/FirefoxNightly') }}</p>
<p>{{ 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' ) }}</p>

<p>
{% if ftl_has_messages('nightly-whatsnew-want-to-know-which-v2') %}
Expand Down
4 changes: 4 additions & 0 deletions l10n/en/firefox/nightly/whatsnew.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="{ $blog }">blog</a> and following us on <a href="{ $mastodon }">{ -brand-name-mastodon }</a> or <a href="{ $twitter }">{ -brand-name-twitter }</a> 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 <a href="{ $blog }">blog</a> and following us on <a href="{ $twitter }">{ -brand-name-twitter }</a> are good starting points!
# Variables:
Expand Down

0 comments on commit f61546e

Please sign in to comment.