From 2e7ac336e52523d24c5fe3ba4e4fe963d1117d12 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 31 Dec 2025 10:38:37 +0800 Subject: [PATCH] fix(API Key): The message indicating that the API Key was deleted is incorrect. --- frontend/src/components/layout/Apikey.vue | 2 +- frontend/src/i18n/en.json | 1 + frontend/src/i18n/ko-KR.json | 1 + frontend/src/i18n/zh-CN.json | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/layout/Apikey.vue b/frontend/src/components/layout/Apikey.vue index 99e51761..d55e37a1 100644 --- a/frontend/src/components/layout/Apikey.vue +++ b/frontend/src/components/layout/Apikey.vue @@ -63,7 +63,7 @@ const copyCode = (row: any, key: any = 'secret_key') => { }) } const deleteHandler = (row: any) => { - ElMessageBox.confirm(t('user.del_user', { msg: row.name }), { + ElMessageBox.confirm(t('user.del_key', { msg: row.access_key }), { confirmButtonType: 'danger', confirmButtonText: t('dashboard.delete'), cancelButtonText: t('common.cancel'), diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index 2b6dcf3e..b112ff3b 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -456,6 +456,7 @@ "enabled": "Enabled", "edit_user": "Edit User", "del_user": "Do you want to delete user: {msg}?", + "del_key": "Do you want to delete key: {msg}?", "please_first": "Please first", "download_the_template": "download the template", "required_and_upload": ", fill in as required and upload", diff --git a/frontend/src/i18n/ko-KR.json b/frontend/src/i18n/ko-KR.json index 67761460..13ca8e3e 100644 --- a/frontend/src/i18n/ko-KR.json +++ b/frontend/src/i18n/ko-KR.json @@ -456,6 +456,7 @@ "enabled": "활성화됨", "edit_user": "사용자 편집", "del_user": "사용자를 삭제하시겠습니까: {msg}?", + "del_key": "키를 삭제하시겠습니까?: {msg}?", "please_first": "먼저", "download_the_template": "템플릿 다운로드", "required_and_upload": "하여 요구 사항에 따라 작성한 후 업로드하십시오", diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index 1f652bf1..2780ebb9 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -457,6 +457,7 @@ "enabled": "已启用", "edit_user": "编辑用户", "del_user": "是否删除用户: {msg}?", + "del_key": "是否删除key: {msg}?", "please_first": "请先", "download_the_template": "下载模板", "required_and_upload": ",按要求填写后上传",