diff --git a/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/index.test.tsx.snap index 2c011c136f005..be9d67f31cb11 100644 --- a/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/index.test.tsx.snap +++ b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/index.test.tsx.snap @@ -36,7 +36,7 @@ exports[`DetailView should render Discover button 1`] = ` - View 10 occurrences in Discover + View 10 occurrences in Discover. `; diff --git a/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx index eba9f281abdce..04ca836e02ed9 100644 --- a/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx +++ b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx @@ -103,7 +103,7 @@ export function DetailView({ errorGroup, urlParams, location }: Props) { 'xpack.apm.errorGroupDetails.viewOccurrencesInDiscoverButtonLabel', { defaultMessage: - 'View {occurrencesCount} occurrences in Discover', + 'View {occurrencesCount} {occurrencesCount, plural, one {occurrence} other {occurrences}} in Discover.', values: { occurrencesCount } } )}