fix(i18n): prepare for Lokalise
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user