feat: enhance accessibility and testing with data-test attributes and improve error handling
This commit is contained in:
71
apps/web/i18n/messages/en/bookings.json
Normal file
71
apps/web/i18n/messages/en/bookings.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"nav": {
|
||||
"bookings": "Bookings",
|
||||
"calendar": "Calendar",
|
||||
"rooms": "Rooms",
|
||||
"guests": "Guests",
|
||||
"newBooking": "New Booking"
|
||||
},
|
||||
"list": {
|
||||
"title": "Bookings",
|
||||
"searchPlaceholder": "Search guest or room...",
|
||||
"newBooking": "New Booking",
|
||||
"noBookings": "No bookings found",
|
||||
"createFirst": "Create your first booking.",
|
||||
"activeBookings": "Active Bookings",
|
||||
"guest": "Guest",
|
||||
"room": "Room",
|
||||
"checkIn": "Check-in",
|
||||
"checkOut": "Check-out",
|
||||
"nights": "Nights",
|
||||
"price": "Price"
|
||||
},
|
||||
"detail": {
|
||||
"notFound": "Booking not found",
|
||||
"guestInfo": "Guest Information",
|
||||
"roomInfo": "Room Information",
|
||||
"bookingDetails": "Booking Details",
|
||||
"extras": "Extras"
|
||||
},
|
||||
"form": {
|
||||
"room": "Room *",
|
||||
"selectRoom": "— Select room —",
|
||||
"guest": "Guest",
|
||||
"checkIn": "Check-in *",
|
||||
"checkOut": "Check-out *",
|
||||
"adults": "Adults",
|
||||
"children": "Children",
|
||||
"notes": "Notes",
|
||||
"created": "Booking created successfully",
|
||||
"errorCreating": "Error creating booking"
|
||||
},
|
||||
"status": {
|
||||
"pending": "Pending",
|
||||
"confirmed": "Confirmed",
|
||||
"checked_in": "Checked In",
|
||||
"checked_out": "Checked Out",
|
||||
"cancelled": "Cancelled",
|
||||
"no_show": "No Show"
|
||||
},
|
||||
"rooms": {
|
||||
"title": "Rooms",
|
||||
"newRoom": "New Room",
|
||||
"noRooms": "No rooms found",
|
||||
"name": "Name",
|
||||
"type": "Type",
|
||||
"capacity": "Capacity",
|
||||
"price": "Price/Night"
|
||||
},
|
||||
"guests": {
|
||||
"title": "Guests",
|
||||
"newGuest": "New Guest",
|
||||
"noGuests": "No guests found",
|
||||
"name": "Name",
|
||||
"email": "Email",
|
||||
"phone": "Phone",
|
||||
"bookings": "Bookings"
|
||||
},
|
||||
"calendar": {
|
||||
"title": "Availability Calendar"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user