From 369a4c866eb50e55a77c2d2c212b3c5bb4a2faf5 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 6 Nov 2025 15:29:44 +0800 Subject: [PATCH] fix: Internationalization --- frontend/src/i18n/en.json | 2 +- frontend/src/i18n/ko-KR.json | 4 ++-- frontend/src/i18n/zh-CN.json | 2 +- frontend/src/views/system/user/User.vue | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index 5578ea6d..e4f4254c 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -1,6 +1,5 @@ { "menu": { - "Dashboard1:": "Default password:{msg}", "add_interface_credentials": "Please add interface credentials", "Data Q&A": "Data Q&A", "Data Connections": "Data Sources", @@ -9,6 +8,7 @@ "Details": "Details" }, "prompt": { + "default_password": "Default password:{msg}", "no_prompt_words": "No prompt words", "customize_prompt_words": "Customize prompt words", "ask_sql": "Ask SQL", diff --git a/frontend/src/i18n/ko-KR.json b/frontend/src/i18n/ko-KR.json index 534c054f..f53aa4b5 100644 --- a/frontend/src/i18n/ko-KR.json +++ b/frontend/src/i18n/ko-KR.json @@ -1,6 +1,5 @@ { "menu": { - "Dashboard1:": "기본 비밀번호:{msg}", "add_interface_credentials": "인터페이스 자격 증명을 추가하십시오", "Data Q&A": "스마트 데이터 조회", "Data Connections": "데이터 소스", @@ -9,6 +8,7 @@ "Details": "세부" }, "prompt": { + "default_password:": "기본 비밀번호:{msg}", "no_prompt_words": "프롬프트가 없습니다", "customize_prompt_words": "사용자 정의 프롬프트", "ask_sql": "데이터 조회 SQL", @@ -717,4 +717,4 @@ "input_account": "계정을 입력해 주세요", "redirect_2_auth": "{0} 인증으로 리디렉션 중입니다, {1}초..." } -} +} \ No newline at end of file diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index 124f250a..3a762296 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -1,6 +1,5 @@ { "menu": { - "Dashboard1": "默认密码:{msg}", "add_interface_credentials": "请添加接口凭证", "Data Q&A": "智能问数", "Data Connections": "数据源", @@ -9,6 +8,7 @@ "Details": "详情" }, "prompt": { + "default_password": "默认密码:{msg}", "no_prompt_words": "暂无提示词", "customize_prompt_words": "自定义提示词", "ask_sql": "问数 SQL", diff --git a/frontend/src/views/system/user/User.vue b/frontend/src/views/system/user/User.vue index 08e05856..e8cd524b 100644 --- a/frontend/src/views/system/user/User.vue +++ b/frontend/src/views/system/user/User.vue @@ -243,7 +243,7 @@
- {{ t('menu.Dashboard1', { msg: 'SQLBot@123456' }) }} + {{ t('prompt.default_password', { msg: 'SQLBot@123456' }) }} {{ t('datasource.copy') }}