-
Notifications
You must be signed in to change notification settings - Fork 143
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
Dynamic footer Copyright date #741
Changes from all commits
d0d64f1
be4a650
ecb44c2
0a2ba8e
9903f20
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -299,7 +299,7 @@ | |
"defaultMessage": "Terms & Conditions" | ||
}, | ||
"checkout_footer.message.copyright": { | ||
"defaultMessage": "2021 Salesforce or its affiliates. All rights reserved. This is a demo store only. Orders made WILL NOT be processed." | ||
"defaultMessage": "Salesforce or its affiliates. All rights reserved. This is a demo store only. Orders made WILL NOT be processed." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Re: the translations, we'll need to update all of the other locales too. And then re-compile them. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks. Fixed |
||
}, | ||
"checkout_header.link.cart": { | ||
"defaultMessage": "Back to cart" | ||
|
@@ -511,7 +511,7 @@ | |
"defaultMessage": "Terms & Conditions" | ||
}, | ||
"footer.message.copyright": { | ||
"defaultMessage": "2021 Salesforce or its affiliates. All rights reserved. This is a demo store only. Orders made WILL NOT be processed." | ||
"defaultMessage": "Salesforce or its affiliates. All rights reserved. This is a demo store only. Orders made WILL NOT be processed." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bfeister Please update the other locales too, just like how you did here with |
||
}, | ||
"footer.subscribe.button.sign_up": { | ||
"defaultMessage": "Sign Up" | ||
|
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.
Can you repeat the change for the other footer file too? Thanks. There are 2 kinds of footer: one for the main core pages, while the other one is for the checkout.
https://github.com/bfeister/pwa-kit/blob/7cb911ed673164cb7c9389448bf5844e7e3b1ab7/packages/template-retail-react-app/app/components/footer/index.jsx#L166-L173
And yeah, unfortunately doing so would need another round of translation updates, because they use a different message id
footer.message.copyright
.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.
Done! 👍