Skip to content

Commit 99f77e8

Browse files
fix: i18n
1 parent bbb570f commit 99f77e8

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

ui/src/locales/lang/en-US/ai-chat.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default {
22
noHistory: 'No History',
33
createChat: 'Create New Chat',
44
history: 'History',
5-
only20history: 'Only showing the last 20 conversations',
5+
only20history: 'Only showing the last 20 chats',
66
question_count: 'Questions',
77
exportRecords: 'Export Chat Records',
88
chatId: 'Chat ID',
@@ -72,7 +72,7 @@ export default {
7272
searchContent: 'Search Content',
7373
searchResult: 'Search Results',
7474
conditionResult: 'Condition Result',
75-
currentChat: 'Current Conversation',
75+
currentChat: 'Current Chat',
7676
answer: 'AI Response',
7777
replyContent: 'Reply Content',
7878
textContent: 'Text Content',

ui/src/locales/lang/en-US/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
save: 'Save',
88
saveSuccess: 'Save successful',
99
delete: 'Delete',
10-
deleteSuccess: 'Successfully deleted',
10+
deleteSuccess: 'Deleted successful',
1111
setting: 'Settings',
1212
settingSuccess: 'Setting successful',
1313
submit: 'Submit',

ui/src/locales/lang/en-US/components.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default {
22
quickCreatePlaceholder: 'Quickly create blank document',
3-
quickCreateName: 'Document Name',
3+
quickCreateName: 'document name',
44
noData: 'No Data',
55
loading: 'Loading',
66
noMore: 'No more!'

ui/src/locales/lang/en-US/views/application.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ export default {
6262
references: ' (References Knowledge)',
6363
placeholder: 'Please enter prompt',
6464
requiredMessage: 'Please enter prompt',
65-
tooltip:'By adjusting the content of the prompt, you can guide the direction of the large model conversation.',
65+
tooltip:'By adjusting the content of the prompt, you can guide the direction of the large model chat.',
6666

6767
noReferencesTooltip:
68-
'By adjusting the content of the prompt, you can guide the direction of the large model conversation. This prompt will be fixed at the beginning of the context. Variables used: {question} is the question posed by the user.',
68+
'By adjusting the content of the prompt, you can guide the direction of the large model chat. This prompt will be fixed at the beginning of the context. Variables used: {question} is the question posed by the user.',
6969
referencesTooltip:
70-
'By adjusting the content of the prompt, you can guide the direction of the large model conversation. This prompt will be fixed at the beginning of the context. Variables used: {data} carries known information from the knowledge; {question} is the question posed by the user.',
70+
'By adjusting the content of the prompt, you can guide the direction of the large model chat. This prompt will be fixed at the beginning of the context. Variables used: {data} carries known information from the knowledge; {question} is the question posed by the user.',
7171
defaultPrompt: `Known information: {data}
7272
Question: {question}
7373
Response requirements:

ui/src/locales/lang/en-US/views/log.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default {
2-
title: 'Conversation Logs',
2+
title: 'Chat Logs',
33
delete: {
44
confirmTitle: 'Confirm deletion of question:',
55
confirmMessage1: 'Deleting this question will cancel the association of',
@@ -12,14 +12,14 @@ export default {
1212
},
1313
table: {
1414
abstract: 'Abstract',
15-
chat_record_count: 'Number of Conversation Questions',
15+
chat_record_count: 'Number of Chat Questions',
1616
feedback: {
1717
label: 'User Feedback',
1818
star: 'Agree',
1919
trample: 'Disagree'
2020
},
2121
mark: 'Improvement Label',
22-
recenTimes: 'Recent Conversation Time'
22+
recenTimes: 'Recent Chat Time'
2323
},
2424
addToDataset: 'Add to Knowledge',
2525
daysText: 'Days ago',

ui/src/locales/lang/en-US/views/template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default {
6060
label: 'Model Type',
6161
placeholder: 'Select a model type',
6262
tooltip1:
63-
'LLM: An inference model for AI conversations in the APP.',
63+
'LLM: An inference model for AI chats in the APP.',
6464
tooltip2:
6565
'Embedding Model: A model for vectorizing document content in the knowledge.',
6666
tooltip3: 'Speech2Text: A model used for speech recognition in the APP.',

ui/src/locales/lang/en-US/views/user.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default {
33
createUser: 'Create User',
44
editUser: 'Edit User',
55
setting: {
6-
updatePwd: 'Update User Password'
6+
updatePwd: 'Change Password'
77
},
88
tip: {
99
professionalMessage:
@@ -38,8 +38,8 @@ export default {
3838
requiredMessage: 'Please enter email'
3939
},
4040
phone: {
41-
label: 'Phone Number',
42-
placeholder: 'Please enter phone number'
41+
label: 'Phone',
42+
placeholder: 'Please enter phone'
4343
},
4444
password: {
4545
label: 'Login Password',

ui/src/router/modules/setting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const settingRouter = {
6060
meta: {
6161
icon: 'app-setting',
6262
iconActive: 'app-setting-active',
63-
title: t('views.system.title'),
63+
title: t('common.setting'),
6464
activeMenu: '/setting',
6565
parentPath: '/setting',
6666
parentName: 'setting',

ui/src/views/document/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
<el-input
4040
v-model="filterText"
41-
:placeholder="$t('views.dataset.searchBar.placeholder')"
41+
:placeholder="$t('views.document.searchBar.placeholder')"
4242
prefix-icon="Search"
4343
class="w-240"
4444
@change="getList"

0 commit comments

Comments
 (0)