Description
On the schedule page, the "Filter" button text is hardcoded and doesn't translate when switching between English and Spanish. The "Create Appointment" button translates correctly.
Steps to Reproduce
- Log in as `admin@email.com` or `user-service@email.com`
- Go to Schedule
- Toggle language from EN to ES
- "Filter" button text stays in English
Root Cause
`/pages/admin/scheduleView.vue`, line 31:
The button text is hardcoded as `Filter` instead of using `{{ $t("Filter") }}`.
Meanwhile, the FilterAppointments modal title (line 19) correctly uses `{{ $t("Filter Appointments") }}`.
i18n locale files (`/i18n/locales/`):
- `"Filter Appointments"` key exists but standalone `"Filter"` key may be missing from `es.json`
Fix
- Change `Filter` to `{{ $t("Filter") }}` in scheduleView.vue line 31
- Add `"Filter": "Filtrar"` to `/i18n/locales/es.json`
- Add `"Filter": "Filter"` to `/i18n/locales/en.json`
Acceptance Criteria
Description
On the schedule page, the "Filter" button text is hardcoded and doesn't translate when switching between English and Spanish. The "Create Appointment" button translates correctly.
Steps to Reproduce
Root Cause
`/pages/admin/scheduleView.vue`, line 31:
The button text is hardcoded as `Filter` instead of using `{{ $t("Filter") }}`.
Meanwhile, the FilterAppointments modal title (line 19) correctly uses `{{ $t("Filter Appointments") }}`.
i18n locale files (`/i18n/locales/`):
Fix
Acceptance Criteria