Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Logs UI] Correct logs anomalies i18n expression (#185660)
## π Summary Closes #184663 The expression used to display selection modes/plurals was the following: ``` {includeType, select, includeAll {All datasets} includeSome {{includedDatasetCount, plural, one {# dataset} other {# datasets} }} } ``` Per [formatting specification](https://formatjs.io/docs/core-concepts/icu-syntax/#select-format), `select` expressions require a `other` and will throw an error if `select` is used without `other` (`MISSING_OTHER_CLAUSE` error). Adding the `other` clause to the expression as follows should fix it: ``` {includeType, select, includeAll {All datasets} includeSome {{includedDatasetCount, plural, one {# dataset} other {# datasets} }} other {No dataset available} } ``` https://github.com/elastic/kibana/assets/34506779/248c4549-b828-4e83-a947-6374f5f27ddf Co-authored-by: Marco Antonio Ghiani <[email protected]>
- Loading branch information