Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 413c411

Browse files
committed
Fixes the link href in footer ("/terms/booking" => "/terms/general")
- renames the localisation keys accordingly
1 parent f5933b1 commit 413c411

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/ui/components/common/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ const Footer = (): JSX.Element => {
4141
navigationAriaLabel={t("footer:Navigation.navigationAriaLabel")}
4242
>
4343
<HDSFooter.Item
44-
href={`${locale}/terms/booking`}
45-
label={t(`footer:Navigation.bookingTermsLabel`)}
44+
href={`${locale}/terms/general`}
45+
label={t(`footer:Navigation.generalTermsLabel`)}
4646
target="_blank"
4747
icon={<IconLinkExternal size="s" aria-hidden />}
4848
rel="noopener noreferrer"

apps/ui/public/locales/en/footer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Navigation": {
33
"feedbackLabel": "Send feedback",
4-
"bookingTermsLabel": "General Terms of Service"
4+
"generalTermsLabel": "General Terms of Service"
55
},
66
"Base": {
77
"Item": {

apps/ui/public/locales/fi/footer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Navigation": {
33
"feedbackLabel": "Lähetä palautetta",
4-
"bookingTermsLabel": "Palvelun yleiset käyttöehdot"
4+
"generalTermsLabel": "Palvelun yleiset käyttöehdot"
55
},
66
"Base": {
77
"Item": {

apps/ui/public/locales/sv/footer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Navigation": {
33
"feedbackLabel": "Ge respons",
4-
"bookingTermsLabel": "Allmänna användarvillkor"
4+
"generalTermsLabel": "Allmänna användarvillkor"
55
},
66
"Base": {
77
"Item": {

0 commit comments

Comments
 (0)