Skip to content

Commit 0ba2655

Browse files
committed
fix: Internationalization
1 parent 5d21e91 commit 0ba2655

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

frontend/src/i18n/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"menu": {
3-
"Dashboard1:": "Default password:{msg}",
43
"add_interface_credentials": "Please add interface credentials",
54
"Data Q&A": "Data Q&A",
65
"Data Connections": "Data Sources",
@@ -9,6 +8,7 @@
98
"Details": "Details"
109
},
1110
"prompt": {
11+
"default_password": "Default password:{msg}",
1212
"no_prompt_words": "No prompt words",
1313
"customize_prompt_words": "Customize prompt words",
1414
"ask_sql": "Ask SQL",

frontend/src/i18n/ko-KR.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"menu": {
3-
"Dashboard1:": "기본 비밀번호:{msg}",
43
"add_interface_credentials": "인터페이스 자격 증명을 추가하십시오",
54
"Data Q&A": "스마트 데이터 조회",
65
"Data Connections": "데이터 소스",
@@ -9,6 +8,7 @@
98
"Details": "세부"
109
},
1110
"prompt": {
11+
"default_password:": "기본 비밀번호:{msg}",
1212
"no_prompt_words": "프롬프트가 없습니다",
1313
"customize_prompt_words": "사용자 정의 프롬프트",
1414
"ask_sql": "데이터 조회 SQL",
@@ -717,4 +717,4 @@
717717
"input_account": "계정을 입력해 주세요",
718718
"redirect_2_auth": "{0} 인증으로 리디렉션 중입니다, {1}초..."
719719
}
720-
}
720+
}

frontend/src/i18n/zh-CN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"menu": {
3-
"Dashboard1": "默认密码:{msg}",
43
"add_interface_credentials": "请添加接口凭证",
54
"Data Q&A": "智能问数",
65
"Data Connections": "数据源",
@@ -9,6 +8,7 @@
98
"Details": "详情"
109
},
1110
"prompt": {
11+
"default_password": "默认密码:{msg}",
1212
"no_prompt_words": "暂无提示词",
1313
"customize_prompt_words": "自定义提示词",
1414
"ask_sql": "问数 SQL",

frontend/src/views/system/user/User.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
</el-icon>
244244
</span>
245245
<div class="down-template-content" style="align-items: center">
246-
<span>{{ t('menu.Dashboard1', { msg: 'SQLBot@123456' }) }}</span>
246+
<span>{{ t('prompt.default_password', { msg: 'SQLBot@123456' }) }}</span>
247247
<el-button style="margin-left: 4px" size="small" text @click="copyPassword">{{
248248
t('datasource.copy')
249249
}}</el-button>

0 commit comments

Comments
 (0)