diff --git a/x-pack/legacy/plugins/snapshot_restore/public/app/components/collapsible_indices_list.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/collapsible_indices_list.tsx new file mode 100644 index 00000000000000..96224ec1283e23 --- /dev/null +++ b/x-pack/legacy/plugins/snapshot_restore/public/app/components/collapsible_indices_list.tsx @@ -0,0 +1,81 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License; + * you may not use this file except in compliance with the Elastic License. + */ + +import React, { useState } from 'react'; +import { EuiTitle, EuiLink, EuiIcon, EuiText, EuiSpacer } from '@elastic/eui'; +interface Props { + indices: string[] | string | undefined; +} + +import { useAppDependencies } from '../index'; + +export const CollapsibleIndicesList: React.FunctionComponent = ({ indices }) => { + const { + core: { i18n }, + } = useAppDependencies(); + const { FormattedMessage } = i18n; + const [isShowingFullIndicesList, setIsShowingFullIndicesList] = useState(false); + const displayIndices = indices + ? typeof indices === 'string' + ? indices.split(',') + : indices + : undefined; + const hiddenIndicesCount = + displayIndices && displayIndices.length > 10 ? displayIndices.length - 10 : 0; + return ( + <> + {displayIndices ? ( + <> + +
    + {(isShowingFullIndicesList ? displayIndices : [...displayIndices].splice(0, 10)).map( + index => ( +
  • + + {index} + +
  • + ) + )} +
+
+ {hiddenIndicesCount ? ( + <> + + + isShowingFullIndicesList + ? setIsShowingFullIndicesList(false) + : setIsShowingFullIndicesList(true) + } + > + {isShowingFullIndicesList ? ( + + ) : ( + + )}{' '} + + + + ) : null} + + ) : ( + + )} + + ); +}; diff --git a/x-pack/legacy/plugins/snapshot_restore/public/app/components/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/components/index.ts index 32b45c05d5cb33..a7038ebd715785 100644 --- a/x-pack/legacy/plugins/snapshot_restore/public/app/components/index.ts +++ b/x-pack/legacy/plugins/snapshot_restore/public/app/components/index.ts @@ -16,6 +16,7 @@ export { SnapshotDeleteProvider } from './snapshot_delete_provider'; export { RestoreSnapshotForm } from './restore_snapshot_form'; export { PolicyExecuteProvider } from './policy_execute_provider'; export { PolicyDeleteProvider } from './policy_delete_provider'; +export { CollapsibleIndicesList } from './collapsible_indices_list'; export { RetentionSettingsUpdateModalProvider, UpdateRetentionSettings, diff --git a/x-pack/legacy/plugins/snapshot_restore/public/app/components/policy_form/steps/step_review.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/policy_form/steps/step_review.tsx index 3ddbcd94009acf..a7f7748b7d72f6 100644 --- a/x-pack/legacy/plugins/snapshot_restore/public/app/components/policy_form/steps/step_review.tsx +++ b/x-pack/legacy/plugins/snapshot_restore/public/app/components/policy_form/steps/step_review.tsx @@ -3,7 +3,7 @@ * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ -import React, { Fragment, useState } from 'react'; +import React, { Fragment } from 'react'; import { EuiCodeBlock, EuiFlexGroup, @@ -13,7 +13,6 @@ import { EuiDescriptionListDescription, EuiSpacer, EuiTabbedContent, - EuiText, EuiTitle, EuiLink, EuiIcon, @@ -22,6 +21,7 @@ import { import { serializePolicy } from '../../../../../common/lib'; import { useAppDependencies } from '../../../index'; import { StepProps } from './'; +import { CollapsibleIndicesList } from '../../collapsible_indices_list'; export const PolicyStepReview: React.FunctionComponent = ({ policy, @@ -39,15 +39,6 @@ export const PolicyStepReview: React.FunctionComponent = ({ partial: undefined, }; - const [isShowingFullIndicesList, setIsShowingFullIndicesList] = useState(false); - const displayIndices = indices - ? typeof indices === 'string' - ? indices.split(',') - : indices - : undefined; - const hiddenIndicesCount = - displayIndices && displayIndices.length > 10 ? displayIndices.length - 10 : 0; - const serializedPolicy = serializePolicy(policy); const { retention: serializedRetention } = serializedPolicy; @@ -164,52 +155,7 @@ export const PolicyStepReview: React.FunctionComponent = ({ /> - {displayIndices ? ( - -
    - {(isShowingFullIndicesList - ? displayIndices - : [...displayIndices].splice(0, 10) - ).map(index => ( -
  • - - {index} - -
  • - ))} - {hiddenIndicesCount ? ( -
  • - - {isShowingFullIndicesList ? ( - setIsShowingFullIndicesList(false)}> - {' '} - - - ) : ( - setIsShowingFullIndicesList(true)}> - {' '} - - - )} - -
  • - ) : null} -
-
- ) : ( - - )} +
diff --git a/x-pack/legacy/plugins/snapshot_restore/public/app/components/restore_snapshot_form/steps/step_review.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/restore_snapshot_form/steps/step_review.tsx index 92b0ee48fef01e..0d2c2398c6012c 100644 --- a/x-pack/legacy/plugins/snapshot_restore/public/app/components/restore_snapshot_form/steps/step_review.tsx +++ b/x-pack/legacy/plugins/snapshot_restore/public/app/components/restore_snapshot_form/steps/step_review.tsx @@ -3,7 +3,7 @@ * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ -import React, { useState, Fragment } from 'react'; +import React, { Fragment } from 'react'; import { EuiCodeEditor, EuiFlexGrid, @@ -23,6 +23,7 @@ import { import { serializeRestoreSettings } from '../../../../../common/lib'; import { useAppDependencies } from '../../../index'; import { StepProps } from './'; +import { CollapsibleIndicesList } from '../../collapsible_indices_list'; export const RestoreSnapshotStepReview: React.FunctionComponent = ({ restoreSettings, @@ -44,15 +45,6 @@ export const RestoreSnapshotStepReview: React.FunctionComponent = ({ const serializedRestoreSettings = serializeRestoreSettings(restoreSettings); const { index_settings: serializedIndexSettings } = serializedRestoreSettings; - const [isShowingFullIndicesList, setIsShowingFullIndicesList] = useState(false); - const displayIndices = restoreIndices - ? typeof restoreIndices === 'string' - ? restoreIndices.split(',') - : restoreIndices - : undefined; - const hiddenIndicesCount = - displayIndices && displayIndices.length > 10 ? displayIndices.length - 10 : 0; - const renderSummaryTab = () => ( @@ -88,52 +80,7 @@ export const RestoreSnapshotStepReview: React.FunctionComponent = ({ /> - {displayIndices ? ( - -
    - {(isShowingFullIndicesList - ? displayIndices - : [...displayIndices].splice(0, 10) - ).map(index => ( -
  • - - {index} - -
  • - ))} - {hiddenIndicesCount ? ( -
  • - - {isShowingFullIndicesList ? ( - setIsShowingFullIndicesList(false)}> - {' '} - - - ) : ( - setIsShowingFullIndicesList(true)}> - {' '} - - - )} - -
  • - ) : null} -
-
- ) : ( - - )} +
diff --git a/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/policy_list/policy_details/tabs/tab_summary.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/policy_list/policy_details/tabs/tab_summary.tsx index e719f3cd1451b1..1f63115c3a5fbf 100644 --- a/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/policy_list/policy_details/tabs/tab_summary.tsx +++ b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/policy_list/policy_details/tabs/tab_summary.tsx @@ -3,7 +3,7 @@ * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ -import React, { useState, useEffect, Fragment } from 'react'; +import React, { Fragment } from 'react'; import { EuiCallOut, EuiFlexGroup, @@ -13,8 +13,6 @@ import { EuiDescriptionList, EuiDescriptionListTitle, EuiDescriptionListDescription, - EuiIcon, - EuiText, EuiPanel, EuiStat, EuiSpacer, @@ -23,7 +21,7 @@ import { import { SlmPolicy } from '../../../../../../../common/types'; import { useAppDependencies } from '../../../../../index'; -import { FormattedDateTime } from '../../../../../components'; +import { FormattedDateTime, CollapsibleIndicesList } from '../../../../../components'; import { linkToSnapshots, linkToRepository } from '../../../../../services/navigation'; interface Props { @@ -56,80 +54,6 @@ export const TabSummary: React.FunctionComponent = ({ policy }) => { partial: undefined, }; - // Only show 10 indices initially - const [isShowingFullIndicesList, setIsShowingFullIndicesList] = useState(false); - const displayIndices = typeof indices === 'string' ? indices.split(',') : indices; - const hiddenIndicesCount = - displayIndices && displayIndices.length > 10 ? displayIndices.length - 10 : 0; - const shortIndicesList = - displayIndices && displayIndices.length ? ( - -
    - {[...displayIndices].splice(0, 10).map((index: string) => ( -
  • - - {index} - -
  • - ))} - {hiddenIndicesCount ? ( -
  • - - setIsShowingFullIndicesList(true)}> - {' '} - - - -
  • - ) : null} -
-
- ) : ( - - ); - const fullIndicesList = - displayIndices && displayIndices.length && displayIndices.length > 10 ? ( - -
    - {displayIndices.map((index: string) => ( -
  • - - {index} - -
  • - ))} - {hiddenIndicesCount ? ( -
  • - - setIsShowingFullIndicesList(false)}> - {' '} - - - -
  • - ) : null} -
-
- ) : null; - - // Reset indices list state when clicking through different policies - useEffect(() => { - return () => { - setIsShowingFullIndicesList(false); - }; - }, []); - return ( {isManagedPolicy ? ( @@ -314,7 +238,7 @@ export const TabSummary: React.FunctionComponent = ({ policy }) => { - {isShowingFullIndicesList ? fullIndicesList : shortIndicesList} + diff --git a/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx index d3d32cb1490647..c71fead0a6fc26 100644 --- a/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx +++ b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import React, { useState, useEffect } from 'react'; +import React from 'react'; import { EuiDescriptionList, @@ -14,15 +14,16 @@ import { EuiFlexItem, EuiLink, EuiLoadingSpinner, - EuiText, - EuiTitle, - EuiIcon, } from '@elastic/eui'; import { SnapshotDetails } from '../../../../../../../common/types'; import { SNAPSHOT_STATE } from '../../../../../constants'; import { useAppDependencies } from '../../../../../index'; -import { DataPlaceholder, FormattedDateTime } from '../../../../../components'; +import { + DataPlaceholder, + FormattedDateTime, + CollapsibleIndicesList, +} from '../../../../../components'; import { linkToPolicy } from '../../../../../services/navigation'; import { SnapshotState } from './snapshot_state'; @@ -52,73 +53,6 @@ export const TabSummary: React.FC = ({ snapshotDetails }) => { policyName, } = snapshotDetails; - // Only show 10 indices initially - const [isShowingFullIndicesList, setIsShowingFullIndicesList] = useState(false); - const hiddenIndicesCount = indices.length > 10 ? indices.length - 10 : 0; - const shortIndicesList = indices.length ? ( -
    - {[...indices].splice(0, 10).map((index: string) => ( -
  • - - {index} - -
  • - ))} - {hiddenIndicesCount ? ( -
  • - - setIsShowingFullIndicesList(true)}> - {' '} - - - -
  • - ) : null} -
- ) : ( - - ); - const fullIndicesList = - indices.length && indices.length > 10 ? ( -
    - {indices.map((index: string) => ( -
  • - - {index} - -
  • - ))} - {hiddenIndicesCount ? ( -
  • - - setIsShowingFullIndicesList(false)}> - {' '} - - - -
  • - ) : null} -
- ) : null; - - // Reset indices list state when clicking through different snapshots - useEffect(() => { - return () => { - setIsShowingFullIndicesList(false); - }; - }, []); - return ( @@ -198,7 +132,7 @@ export const TabSummary: React.FC = ({ snapshotDetails }) => { - {isShowingFullIndicesList ? fullIndicesList : shortIndicesList} + diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index bb488c0a7b1fb0..b171863f26c21c 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -11551,7 +11551,6 @@ "xpack.snapshotRestore.home.snapshotRestoreTitle": "スナップショットリポジドリ", "xpack.snapshotRestore.home.snapshotsTabTitle": "スナップショット", "xpack.snapshotRestore.policies.breadcrumbTitle": "ポリシー", - "xpack.snapshotRestore.policyDetails.allIndicesLabel": "すべてのインデックス", "xpack.snapshotRestore.policyDetails.closeButtonLabel": "閉じる", "xpack.snapshotRestore.policyDetails.deleteButtonLabel": "削除", "xpack.snapshotRestore.policyDetails.editButtonLabel": "編集", @@ -11565,9 +11564,7 @@ "xpack.snapshotRestore.policyDetails.includeGlobalStateFalseLabel": "いいえ", "xpack.snapshotRestore.policyDetails.includeGlobalStateLabel": "グローバルステータスを含める", "xpack.snapshotRestore.policyDetails.includeGlobalStateTrueLabel": "はい", - "xpack.snapshotRestore.policyDetails.indicesCollapseAllLink": "{count, plural, one {# インデックス} other {# インデックス}}を非表示", "xpack.snapshotRestore.policyDetails.indicesLabel": "インデックス", - "xpack.snapshotRestore.policyDetails.indicesShowAllLink": "{count}その他の{count, plural, one {インデックス} other {インデックス}}を表示", "xpack.snapshotRestore.policyDetails.inProgressSnapshotLinkText": "「{snapshotName}」が進行中", "xpack.snapshotRestore.policyDetails.lastFailure.dateLabel": "日付", "xpack.snapshotRestore.policyDetails.lastFailure.detailsAriaLabel": "ポリシー「{name}」の前回のエラーの詳細", @@ -11667,7 +11664,6 @@ "xpack.snapshotRestore.policyForm.stepReview.retentionTab.maxCountLabel": "最高カウント", "xpack.snapshotRestore.policyForm.stepReview.retentionTab.minCountLabel": "最低カウント", "xpack.snapshotRestore.policyForm.stepReview.retentionTab.sectionRetentionTitle": "スナップショットの保存", - "xpack.snapshotRestore.policyForm.stepReview.summaryTab.allIndicesValue": "すべてのインデックス", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.editStepTooltip": "編集", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.ignoreUnavailableFalseLabel": "いいえ", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.ignoreUnavailableLabel": "利用不可能なインデックスを無視", @@ -11675,9 +11671,7 @@ "xpack.snapshotRestore.policyForm.stepReview.summaryTab.includeGlobalStateFalseLabel": "いいえ", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.includeGlobalStateLabel": "グローバルステータスを含める", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.includeGlobalStateTrueLabel": "はい", - "xpack.snapshotRestore.policyForm.stepReview.summaryTab.indicesCollapseAllLink": "{count, plural, one {# インデックス} other {# インデックス}}を非表示", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.indicesLabel": "インデックス", - "xpack.snapshotRestore.policyForm.stepReview.summaryTab.indicesShowAllLink": "{count}その他の{count, plural, one {インデックス} other {インデックス}}を表示", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.nameLabel": "ポリシー名", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.partialFalseLabel": "いいえ", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.partialLabel": "部分シャードを許可", @@ -12069,16 +12063,13 @@ "xpack.snapshotRestore.restoreForm.stepLogisticsTitle": "詳細を復元", "xpack.snapshotRestore.restoreForm.stepReview.jsonTab.jsonAriaLabel": "実行する設定を復元", "xpack.snapshotRestore.restoreForm.stepReview.jsonTabTitle": "JSON", - "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.allIndicesValue": "すべてのインデックス", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.editStepTooltip": "編集", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.ignoreIndexSettingsLabel": "リセット", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.includeGlobalStateFalseValue": "いいえ", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.includeGlobalStateLabel": "グローバル状態の復元", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.includeGlobalStateTrueValue": "はい", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.indexSettingsLabel": "修正", - "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.indicesCollapseAllLink": "{count, plural, one {# インデックス} other {# インデックス}}を非表示", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.indicesLabel": "インデックス", - "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.indicesShowAllLink": "{count}その他の{count, plural, one {インデックス} other {インデックス}}を表示", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.noSettingsValue": "インデックス設定の修正はありません", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.partialFalseValue": "いいえ", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.partialLabel": "部分復元", @@ -12169,10 +12160,7 @@ "xpack.snapshotRestore.snapshotDetails.itemIncludeGlobalStateLabel": "グローバルステータスを含める", "xpack.snapshotRestore.snapshotDetails.itemIncludeGlobalStateNoLabel": "いいえ", "xpack.snapshotRestore.snapshotDetails.itemIncludeGlobalStateYesLabel": "はい", - "xpack.snapshotRestore.snapshotDetails.itemIndicesCollapseAllLink": "{count, plural, one {# インデックス} other {# インデックス}}を非表示", "xpack.snapshotRestore.snapshotDetails.itemIndicesLabel": "インデックス ({indicesCount})", - "xpack.snapshotRestore.snapshotDetails.itemIndicesNoneLabel": "-", - "xpack.snapshotRestore.snapshotDetails.itemIndicesShowAllLink": "{count}その他の{count, plural, one {インデックス} other {インデックス}}を表示", "xpack.snapshotRestore.snapshotDetails.itemStartTimeLabel": "開始時刻", "xpack.snapshotRestore.snapshotDetails.itemStateLabel": "ステータス", "xpack.snapshotRestore.snapshotDetails.itemUuidLabel": "UUID", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 402ddd82888305..050e9bd40f58df 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -11550,7 +11550,6 @@ "xpack.snapshotRestore.home.snapshotRestoreTitle": "快照存储库", "xpack.snapshotRestore.home.snapshotsTabTitle": "快照", "xpack.snapshotRestore.policies.breadcrumbTitle": "策略", - "xpack.snapshotRestore.policyDetails.allIndicesLabel": "所有索引", "xpack.snapshotRestore.policyDetails.closeButtonLabel": "关闭", "xpack.snapshotRestore.policyDetails.deleteButtonLabel": "删除", "xpack.snapshotRestore.policyDetails.editButtonLabel": "编辑", @@ -11564,9 +11563,7 @@ "xpack.snapshotRestore.policyDetails.includeGlobalStateFalseLabel": "否", "xpack.snapshotRestore.policyDetails.includeGlobalStateLabel": "包括全局状态", "xpack.snapshotRestore.policyDetails.includeGlobalStateTrueLabel": "是", - "xpack.snapshotRestore.policyDetails.indicesCollapseAllLink": "隐藏 {count, plural, one {# 个索引} other {# 个索引}}", "xpack.snapshotRestore.policyDetails.indicesLabel": "索引", - "xpack.snapshotRestore.policyDetails.indicesShowAllLink": "再显示 {count} 个 {count, plural, one {索引} other {索引}}", "xpack.snapshotRestore.policyDetails.inProgressSnapshotLinkText": "“{snapshotName}”正在进行中", "xpack.snapshotRestore.policyDetails.lastFailure.dateLabel": "日期", "xpack.snapshotRestore.policyDetails.lastFailure.detailsAriaLabel": "策略“{name}”的上次失败详情", @@ -11666,7 +11663,6 @@ "xpack.snapshotRestore.policyForm.stepReview.retentionTab.maxCountLabel": "最大计数", "xpack.snapshotRestore.policyForm.stepReview.retentionTab.minCountLabel": "最小计数", "xpack.snapshotRestore.policyForm.stepReview.retentionTab.sectionRetentionTitle": "快照保留", - "xpack.snapshotRestore.policyForm.stepReview.summaryTab.allIndicesValue": "所有索引", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.editStepTooltip": "编辑", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.ignoreUnavailableFalseLabel": "否", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.ignoreUnavailableLabel": "忽略不可用索引", @@ -11674,9 +11670,7 @@ "xpack.snapshotRestore.policyForm.stepReview.summaryTab.includeGlobalStateFalseLabel": "否", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.includeGlobalStateLabel": "包括全局状态", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.includeGlobalStateTrueLabel": "是", - "xpack.snapshotRestore.policyForm.stepReview.summaryTab.indicesCollapseAllLink": "隐藏 {count, plural, one {# 个索引} other {# 个索引}}", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.indicesLabel": "索引", - "xpack.snapshotRestore.policyForm.stepReview.summaryTab.indicesShowAllLink": "再显示 {count} 个 {count, plural, one {索引} other {索引}}", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.nameLabel": "策略名称", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.partialFalseLabel": "否", "xpack.snapshotRestore.policyForm.stepReview.summaryTab.partialLabel": "允许部分分片", @@ -12068,16 +12062,13 @@ "xpack.snapshotRestore.restoreForm.stepLogisticsTitle": "还原详情", "xpack.snapshotRestore.restoreForm.stepReview.jsonTab.jsonAriaLabel": "还原要执行的设置", "xpack.snapshotRestore.restoreForm.stepReview.jsonTabTitle": "JSON", - "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.allIndicesValue": "所有索引", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.editStepTooltip": "缂栬緫", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.ignoreIndexSettingsLabel": "重置", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.includeGlobalStateFalseValue": "否", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.includeGlobalStateLabel": "还原全局状态", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.includeGlobalStateTrueValue": "鏄", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.indexSettingsLabel": "修改", - "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.indicesCollapseAllLink": "隐藏 {count, plural, one {# 个索引} other {# 个索引}}", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.indicesLabel": "索引", - "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.indicesShowAllLink": "再显示 {count} 个 {count, plural, one {索引} other {索引}}", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.noSettingsValue": "无索引设置修改", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.partialFalseValue": "否", "xpack.snapshotRestore.restoreForm.stepReview.summaryTab.partialLabel": "部分还原", @@ -12168,10 +12159,7 @@ "xpack.snapshotRestore.snapshotDetails.itemIncludeGlobalStateLabel": "包括全局状态", "xpack.snapshotRestore.snapshotDetails.itemIncludeGlobalStateNoLabel": "否", "xpack.snapshotRestore.snapshotDetails.itemIncludeGlobalStateYesLabel": "是", - "xpack.snapshotRestore.snapshotDetails.itemIndicesCollapseAllLink": "隐藏 {count, plural, one {# 个索引} other {# 个索引}}", "xpack.snapshotRestore.snapshotDetails.itemIndicesLabel": "索引 ({indicesCount})", - "xpack.snapshotRestore.snapshotDetails.itemIndicesNoneLabel": "-", - "xpack.snapshotRestore.snapshotDetails.itemIndicesShowAllLink": "再显示 {count} 个 {count, plural, one {索引} other {索引}}", "xpack.snapshotRestore.snapshotDetails.itemStartTimeLabel": "开始时间", "xpack.snapshotRestore.snapshotDetails.itemStateLabel": "状态", "xpack.snapshotRestore.snapshotDetails.itemUuidLabel": "UUID",