pluralized for occurrences vs occurrence (#74564)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
f9c3036759
commit
f621b0e2b6
|
@ -107,7 +107,8 @@ export function ErrorDistribution({ distribution, title }: Props) {
|
|||
}
|
||||
formatYLong={(value: number) =>
|
||||
i18n.translate('xpack.apm.errorGroupDetails.occurrencesLongLabel', {
|
||||
defaultMessage: '{occCount} occurrences',
|
||||
defaultMessage:
|
||||
'{occCount} {occCount, plural, one {occurrence} other {occurrences}}',
|
||||
values: { occCount: value },
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue