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
This commit is contained in:
Fredrik Thorsson
2025-02-06 07:23:37 +00:00
parent bb0f35fb98
commit d135872eab
7 changed files with 14 additions and 4 deletions

View File

@@ -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({
</ul>
{countryUrl && (
<Link href={countryUrl} variant="icon" color="burgundy" weight="bold">
{intl.formatMessage({ id: "See destination" })}
<ChevronRightSmallIcon color="burgundy" />
{intl.formatMessage(
{
id: "View all hotels in {country}",
},
{ country: country }
)}
<ArrowRightIcon color="burgundy" />
</Link>
)}
</div>