-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #15187 - Nightly update message should refer to Firefox Labs instead of Nightly Experiments #15219
Issue #15187 - Nightly update message should refer to Firefox Labs instead of Nightly Experiments #15219
Conversation
…Labs instead of Nightly Experiments - Create a new string for the page with id nightly-whatsnew-want-to-know-which-v3 - Add a new -brand-name-firefox-labs string for Firefox Labs in brands.ftl
ad790ac
to
e60c142
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15219 +/- ##
=======================================
Coverage 77.88% 77.88%
=======================================
Files 163 163
Lines 8480 8480
=======================================
Hits 6605 6605
Misses 1875 1875 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few small fix-ups required 👍
@@ -65,7 +65,7 @@ <h4 class="mzp-c-callout-title">¿Quieres ayudar en España?</h4> | |||
|
|||
<p> | |||
{% set attrs = 'href="#" class="nightly-experiments-link"' %} | |||
{{ ftl('nightly-whatsnew-want-to-know-which-v2', attrs=attrs) }} | |||
{{ ftl('nightly-whatsnew-want-to-know-which-v3', attrs=attrs) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should fall back to the old string for locales that have not yet updated
{{ ftl('nightly-whatsnew-want-to-know-which-v3', attrs=attrs) }} | |
{{ ftl('nightly-whatsnew-want-to-know-which-v3', fallback='nightly-whatsnew-want-to-know-which-v2', attrs=attrs) }} |
@@ -25,6 +25,7 @@ nightly-whatsnew-if-you-want-to-v3 = If you want to know what’s happening arou | |||
# Variables: | |||
# $attrs (string) - link href and additional attributes | |||
nightly-whatsnew-want-to-know-which-v2 = Want to know which platform features you could test on { -brand-name-nightly } and can’t see yet on other { -brand-name-firefox } channels? Then have a look at the <a { $attrs }>Nightly Experiments</a> preferences page. | |||
nightly-whatsnew-want-to-know-which-v3 = Want to know which platform features you could test on { -brand-name-nightly } and can’t see yet on other { -brand-name-firefox } channels? Then have a look at the <a { $attrs }>{ -brand-name-firefox-labs }</a> preferences page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new string needs a comment to explain the variable (you can copy and paste the comment from the v2 string)
@@ -25,6 +25,7 @@ nightly-whatsnew-if-you-want-to-v3 = If you want to know what’s happening arou | |||
# Variables: | |||
# $attrs (string) - link href and additional attributes | |||
nightly-whatsnew-want-to-know-which-v2 = Want to know which platform features you could test on { -brand-name-nightly } and can’t see yet on other { -brand-name-firefox } channels? Then have a look at the <a { $attrs }>Nightly Experiments</a> preferences page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This old string needs to be marked as obsolete so it can be removed in 2 months time. See https://bedrock.readthedocs.io/en/latest/l10n.html#obsolete-strings for details.
- Add l10n comment for new string - Mark old string as the fallback l10n string in the template - Mark old string as being obsolete on 2024-11-26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+ thanks for the contribution @pascalchevrel 💯
nightly-whatsnew-want-to-know-which-v3
-brand-name-firefox-labs
string for Firefox Labs in brands.ftlIssue / Bugzilla link
issue #15187
Testing
make test
passed