mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
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
1 changed files with 2 additions and 1 deletions
|
@ -107,7 +107,8 @@ export function ErrorDistribution({ distribution, title }: Props) {
|
||||||
}
|
}
|
||||||
formatYLong={(value: number) =>
|
formatYLong={(value: number) =>
|
||||||
i18n.translate('xpack.apm.errorGroupDetails.occurrencesLongLabel', {
|
i18n.translate('xpack.apm.errorGroupDetails.occurrencesLongLabel', {
|
||||||
defaultMessage: '{occCount} occurrences',
|
defaultMessage:
|
||||||
|
'{occCount} {occCount, plural, one {occurrence} other {occurrences}}',
|
||||||
values: { occCount: value },
|
values: { occCount: value },
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue