Skip to content

Commit

Permalink
pluralized for occurrences vs occurrence (#74564)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
brittanyjoiner15 and elasticmachine committed Aug 18, 2020
1 parent 52481f3 commit ce1beb2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
})
}
Expand Down

0 comments on commit ce1beb2

Please sign in to comment.