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 2c011c136f0059..be9d67f31cb113 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 7c623d976b29c0..3f009a990afa55 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 @@ -104,7 +104,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 } } )}