From d135872eabdeb0bc6c7d96906c6d967423fa9283 Mon Sep 17 00:00:00 2001 From: Fredrik Thorsson Date: Thu, 6 Feb 2025 07:23:37 +0000 Subject: [PATCH] Merged in fix/update-translation-overview-list (pull request #1257) fix: update translation for overview page list component * fix: update translation Approved-by: Erik Tiekstra --- .../DestinationsList/Destination/index.tsx | 12 ++++++++---- i18n/dictionaries/da.json | 1 + i18n/dictionaries/de.json | 1 + i18n/dictionaries/en.json | 1 + i18n/dictionaries/fi.json | 1 + i18n/dictionaries/no.json | 1 + i18n/dictionaries/sv.json | 1 + 7 files changed, 14 insertions(+), 4 deletions(-) diff --git a/components/ContentType/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx b/components/ContentType/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx index 3d0098302..0ac1ada0b 100644 --- a/components/ContentType/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx +++ b/components/ContentType/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx @@ -1,8 +1,7 @@ -import { ChevronRightSmallIcon } from "@/components/Icons" +import { ArrowRightIcon } from "@/components/Icons" import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem" import Link from "@/components/TempDesignSystem/Link" import { getIntl } from "@/i18n" -import { getLang } from "@/i18n/serverContext" import styles from "./destination.module.css" @@ -40,8 +39,13 @@ export default async function Destination({ {countryUrl && ( - {intl.formatMessage({ id: "See destination" })} - + {intl.formatMessage( + { + id: "View all hotels in {country}", + }, + { country: country } + )} + )} diff --git a/i18n/dictionaries/da.json b/i18n/dictionaries/da.json index 19633fc92..2171b4421 100644 --- a/i18n/dictionaries/da.json +++ b/i18n/dictionaries/da.json @@ -506,6 +506,7 @@ "VAT {vat}%": "Moms {vat}%", "Valid through {expirationDate}": "Gyldig til og med {expirationDate}", "Verification code": "Verification code", + "View all hotels in {country}": "Se alle hoteller i {country}", "View as list": "Vis som liste", "View as map": "Vis som kort", "View your account": "View your account", diff --git a/i18n/dictionaries/de.json b/i18n/dictionaries/de.json index 413097283..324ca973d 100644 --- a/i18n/dictionaries/de.json +++ b/i18n/dictionaries/de.json @@ -504,6 +504,7 @@ "VAT {vat}%": "MwSt. {vat}%", "Valid through {expirationDate}": "Gültig bis {expirationDate}", "Verification code": "Verification code", + "View all hotels in {country}": "Alle Hotels in {country} anzeigen", "View as list": "Als Liste anzeigen", "View as map": "Als Karte anzeigen", "View your account": "View your account", diff --git a/i18n/dictionaries/en.json b/i18n/dictionaries/en.json index b88a8abcb..a33dd22a4 100644 --- a/i18n/dictionaries/en.json +++ b/i18n/dictionaries/en.json @@ -556,6 +556,7 @@ "VAT {vat}%": "VAT {vat}%", "Valid through {expirationDate}": "Valid through {expirationDate}", "Verification code": "Verification code", + "View all hotels in {country}": "View all hotels in {country}", "View and buy add-ons": "View and buy add-ons", "View as list": "View as list", "View as map": "View as map", diff --git a/i18n/dictionaries/fi.json b/i18n/dictionaries/fi.json index ec4db3a28..9ebfe2ccd 100644 --- a/i18n/dictionaries/fi.json +++ b/i18n/dictionaries/fi.json @@ -506,6 +506,7 @@ "VAT {vat}%": "ALV {vat}%", "Valid through {expirationDate}": "Voimassa {expirationDate} asti", "Verification code": "Verification code", + "View all hotels in {country}": "Näytä kaikki hotellit maassa {country}", "View as list": "Näytä listana", "View as map": "Näytä kartalla", "View your account": "View your account", diff --git a/i18n/dictionaries/no.json b/i18n/dictionaries/no.json index 4320a74fc..1f5402636 100644 --- a/i18n/dictionaries/no.json +++ b/i18n/dictionaries/no.json @@ -505,6 +505,7 @@ "VAT {vat}%": "mva {vat}%", "Valid through {expirationDate}": "Gyldig til og med {expirationDate}", "Verification code": "Verification code", + "View all hotels in {country}": "Se alle hotellene i {country}", "View as list": "Vis som liste", "View as map": "Vis som kart", "View your account": "View your account", diff --git a/i18n/dictionaries/sv.json b/i18n/dictionaries/sv.json index c39f87000..8bb2ca5ab 100644 --- a/i18n/dictionaries/sv.json +++ b/i18n/dictionaries/sv.json @@ -505,6 +505,7 @@ "VAT {vat}%": "Moms {vat}%", "Valid through {expirationDate}": "Gäller till och med {expirationDate}", "Verification code": "Verification code", + "View all hotels in {country}": "Visa alla hotell i {country}", "View as list": "Visa som lista", "View as map": "Visa som karta", "View your account": "View your account",