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

View File

@@ -33,13 +33,13 @@ export default function GuestsRoomsPickerDialog({
const { getFieldState, trigger, setValue } =
useFormContext<BookingWidgetSchema>()
const roomsValue = useWatch<BookingWidgetSchema, "rooms">({ name: "rooms" })
const addRoomLabel = intl.formatMessage({ id: "Add Room" })
const addRoomLabel = intl.formatMessage({ id: "Add room" })
const doneLabel = intl.formatMessage({ id: "Done" })
const disabledBookingOptionsHeader = intl.formatMessage({
id: "Disabled booking options header",
id: "We're sorry",
})
const disabledBookingOptionsText = intl.formatMessage({
id: "Disabled adding room",
id: "Adding room is not available on the new website yet.",
})
const handleClose = useCallback(async () => {