Commit Graph

4 Commits (0b6a043f19d46e05e733dfb646be80e218f1b505)

Author SHA1 Message Date
Pau Costa Ferrer 0b6a043f19 Prevent past bookings and updates across web and API
- Add validation logic to block creating or updating reservations in the past.
- Update date pickers to enforce minimum selectable date as today.
- Extend i18n files (`en.json`, `es-ES.json`) with new error messages.
- Refine UI to disable interaction with past time slots and display appropriate messages.
2026-03-28 18:19:57 +01:00
Pau Costa Ferrer 6e48763947 Add filtering for past and upcoming bookings in "My Bookings" page
- Enhance UI to separate upcoming and past bookings with collapsible sections.
- Add new i18n keys for handling booking filters (`en.json`, `es-ES.json`).
- Update booking component logic to filter reservations based on time.
- Introduce "Show/Hide Past Bookings" toggle for improved user experience.
2026-03-28 18:14:51 +01:00
Pau Costa Ferrer 5fe893c7ce Add i18n integration and translations for improved localization
- Extend English (`en.json`) and Spanish (`es-ES.json`) locale files with additional keys for buildings, bookings, reports, and user management.
- Update Svelte components and pages to use `svelte-i18n` for dynamic translations across the app.
- Refactor labels, titles, and error messages for multilingual support.
- Improve date formatting based on locale preferences.
2026-03-28 17:58:24 +01:00
Pau Costa Ferrer 71404d0ed8 Add i18n support with English and Spanish translations
- Introduce `svelte-i18n` for internationalization.
- Add English (`en.json`) and Spanish (`es-ES.json`) locale files.
- Implement `setupI18n` function for initializing and managing locales.
- Update project dependencies to include `svelte-i18n`.
2026-03-28 17:34:13 +01:00