import { i18n } from '@kbn/i18n' ; export const POLLING_DURATION = 5000 ; export const POLLING_ERROR_TITLE = i18n . translate ( 'xpack.enterpriseSearch.appSearch.engine.pollingErrorMessage' , { defaultMessage : 'Could not fetch engine data' } ) ; export const POLLING_ERROR_TEXT = i18n . translate ( 'xpack.enterpriseSearch.appSearch.engine.pollingErrorDescription' , { defaultMessage : 'Please check your connection or manually reload the page.' } ) ;