Skip to content

Commit 2e7ac33

Browse files
committed
fix(API Key): The message indicating that the API Key was deleted is incorrect.
1 parent 8260926 commit 2e7ac33

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

frontend/src/components/layout/Apikey.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const copyCode = (row: any, key: any = 'secret_key') => {
6363
})
6464
}
6565
const deleteHandler = (row: any) => {
66-
ElMessageBox.confirm(t('user.del_user', { msg: row.name }), {
66+
ElMessageBox.confirm(t('user.del_key', { msg: row.access_key }), {
6767
confirmButtonType: 'danger',
6868
confirmButtonText: t('dashboard.delete'),
6969
cancelButtonText: t('common.cancel'),

frontend/src/i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@
456456
"enabled": "Enabled",
457457
"edit_user": "Edit User",
458458
"del_user": "Do you want to delete user: {msg}?",
459+
"del_key": "Do you want to delete key: {msg}?",
459460
"please_first": "Please first",
460461
"download_the_template": "download the template",
461462
"required_and_upload": ", fill in as required and upload",

frontend/src/i18n/ko-KR.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@
456456
"enabled": "활성화됨",
457457
"edit_user": "사용자 편집",
458458
"del_user": "사용자를 삭제하시겠습니까: {msg}?",
459+
"del_key": "키를 삭제하시겠습니까?: {msg}?",
459460
"please_first": "먼저",
460461
"download_the_template": "템플릿 다운로드",
461462
"required_and_upload": "하여 요구 사항에 따라 작성한 후 업로드하십시오",

frontend/src/i18n/zh-CN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@
457457
"enabled": "已启用",
458458
"edit_user": "编辑用户",
459459
"del_user": "是否删除用户: {msg}?",
460+
"del_key": "是否删除key: {msg}?",
460461
"please_first": "请先",
461462
"download_the_template": "下载模板",
462463
"required_and_upload": ",按要求填写后上传",

0 commit comments

Comments
 (0)