Skip to content

Commit

Permalink
Refactor aliases to use actual strings
Browse files Browse the repository at this point in the history
  • Loading branch information
robdivincenzo committed Apr 23, 2024
1 parent 93fee2b commit 4be3cb0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class DefaultSignupForm extends Component {
id={this.ids[name]}
name={name}
label={gettext(
"I'm okay with Mozilla handling my info as explained in this Privacy Notice"
"<span>I'm okay with Mozilla handling my info as explained in this <a target='_blank' href='https://www.mozilla.org/privacy/websites/'>Privacy Notice</a></span>"
)}
value={this.getFormFieldValue(name)}
checked={this.getFormFieldValue(name) === "true"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,12 @@ function withSubmissionLogic(WrappedComponent) {
) {
message = (
<>
<p>{gettext("confirm your email opt-in")}</p>
<p>{gettext("manage your subscriptions")}</p>
<p>
{gettext("If you haven’t previously confirmed your opt-in to a Mozilla-related email subscription you may have to do so now. <strong>Please check your inbox or spam filter for an email from us to click and confirm your subscription</strong>.")}

Check failure on line 242 in source/js/components/newsletter-signup/organisms/with-submission-logic.jsx

View workflow job for this annotation

GitHub Actions / Node CI

Replace `"If·you·haven’t·previously·confirmed·your·opt-in·to·a·Mozilla-related·email·subscription·you·may·have·to·do·so·now.·<strong>Please·check·your·inbox·or·spam·filter·for·an·email·from·us·to·click·and·confirm·your·subscription</strong>."` with `⏎················"If·you·haven’t·previously·confirmed·your·opt-in·to·a·Mozilla-related·email·subscription·you·may·have·to·do·so·now.·<strong>Please·check·your·inbox·or·spam·filter·for·an·email·from·us·to·click·and·confirm·your·subscription</strong>."⏎··············`
</p>
<p>
{gettext("If you have already confirmed your opt-in to receive Mozilla-related emails, you can now <a href='https://www.mozilla.org/newsletter/recovery/' target='_blank'>manage your subscriptions</a> and update your email preferences.")}

Check failure on line 245 in source/js/components/newsletter-signup/organisms/with-submission-logic.jsx

View workflow job for this annotation

GitHub Actions / Node CI

Replace `"If·you·have·already·confirmed·your·opt-in·to·receive·Mozilla-related·emails,·you·can·now·<a·href='https://www.mozilla.org/newsletter/recovery/'·target='_blank'>manage·your·subscriptions</a>·and·update·your·email·preferences."` with `⏎················"If·you·have·already·confirmed·your·opt-in·to·receive·Mozilla-related·emails,·you·can·now·<a·href='https://www.mozilla.org/newsletter/recovery/'·target='_blank'>manage·your·subscriptions</a>·and·update·your·email·preferences."⏎··············`
</p>
</>
);
}
Expand Down

0 comments on commit 4be3cb0

Please sign in to comment.