ui: Index filter chips and RecordDetails booleans are not localisable #96

Open
opened 2026-09-16 03:27:20 +00:00 by pienter · 0 comments
Owner

Two remaining hard-coded English strings found while building a Dutch order overview on 0.23.0:

  1. Index renders the active-filter chips with a hard-coded "Clear all" button and a Remove {label} {value} aria-label (components/layout/index/Index.vue). Every other visible string (searchLabel, sortLabel, pageSizeLabel, FilterSelect's emptyLabel) has a prop. Suggest clearFiltersLabel and removeFilterLabel props, or a slot.
  2. RecordDetails renders boolean values as "Yes"/"No" with no prop to localise them. Workaround: slot every boolean field.

Seen in leefschoolklavertje4.be's Bestellingen index and order detail.

Two remaining hard-coded English strings found while building a Dutch order overview on 0.23.0: 1. `Index` renders the active-filter chips with a hard-coded "Clear all" button and a `Remove {label} {value}` aria-label (`components/layout/index/Index.vue`). Every other visible string (`searchLabel`, `sortLabel`, `pageSizeLabel`, FilterSelect's `emptyLabel`) has a prop. Suggest `clearFiltersLabel` and `removeFilterLabel` props, or a slot. 2. `RecordDetails` renders boolean values as "Yes"/"No" with no prop to localise them. Workaround: slot every boolean field. Seen in leefschoolklavertje4.be's Bestellingen index and order detail.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pienter/ui#96
No description provided.