Skip to content

Commit 50f9d27

Browse files
pluralized for occurrences vs occurrence (#74564) (#75319)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent eb0508e commit 50f9d27

File tree

1 file changed

+2
-1
lines changed
  • x-pack/plugins/apm/public/components/app/ErrorGroupDetails/Distribution

1 file changed

+2
-1
lines changed

x-pack/plugins/apm/public/components/app/ErrorGroupDetails/Distribution/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ export function ErrorDistribution({ distribution, title }: Props) {
107107
}
108108
formatYLong={(value: number) =>
109109
i18n.translate('xpack.apm.errorGroupDetails.occurrencesLongLabel', {
110-
defaultMessage: '{occCount} occurrences',
110+
defaultMessage:
111+
'{occCount} {occCount, plural, one {occurrence} other {occurrences}}',
111112
values: { occCount: value },
112113
})
113114
}

0 commit comments

Comments
 (0)