Skip to content

Commit

Permalink
Add missing i18n (#103245) (#103284)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Roes <[email protected]>
  • Loading branch information
kibanamachine and Tim Roes authored Jun 24, 2021
1 parent 74fe228 commit a5af2d3
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,21 @@ export function DiscoverFieldSearch({ onChange, value, types, useNewFieldsApi }:
return [
{
id: `${id}-any`,
label: 'any',
label: i18n.translate('discover.fieldChooser.filter.toggleButton.any', {
defaultMessage: 'any',
}),
},
{
id: `${id}-true`,
label: 'yes',
label: i18n.translate('discover.fieldChooser.filter.toggleButton.yes', {
defaultMessage: 'yes',
}),
},
{
id: `${id}-false`,
label: 'no',
label: i18n.translate('discover.fieldChooser.filter.toggleButton.no', {
defaultMessage: 'no',
}),
},
];
};
Expand Down

0 comments on commit a5af2d3

Please sign in to comment.