From cf9a9e8a6d52ac919599c6e4a77e60ea9d233202 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Wed, 26 Jul 2023 16:00:19 +0800 Subject: [PATCH] feat: refine restore completed tips i18n (#4301) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area console /kind improvement /milestone 2.8.x #### What this PR does / why we need it: 完善备份恢复界面的 i18n。 #### Does this PR introduce a user-facing change? ```release-note None ``` --- console/src/locales/en.yaml | 1 + console/src/locales/zh-CN.yaml | 1 + console/src/locales/zh-TW.yaml | 1 + console/src/modules/system/backup/tabs/Restore.vue | 4 +++- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/console/src/locales/en.yaml b/console/src/locales/en.yaml index b550e8008..a09e0320a 100644 --- a/console/src/locales/en.yaml +++ b/console/src/locales/en.yaml @@ -1013,6 +1013,7 @@ core: first: 1. The restore process may last for a long time, please do not refresh the page during this period. second: 2. During the restore process, although the existing data will not be cleaned up, if there is a conflict, the data will be overwritten. third: 3. After the restore is completed, you will be prompted to stop running Halo, and you may need to run it manually after stopping. + complete: Restore completed, waiting for restart... start: Start restore exception: not_found: diff --git a/console/src/locales/zh-CN.yaml b/console/src/locales/zh-CN.yaml index 303cfbf67..88cbfcf9b 100644 --- a/console/src/locales/zh-CN.yaml +++ b/console/src/locales/zh-CN.yaml @@ -1013,6 +1013,7 @@ core: first: 1. 恢复过程可能会持续较长时间,期间请勿刷新页面。 second: 2. 在恢复的过程中,虽然已有的数据不会被清理掉,但如果有冲突的数据将被覆盖。 third: 3. 恢复完成之后会提示停止运行 Halo,停止之后可能需要手动运行。 + complete: 恢复完成,等待重启... start: 开始恢复 exception: not_found: diff --git a/console/src/locales/zh-TW.yaml b/console/src/locales/zh-TW.yaml index 0254a9cfa..0c4413676 100644 --- a/console/src/locales/zh-TW.yaml +++ b/console/src/locales/zh-TW.yaml @@ -1013,6 +1013,7 @@ core: first: 1. 還原過程可能需要較長時間,期間請勿重新整理頁面。 second: 2. 在還原過程中,雖然已有的資料不會被清除,但若有衝突的資料將被覆蓋。 third: 3. 還原完成後會提示停止運行 Halo,停止後可能需要手動啟動。 + complete: 恢復完成,等待重啟... start: 開始還原 exception: not_found: diff --git a/console/src/modules/system/backup/tabs/Restore.vue b/console/src/modules/system/backup/tabs/Restore.vue index 0ab8ff924..77d02cd3a 100644 --- a/console/src/modules/system/backup/tabs/Restore.vue +++ b/console/src/modules/system/backup/tabs/Restore.vue @@ -87,6 +87,8 @@ useQuery({
-
恢复完成,等待重启...
+
+ {{ $t("core.backup.restore.tips.complete") }} +