Skip to content

Commit bb11fd4

Browse files
committed
rename key
1 parent aa4f93e commit bb11fd4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apps/site/components/withLegal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type LegalProps = {
1818
* - used directly to find the passed links from navigation.footerLinks
1919
*/
2020
const RICH_TRANSLATION_KEYS = [
21-
'openjsf',
21+
'foundationName',
2222
'trademarkPolicy',
2323
'trademarkList',
2424
'termsOfUse',
@@ -36,7 +36,7 @@ const WithLegal: FC<LegalProps> = ({ footerLinks }) => {
3636
*
3737
* Example: {
3838
"link": "https://openjsf.org/",
39-
"text": "components.containers.footer.links.openjsf"
39+
"text": "components.containers.footer.links.foundationName"
4040
},
4141
*
4242
*

apps/site/navigation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"footerLinks": [
3535
{
3636
"link": "https://openjsf.org/",
37-
"text": "components.containers.footer.links.openjsf"
37+
"text": "components.containers.footer.links.foundationName"
3838
},
3939
{
4040
"link": "https://terms-of-use.openjsf.org/",

packages/i18n/src/locales/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"components": {
33
"containers": {
44
"footer": {
5-
"legal": "Copyright <openjsf>OpenJS Foundation</openjsf> and Node.js contributors. All rights reserved. The <openjsf>OpenJS Foundation</openjsf> has registered trademarks and uses trademarks. For a list of trademarks of the <openjsf>OpenJS Foundation</openjsf>, please see our <trademarkPolicy>Trademark Policy</trademarkPolicy> and <trademarkList>Trademark List</trademarkList>. Trademarks and logos not indicated on the <trademarkList>list of OpenJS Foundation trademarks</trademarkList> are trademarks&trade; or registered&reg; trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.",
5+
"legal": "Copyright <foundationName>OpenJS Foundation</foundationName> and Node.js contributors. All rights reserved. The <foundationName>OpenJS Foundation</foundationName> has registered trademarks and uses trademarks. For a list of trademarks of the <foundationName>OpenJS Foundation</foundationName>, please see our <trademarkPolicy>Trademark Policy</trademarkPolicy> and <trademarkList>Trademark List</trademarkList>. Trademarks and logos not indicated on the <trademarkList>list of OpenJS Foundation trademarks</trademarkList> are trademarks&trade; or registered&reg; trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.",
66
"links": {
7-
"openjsf": "OpenJS Foundation",
7+
"foundationName": "OpenJS Foundation",
88
"termsOfUse": "Terms of Use",
99
"privacyPolicy": "Privacy Policy",
1010
"bylaws": "Bylaws",

0 commit comments

Comments
 (0)