diff --git a/src/plugins/discover/public/application/components/no_results/no_results.tsx b/src/plugins/discover/public/application/components/no_results/no_results.tsx index ffba3431ef00..2c64bd6a0412 100644 --- a/src/plugins/discover/public/application/components/no_results/no_results.tsx +++ b/src/plugins/discover/public/application/components/no_results/no_results.tsx @@ -32,6 +32,7 @@ import React from 'react'; import { I18nProvider } from '@osd/i18n/react'; import { EuiEmptyPrompt, EuiPanel, EuiText } from '@elastic/eui'; +import { i18n } from '@osd/i18n'; interface Props { timeFieldName?: string; @@ -165,14 +166,20 @@ export const DiscoverNoResults = ({ timeFieldName, queryLanguage }: Props) => { data-test-subj="discoverNoResults" title={ -

No results

+

+ {i18n.translate('discover.emptyPrompt.title', { + defaultMessage: 'No Results', + })} +

} body={

- Try selecting a different data source, expanding your time range or modifying the - query & filters. + {i18n.translate('discover.emptyPrompt.body', { + defaultMessage: + 'Try selecting a different data source, expanding your time range or modifying the query & filters.', + })}

}