Skip to content

Commit

Permalink
Merge pull request #238 from edx/zzzarius/seo-275-ccpa-wording
Browse files Browse the repository at this point in the history
chore: SEO-275 Update legal wording
  • Loading branch information
zzzarius authored Jan 9, 2023
2 parents c4557c4 + fd8c002 commit a49abb9
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/components/CCPADialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const CCPADialog = ({ dialogIsOpen, closeCallback, baseURL }) => {

return (
<ModalDialog
title="Do Not Sell My Personal Data"
title="Manage Consent Preferences"
isOpen={isOpen}
onClose={close}
size="xl"
Expand All @@ -72,7 +72,7 @@ const CCPADialog = ({ dialogIsOpen, closeCallback, baseURL }) => {
<FormattedMessage
id="prospectus.data.sharing.modal.title"
description="CCPA Data sharing dialog title"
defaultMessage="Do Not Sell My Personal Data"
defaultMessage="Manage Consent Preferences"
/>
</ModalDialog.Title>
</ModalDialog.Header>
Expand All @@ -87,7 +87,7 @@ const CCPADialog = ({ dialogIsOpen, closeCallback, baseURL }) => {
<FormattedMessage
id="prospectus.data.sharing.modal.toggle.title"
description="CCPA Data sharing dialog toggle title"
defaultMessage="Share My Data with Third Parties for Personalized Advertising"
defaultMessage="Share My Information with Third Parties for Personalized Advertising"
/>
</Form.Switch>
</Form.Group>
Expand Down
1 change: 1 addition & 0 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ class Footer extends React.Component {
onClick: this.CCPADialogOpen,
variant: 'link',
size: 'inline',
id: 'footer-dns-link',
},
]}
/>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Footer.messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ const messages = defineMessages({
},
'footer.legalLinks.doNotSellData': {
id: 'footer.legalLinks.doNotSellData',
defaultMessage: 'Do Not Sell My Personal Data',
description: 'link button that leads to the "Do Not Sell My Personal Data" cookie settings menu.',
defaultMessage: 'Do Not Sell My Personal Information',
description: 'link button that leads to the "Do Not Sell My Personal Information" cookie settings menu.',
},
'footer.legalLinks.cookiePolicy': {
id: 'footer.legalLinks.cookiePolicy',
Expand Down
6 changes: 3 additions & 3 deletions src/components/__snapshots__/CCPADialog.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Array [
onKeyDown={[Function]}
/>
<div
aria-label="Do Not Sell My Personal Data"
aria-label="Manage Consent Preferences"
className="pgn__modal pgn__modal-xl pgn__modal-default ccpa-dialog"
role="dialog"
>
Expand Down Expand Up @@ -83,7 +83,7 @@ Array [
<h2
className="pgn__modal-title"
>
Do Not Sell My Personal Data
Manage Consent Preferences
</h2>
</div>
<div
Expand Down Expand Up @@ -117,7 +117,7 @@ Array [
className="pgn__form-label"
htmlFor="form-field14"
>
Share My Data with Third Parties for Personalized Advertising
Share My Information with Third Parties for Personalized Advertising
</label>
</div>
</div>
Expand Down
15 changes: 9 additions & 6 deletions src/components/__snapshots__/Footer.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,11 @@ exports[`<Footer /> renders correctly renders with a language selector 1`] = `
<button
className="px-0 text-left text-decoration-none btn btn-link btn-inline"
disabled={false}
id="footer-dns-link"
onClick={[Function]}
type="button"
>
Do Not Sell My Personal Data
Do Not Sell My Personal Information
</button>
</li>
</ul>
Expand Down Expand Up @@ -449,7 +450,7 @@ exports[`<Footer /> renders correctly renders with a language selector 1`] = `
</ul>
<p>
©
2022
2023
edX LLC. All rights reserved.
<br />
深圳市恒宇博科技有限公司
Expand Down Expand Up @@ -604,10 +605,11 @@ exports[`<Footer /> renders correctly renders without a language selector 1`] =
<button
className="px-0 text-left text-decoration-none btn btn-link btn-inline"
disabled={false}
id="footer-dns-link"
onClick={[Function]}
type="button"
>
Do Not Sell My Personal Data
Do Not Sell My Personal Information
</button>
</li>
</ul>
Expand Down Expand Up @@ -859,7 +861,7 @@ exports[`<Footer /> renders correctly renders without a language selector 1`] =
</ul>
<p>
©
2022
2023
edX LLC. All rights reserved.
<br />
深圳市恒宇博科技有限公司
Expand Down Expand Up @@ -979,10 +981,11 @@ exports[`<Footer /> renders correctly renders without a language selector in es
<button
className="px-0 text-left text-decoration-none btn btn-link btn-inline"
disabled={false}
id="footer-dns-link"
onClick={[Function]}
type="button"
>
Do Not Sell My Personal Data
Do Not Sell My Personal Information
</button>
</li>
</ul>
Expand Down Expand Up @@ -1227,7 +1230,7 @@ exports[`<Footer /> renders correctly renders without a language selector in es
</ul>
<p>
©
2022
2023
edX LLC. All rights reserved.
<br />
深圳市恒宇博科技有限公司
Expand Down

0 comments on commit a49abb9

Please sign in to comment.