Correct the I18n service definition of euiStat.loadingText (#42354) (#42447)

* Correct the I18n service definition of euiStat.loadingText

* Update i18n_service snapshot
This commit is contained in:
Chandler Prall 2019-08-01 12:43:20 -06:00 committed by GitHub
parent d107d0845e
commit 8fdd7ac54f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ exports[`#start() returns \`Context\` component 1`] = `
"euiSelectable.loadingOptions": "Loading options",
"euiSelectable.noAvailableOptions": "There aren't any options available",
"euiSelectable.noMatchingOptions": [Function],
"euiStat.loadingText": [Function],
"euiStat.loadingText": "Statistic is loading",
"euiStep.completeStep": "Step",
"euiStep.incompleteStep": "Incomplete Step",
"euiStepHorizontal.buttonTitle": [Function],

View file

@ -244,9 +244,9 @@ export class I18nService {
values={{ searchValue }}
/>
),
'euiStat.loadingText': () => (
<FormattedMessage id="core.euiStat.loadingText" defaultMessage="Statistic is loading" />
),
'euiStat.loadingText': i18n.translate('core.euiStat.loadingText', {
defaultMessage: 'Statistic is loading',
}),
'euiStep.completeStep': i18n.translate('core.euiStep.completeStep', {
defaultMessage: 'Step',
description: