Skip to content

FE fix: translate Manage Shifts page (summary cards, filters, sort) into… - #564

Merged
yasasmiwaranga merged 3 commits into
mainfrom
fix/manage-shift-hindi-translation
Sep 14, 2026
Merged

yasasmiwaranga merged 3 commits into
mainfrom
fix/manage-shift-hindi-translation

Conversation

@Rovina05

@Rovina05 Rovina05 commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Fixes missing translations on the Manage Shifts page — summary cards, filters, and sort were staying in English even when the language was switched.

Before / After

Before: nav and page title translate, but summary cards, filters, and sort stay in English.

preview (1) copy

After: fully translated into Hindi (also fixed for Punjabi and Chinese).
fixed

Changes

  • Added missing translation keys: totalShiftsLabel, completedShiftsLabel, inProgressShiftsLabel, pendingShiftsLabel, draftShiftsLabel, filterByLabel, sortByLabel, noShiftsFoundLabel, addNewShift, draftFilter, inProgressFilter, dateAsc, dateDesc
  • Wired ManageShift.js summary cards, filter buttons, sort button/modal, Add New Shift, View Details, and No shifts found text to use translations instead of hardcoded English

… Hindi/Punjabi/Chinese

- Added missing translation keys: totalShiftsLabel, completedShiftsLabel, inProgressShiftsLabel, pendingShiftsLabel, draftShiftsLabel, filterByLabel, sortByLabel, noShiftsFoundLabel, addNewShift, draftFilter, inProgressFilter, dateAsc, dateDesc
- Wired ManageShift.js summary cards, filter buttons, sort button/modal, Add New Shift, View Details, and No shifts found text to use translations instead of hardcoded English
@yasasmiwaranga

Copy link
Copy Markdown
Collaborator

Tested the Manage Shifts Hindi translation fixes, and everything is working as expected. The summary cards, filters, and sort options are now correctly translated when Hindi is selected. No issues found from my testing.

@yasasmiwaranga
yasasmiwaranga merged commit 8f4065c into main Sep 14, 2026
2 checks passed
@yasasmiwaranga
yasasmiwaranga deleted the fix/manage-shift-hindi-translation branch September 14, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants