mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Updated text loading states to animated spinners.
This commit is contained in:
parent
fc6786cb23
commit
c852a2bc78
3 changed files with 7 additions and 15 deletions
|
@ -5,20 +5,14 @@
|
|||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { EuiEmptyPrompt } from '@elastic/eui';
|
||||
import { EuiFlexGroup, EuiFlexItem, EuiLoadingSpinner } from '@elastic/eui';
|
||||
|
||||
export function LoadingStatePrompt() {
|
||||
return (
|
||||
<EuiEmptyPrompt
|
||||
title={
|
||||
<div>
|
||||
{i18n.translate('xpack.apm.loading.prompt', {
|
||||
defaultMessage: 'Loading...'
|
||||
})}
|
||||
</div>
|
||||
}
|
||||
titleSize="s"
|
||||
/>
|
||||
<EuiFlexGroup justifyContent="spaceAround">
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiLoadingSpinner size="l" />
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -3557,7 +3557,6 @@
|
|||
"xpack.apm.fetcher.error.status": "エラー",
|
||||
"xpack.apm.fetcher.error.title": "リソースの取得中にエラーが発生しました",
|
||||
"xpack.apm.fetcher.error.url": "URL",
|
||||
"xpack.apm.loading.prompt": "読み込み中…",
|
||||
"xpack.apm.localFilters.titles.agentName": "エージェント名",
|
||||
"xpack.apm.localFilters.titles.containerId": "コンテナー ID",
|
||||
"xpack.apm.localFilters.titles.host": "ホスト",
|
||||
|
@ -12716,4 +12715,4 @@
|
|||
"xpack.licensing.welcomeBanner.licenseIsExpiredDescription.updateYourLicenseLinkText": "ライセンスを更新",
|
||||
"xpack.licensing.welcomeBanner.licenseIsExpiredTitle": "ご使用の {licenseType} ライセンスは期限切れです"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3558,7 +3558,6 @@
|
|||
"xpack.apm.fetcher.error.status": "错误",
|
||||
"xpack.apm.fetcher.error.title": "提取资源时出错",
|
||||
"xpack.apm.fetcher.error.url": "URL",
|
||||
"xpack.apm.loading.prompt": "正在加载……",
|
||||
"xpack.apm.localFilters.titles.agentName": "代理名称",
|
||||
"xpack.apm.localFilters.titles.containerId": "容器 ID",
|
||||
"xpack.apm.localFilters.titles.host": "主机",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue