From cae0a6118f700a0388b40072883956f47afe5df0 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Wed, 17 Jul 2024 17:53:28 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20=E4=BC=98=E5=8C=96=E8=BF=9C=E7=A8=8B?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E8=A7=A3=E7=BB=91=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=20(#5850)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/en.ts | 1 + frontend/src/lang/modules/tw.ts | 1 + frontend/src/lang/modules/zh.ts | 1 + frontend/src/views/database/mysql/remote/delete/index.vue | 2 +- frontend/src/views/database/mysql/remote/index.vue | 2 +- frontend/src/views/database/postgresql/remote/delete/index.vue | 2 +- frontend/src/views/database/postgresql/remote/index.vue | 2 +- frontend/src/views/database/redis/remote/delete/index.vue | 2 +- frontend/src/views/database/redis/remote/index.vue | 2 +- 9 files changed, 9 insertions(+), 6 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 20e24af6d..cbc56dfd8 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -69,6 +69,7 @@ const message = { createNewFolder: 'Create new folder', createNewFile: 'Create new file', helpDoc: 'Help Document', + unbind: 'UnBind', }, search: { timeStart: 'Time start', diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index 837246ff0..f4d7fc92b 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -68,6 +68,7 @@ const message = { createNewFolder: '新建資料夾', createNewFile: '新建檔案', helpDoc: '幫助文档', + unbind: '解綁', }, search: { timeStart: '開始時間', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 0b6f4548c..d892ad793 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -68,6 +68,7 @@ const message = { createNewFolder: '新建文件夹', createNewFile: '新建文件', helpDoc: '帮助文档', + unbind: '解绑', }, search: { timeStart: '开始时间', diff --git a/frontend/src/views/database/mysql/remote/delete/index.vue b/frontend/src/views/database/mysql/remote/delete/index.vue index 992c0617b..a0621ade3 100644 --- a/frontend/src/views/database/mysql/remote/delete/index.vue +++ b/frontend/src/views/database/mysql/remote/delete/index.vue @@ -74,7 +74,7 @@ const submit = async () => { .then(() => { loading.value = false; emit('search'); - MsgSuccess(i18n.global.t('commons.msg.deleteSuccess')); + MsgSuccess(i18n.global.t('commons.msg.operationSuccess')); dialogVisible.value = false; }) .catch(() => { diff --git a/frontend/src/views/database/mysql/remote/index.vue b/frontend/src/views/database/mysql/remote/index.vue index db437f609..efc275000 100644 --- a/frontend/src/views/database/mysql/remote/index.vue +++ b/frontend/src/views/database/mysql/remote/index.vue @@ -163,7 +163,7 @@ const buttons = [ }, }, { - label: i18n.global.t('commons.button.delete'), + label: i18n.global.t('commons.button.unbind'), click: (row: Database.DatabaseInfo) => { onDelete(row); }, diff --git a/frontend/src/views/database/postgresql/remote/delete/index.vue b/frontend/src/views/database/postgresql/remote/delete/index.vue index 5d4721316..fe5276bea 100644 --- a/frontend/src/views/database/postgresql/remote/delete/index.vue +++ b/frontend/src/views/database/postgresql/remote/delete/index.vue @@ -74,7 +74,7 @@ const submit = async () => { .then(() => { loading.value = false; emit('search'); - MsgSuccess(i18n.global.t('commons.msg.deleteSuccess')); + MsgSuccess(i18n.global.t('commons.msg.operationSuccess')); dialogVisible.value = false; }) .catch(() => { diff --git a/frontend/src/views/database/postgresql/remote/index.vue b/frontend/src/views/database/postgresql/remote/index.vue index 531c4dfa4..85f105901 100644 --- a/frontend/src/views/database/postgresql/remote/index.vue +++ b/frontend/src/views/database/postgresql/remote/index.vue @@ -163,7 +163,7 @@ const buttons = [ }, }, { - label: i18n.global.t('commons.button.delete'), + label: i18n.global.t('commons.button.unbind'), click: (row: Database.DatabaseInfo) => { onDelete(row); }, diff --git a/frontend/src/views/database/redis/remote/delete/index.vue b/frontend/src/views/database/redis/remote/delete/index.vue index 992c0617b..a0621ade3 100644 --- a/frontend/src/views/database/redis/remote/delete/index.vue +++ b/frontend/src/views/database/redis/remote/delete/index.vue @@ -74,7 +74,7 @@ const submit = async () => { .then(() => { loading.value = false; emit('search'); - MsgSuccess(i18n.global.t('commons.msg.deleteSuccess')); + MsgSuccess(i18n.global.t('commons.msg.operationSuccess')); dialogVisible.value = false; }) .catch(() => { diff --git a/frontend/src/views/database/redis/remote/index.vue b/frontend/src/views/database/redis/remote/index.vue index 4ca325fde..7a9aa36dc 100644 --- a/frontend/src/views/database/redis/remote/index.vue +++ b/frontend/src/views/database/redis/remote/index.vue @@ -163,7 +163,7 @@ const buttons = [ }, }, { - label: i18n.global.t('commons.button.delete'), + label: i18n.global.t('commons.button.unbind'), click: (row: Database.DatabaseInfo) => { onDelete(row); },