fix(i18n): prepare for Lokalise

This commit is contained in:
Michael Zetterberg
2025-01-03 14:54:46 +01:00
parent cbc17e2c5b
commit d2ce9c0d7c
120 changed files with 1703 additions and 1042 deletions
@@ -139,8 +139,10 @@ export default function FilterAndSortModal({
onClick={() => handleApplyFiltersAndSorting(close)}
>
{intl.formatMessage(
{ id: "See results" },
{ count: resultCount }
{ id: "See results ({ count })" },
{
count: resultCount,
}
)}
</Button>
<Button
@@ -1,4 +1,5 @@
"use client"
import { useIntl } from "react-intl"
import { useHotelFilterStore } from "@/stores/hotel-filters"
@@ -13,7 +14,7 @@ export default function HotelCount() {
<Preamble>
{intl.formatMessage(
{
id: "Hotel(s)",
id: "{amount, plural, one {# hotel} other {# hotels}}",
},
{ amount: resultCount }
)}