Skip to content
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

chore: update privacy-policy route to privacy-statement #2554

Merged
merged 5 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/portal/src/components/DS4CH/DS4CHPageFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
name: this.$t('footer.navigation.MoreInfoLabel'),
links: [
{ url: 'https://www.europeana.eu/rights', text: this.$t('footer.navigation.terms') },
{ url: 'https://www.europeana.eu/rights/privacy-policy', text: this.$t('footer.navigation.privacy') },
{ url: 'https://www.europeana.eu/rights/privacy-statement', text: this.$t('footer.navigation.privacy') },
{ url: 'https://www.europeana.eu/rights/accessibility-policy', text: this.$t('footer.navigation.accessibility') },
{ url: 'https://www.europeana.eu/rights/cookies-policy', text: this.$t('footer.navigation.cookies') }
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{ url: 'https://europeana.atlassian.net/wiki/spaces/EF/pages/2360508417/Europeana+API+FAQ', text: this.$t('footer.navigation.faq') },
{ url: 'mailto:[email protected]', text: this.$t('landing.apis.footer.navigation.contactUs') },
{ url: 'https://www.europeana.eu/rights', text: this.$t('footer.navigation.terms') },
{ url: 'https://www.europeana.eu/rights/privacy-policy', text: this.$t('footer.navigation.privacy') }
{ url: 'https://www.europeana.eu/rights/privacy-statement', text: this.$t('footer.navigation.privacy') }
]
}
};
Expand Down
2 changes: 1 addition & 1 deletion packages/portal/src/components/page/PageCookiesWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
>
<template #privacyPolicy>
<SmartLink
destination="/rights/privacy-policy"
destination="/rights/privacy-statement"
>
{{ $t('klaro.main.consentModal.privacyPolicy') }}<!-- This comment removes white space
-->
Expand Down
2 changes: 1 addition & 1 deletion packages/portal/src/components/page/PageFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
links: [
{ url: '/help', text: this.$t('footer.navigation.help') },
{ url: '/rights', text: this.$t('footer.navigation.terms') },
{ url: '/rights/privacy-policy', text: this.$t('footer.navigation.privacy') },
{ url: '/rights/privacy-statement', text: this.$t('footer.navigation.privacy') },
{ url: '/rights/accessibility-policy', text: this.$t('footer.navigation.accessibility') },
{ url: '/rights/cookies-policy', text: this.$t('footer.navigation.cookies') },
{ url: '/faq', text: this.$t('footer.navigation.faq') }
Expand Down
21 changes: 2 additions & 19 deletions packages/portal/src/i18n/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,23 +153,6 @@ export default {
},
"colourSwatch": "Colour swatch",
"contentYouMightLike": "Content you might like",
"contentfulManual": {
"footerNavigation": {
"MoreInfoLabel": "More Info",
"about": "About Europeana",
"forDevelopers": "For developers",
"help": "Help",
"meetUs": "Meet the team",
"provide": "Become a data provider",
"subscribe": "Subscribe to our Newsletter",
"terms": "Terms of Use and Privacy Policy"
},
"headerNavigation": {
"Collections": "Collections",
"explore": "Explore",
"teachers": "Teachers"
}
},
"curatedAutomatically": "Curated automatically by Europeana",
"dateFilter": {
"endDate": "End date",
Expand Down Expand Up @@ -778,7 +761,7 @@ export default {
"cookies": "Cookies",
"faq": "Frequently Asked Questions (FAQ)",
"help": "Help",
"privacy": "Privacy policy",
"privacy": "Privacy statement",
"seeApiRequests": "See requests to Europeana APIs",
"subscribe": "Subscribe to our newsletter",
"supportingTechnicalPartners": "Supporting technical partners",
Expand Down Expand Up @@ -846,7 +829,7 @@ export default {
"acceptSelected": "Accept selected",
"consentModal": {
"alwaysRequired": "(Always required)",
"description": "Here you can see and customise the services that we'd like to use on this website. To learn more please read our <a href='/rights/privacy-policy'>privacy policy</a>.",
"description": "Here you can see and customise the services that we'd like to use on this website. To learn more please read our <a href='/rights/privacy-statement'>privacy statement</a>.",
"text": "Here you can see and customise the services that we'd like to use on this website. To learn more please read our {privacyPolicy}.",
"privacyPolicy": "Privacy policy",
"servicesCount": "{count} service | {count} services",
Expand Down
2 changes: 2 additions & 0 deletions packages/portal/src/middleware/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ const redirects = {
'/blog': '/stories?type=story',
'/blog/*': '/stories/*',
'/exhibitions': '/stories?type=exhibition',
'/privacy-policy-newsletter': '/privacy-statement-newsletter',
'/professionals': '/share-your-collections',
'/rights/privacy-policy': '/rights/privacy-statement',
'/share-your-data': '/share-your-collections'
};

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/features/common/footer.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Feature: Page Footer
And I see a link to "https://zcv4-zcmp.maillist-manage.eu/ua/Optin?od=12ba7e82b5aa&zx=14ad17d982&sD=119ffcbc10c08987" in the `footer`
And I see a link to "/en/help" in the `footer`
And I see a link to "/en/rights" in the `footer`
And I see a link to "/en/rights/privacy-policy" in the `footer`
And I see a link to "/en/rights/privacy-statement" in the `footer`
And I see a link to "/en/rights/accessibility-policy" in the `footer`
And I see a link to "/en/rights/cookies-policy" in the `footer`
And I see a link to "/en/faq" in the `footer`
Loading