[i18n] core.euiFilterButton.filterBadge
is setting hardcoded values
#4786
Labels
core.euiFilterButton.filterBadge
is setting hardcoded values
#4786
The i18n label
core.euiFilterButton.filterBadge
receives a valuefilterCountLabel
that is calculated depending on other value:https://github.com/elastic/kibana/blob/5f618da802228025b8225ff36222d02c95708230/src/core/public/i18n/i18n_eui_mapping.tsx#L503-L507
The problem is that the hardcoded values are not localized.
I think we can fix that by referencing a new
i18n.translate('core.euiFilterButton.filterBadgeActive', { defaultValue: 'active' })
andi18n.translate('core.euiFilterButton.filterBadgeAvailable', { defaultValue: 'available' })
The text was updated successfully, but these errors were encountered: