Skip to content

Commit

Permalink
pluralized for occurrences vs occurrence (#74564) (#75318)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
brittanyjoiner15 and elasticmachine authored Aug 19, 2020
1 parent 24da6b7 commit 28f7630
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 28f7630

Please sign in to comment.