Skip to content

Commit 7779dbe

Browse files
fix: i18n
1 parent 5009a28 commit 7779dbe

File tree

14 files changed

+79
-79
lines changed

14 files changed

+79
-79
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default {
4040
noData: 'No data',
4141
result: 'Result',
4242
fileUpload: {
43-
document: 'Documentation',
43+
document: 'Documents',
4444
image: 'Image',
4545
audio: 'Audio',
4646
video: 'Video'

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ export default {
108108
defaultPrompt: 'Known Information'
109109
},
110110
searchDatasetNode: {
111-
label: 'Knowledge Base Search',
112-
text: 'Associate knowledge base and find relevant segments',
111+
label: 'Knowledge Search',
112+
text: 'Associate knowledge and find relevant segments',
113113
paragraph_list: 'List of retrieved paragraphs',
114114
is_hit_handling_method_list: 'List of segments that meet direct response criteria',
115115
result: 'Search Result',
116116
directly_return: 'Content of segments that meet direct response criteria',
117-
selectDatasetText: 'Associated knowledge base displayed here',
117+
selectDatasetText: 'Associated knowledge displayed here',
118118
searchParam: 'Search Parameters',
119119
searchQuestion: {
120120
label: 'Search Question',
@@ -124,7 +124,7 @@ export default {
124124
},
125125
questionNode: {
126126
label: 'Question Optimization',
127-
text: 'Optimize and improve the current question based on historical chat records to better match knowledge base segments',
127+
text: 'Optimize and improve the current question based on historical chat records to better match knowledge segments',
128128
result: 'Optimized Question Result',
129129
defaultPrompt: `Optimize and improve the user's question based on context: {{start.question}}
130130
Please output an optimized question.`,
@@ -155,7 +155,7 @@ Please output an optimized question.`,
155155
},
156156
rerankerNode: {
157157
label: 'Multi-path Recall',
158-
text: 'Use re-ranking model to perform secondary recall on retrieval results from multiple knowledge bases',
158+
text: 'Use Rerank to perform secondary recall on retrieval results from multiple knowledge',
159159
result_list: 'Re-ranked Results List',
160160
result: 'Re-ranking Result',
161161
rerankerContent: {
@@ -166,8 +166,8 @@ Please output an optimized question.`,
166166
ScoreTooltip: 'The higher the Score, the stronger the relevance.',
167167
max_paragraph_char_number: 'Maximum number of characters to quote',
168168
reranker_model: {
169-
label: 'Re-ranking Model',
170-
placeholder: 'Please select a re-ranking model'
169+
label: 'Rerank',
170+
placeholder: 'Please select a Rerank'
171171
}
172172
},
173173
formNode: {
@@ -194,8 +194,8 @@ Please output an optimized question.`,
194194
text: 'Identify objects, scenes, etc., in images to answer user questions',
195195
answer: 'AI Answer Content',
196196
model: {
197-
label: 'Image Understanding Model',
198-
requiredMessage: 'Please select an image understanding model'
197+
label: 'Vision Model',
198+
requiredMessage: 'Please select a Vision Model'
199199
},
200200
image: {
201201
label: 'Select Image',
@@ -221,7 +221,7 @@ Please output an optimized question.`,
221221
}
222222
},
223223
speechToTextNode: {
224-
label: 'Speech-to-Text',
224+
label: 'Speech2Text',
225225
text: 'Convert audio to text through speech recognition model',
226226
stt_model: {
227227
label: 'Speech Recognition Model'
@@ -232,7 +232,7 @@ Please output an optimized question.`,
232232
}
233233
},
234234
textToSpeechNode: {
235-
label: 'Text-to-Speech',
235+
label: 'TTS',
236236
text: 'Convert text to audio through speech synthesis model',
237237
tts_model: {
238238
label: 'Speech Synthesis Model'

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default {
6565
noReferencesTooltip:
6666
'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.',
6767
referencesTooltip:
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: {data} carries known information from the knowledge base; {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 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.',
6969
defaultPrompt: `Known information: {data}
7070
Question: {question}
7171
Response requirements:
@@ -76,16 +76,16 @@ export default {
7676
label: 'Historical chat records'
7777
},
7878
relatedKnowledge: {
79-
label: 'Related Knowledge Base',
80-
placeholder: 'Associated knowledge bases are displayed here'
79+
label: 'Related Knowledge',
80+
placeholder: 'Associated knowledge are displayed here'
8181
},
8282
multipleRoundsDialogue: 'Multiple Rounds Dialogue',
8383

8484
prologue: 'Prologue',
8585
defaultPrologue:
86-
'Hello, I am XXX Assistant. You can ask me questions about using XXX.\n- What are the main features of MaxKB?\n- Which large language models does MaxKB support?\n- What document types does MaxKB support?',
86+
'Hello, I am XXX Assistant. You can ask me questions about using XXX.\n- What are the main features of MaxKB?\n- Which LLM does MaxKB support?\n- What document types does MaxKB support?',
8787
problemOptimization: {
88-
label: 'Problem Optimization',
88+
label: 'Questions Optimization',
8989
tooltip:
9090
'Optimize the current question based on historical chat to better match knowledge points.'
9191
},
@@ -111,29 +111,29 @@ export default {
111111
addModel: 'Add Model'
112112
},
113113
dialog: {
114-
addDataset: 'Add Related Knowledge Base',
115-
addDatasetPlaceholder: 'The selected knowledge bases must use the same embedding model',
114+
addDataset: 'Add Related Knowledge',
115+
addDatasetPlaceholder: 'The selected knowledge must use the same embedding model',
116116
selected: 'Selected',
117117
countDataset: 'Knowledge',
118118

119119
selectSearchMode: 'Search Mode',
120120
vectorSearch: 'Vector Search',
121121
vectorSearchTooltip:
122-
'Vector search is a retrieval method based on vector distance calculations, suitable for large data volumes in the knowledge base.',
122+
'Vector search is a retrieval method based on vector distance calculations, suitable for large data volumes in the knowledge.',
123123
fullTextSearch: 'Full-text Search',
124124
fullTextSearchTooltip:
125-
'Full-text search is a retrieval method based on text similarity, suitable for small data volumes in the knowledge base.',
125+
'Full-text search is a retrieval method based on text similarity, suitable for small data volumes in the knowledge.',
126126
hybridSearch: 'Hybrid Search',
127127
hybridSearchTooltip:
128-
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge base.',
128+
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge.',
129129
similarityThreshold: 'Similarity Threshold',
130130
topReferences: 'Top N References',
131131
maxCharacters: 'Maximum Characters per Reference',
132-
noReferencesAction: 'When there are no knowledge base references',
132+
noReferencesAction: 'When there are no knowledge references',
133133
continueQuestioning: 'Continue Questioning AI Model',
134134
provideAnswer: 'Provide a Specific Answer',
135135
designated_answer:
136-
'Hello, I am XXX Assistant. My knowledge base only contains information related to XXX products. Please rephrase your question.',
136+
'Hello, I am XXX Assistant. My knowledge only contains information related to XXX products. Please rephrase your question.',
137137
defaultPrompt1:
138138
"The content inside the parentheses () represents the user's question. Based on the context, please speculate and complete the user's question ({question}). The requirement is to output a completed question and place it",
139139
defaultPrompt2: 'tag'
@@ -200,7 +200,7 @@ export default {
200200
copyUrl: 'Copy the link and fill it in'
201201
},
202202
hitTest: {
203-
title: 'Hit testing',
203+
title: 'Retrieval Test',
204204
text: 'Ensure effective response by matching paragraphs to user inquiries.',
205205
emptyMessage1: 'The matching paragraph is displayed here',
206206
emptyMessage2: 'No matching sections found'

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,39 @@ export default {
1313
},
1414
tip: {
1515
professionalMessage:
16-
'The community edition supports up to 50 knowledge bases. For more knowledge bases, please upgrade to the professional edition.',
16+
'The community edition supports up to 50 knowledge. For more knowledge, please upgrade to the professional edition.',
1717
syncSuccess: 'Sync task sent successfully',
1818
updateModeMessage:
19-
'After modifying the knowledge base vector model, you need to vectorize the knowledge base. Do you want to continue saving?'
19+
'After modifying the knowledge vector model, you need to vectorize the knowledge. Do you want to continue saving?'
2020
},
2121
delete: {
22-
confirmTitle: 'Confirm Deletion of Knowledge Base:',
23-
confirmMessage1: 'This knowledge base is associated with',
24-
confirmMessage2: 'applications. Deleting it will be irreversible, please proceed with caution.'
22+
confirmTitle: 'Confirm Deletion of Knowledge:',
23+
confirmMessage1: 'This knowledge is associated with',
24+
confirmMessage2: 'APP. Deleting it will be irreversible, please proceed with caution.'
2525
},
2626
datasetForm: {
2727
title: {
2828
info: 'Basic Information'
2929
},
3030
form: {
3131
datasetName: {
32-
label: 'Knowledge Base Name',
33-
placeholder: 'Please enter the knowledge base name',
34-
requiredMessage: 'Please enter the knowledge base name'
32+
label: 'Knowledge Name',
33+
placeholder: 'Please enter the knowledge name',
34+
requiredMessage: 'Please enter the knowledge name'
3535
},
3636
datasetDescription: {
37-
label: 'Knowledge Base Description',
37+
label: 'Knowledge Description',
3838
placeholder:
39-
'Describe the content of the knowledge base. A detailed description will help AI understand the content better, improving the accuracy of content retrieval and hit rate.',
40-
requiredMessage: 'Please enter the knowledge base description'
39+
'Describe the content of the knowledge. A detailed description will help AI understand the content better, improving the accuracy of content retrieval and hit rate.',
40+
requiredMessage: 'Please enter the knowledge description'
4141
},
4242
EmbeddingModel: {
4343
label: 'Embedding Model',
4444
placeholder: 'Please select a Embedding Model',
4545
requiredMessage: 'Please enter the Embedding model'
4646
},
4747
datasetType: {
48-
label: 'Knowledge Base Type',
48+
label: 'Knowledge Type',
4949
generalInfo: 'Upload local files or manually enter',
5050
webInfo: 'Sync text data from a Web site'
5151
},

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
placeholder: 'Search by Document Name'
99
},
1010
setting: {
11-
migration: 'Migration',
11+
migration: 'Move',
1212
cancelGenerateQuestion: 'Cancel Generating Questions',
1313
cancelVectorization: 'Cancel Vectorization',
1414
cancelGenerate: 'Cancel Generation'
@@ -20,7 +20,7 @@ export default {
2020
vectorizationSuccess: 'Batch vectorization successful',
2121
nameMessage: 'File name cannot be empty!',
2222
importMessage: 'Import successful',
23-
migrationSuccess: 'Migration successful'
23+
migrationSuccess: 'Move successful'
2424
},
2525
upload: {
2626
selectFile: 'Select File',

ui/src/locales/lang/en-US/views/function-lib.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ export default {
1515
delete: {
1616
confirmTitle: 'Confirm Deletion of Function:',
1717
confirmMessage:
18-
'Deleting this function will cause errors in applications that reference it when they are queried. Please proceed with caution.'
18+
'Deleting this function will cause errors in APP that reference it when they are queried. Please proceed with caution.'
1919
},
2020
disabled: {
2121
confirmTitle: 'Confirm Disable Function:',
2222
confirmMessage:
23-
'Disabling this function will cause errors in applications that reference it when they are queried. Please proceed with caution.'
23+
'Disabling this function will cause errors in APP that reference it when they are queried. Please proceed with caution.'
2424
},
2525
functionForm: {
2626
title: {

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
export default {
22
title: 'Conversation Logs',
33
delete: {
4-
confirmTitle: 'Confirm Deletion of Problem:',
5-
confirmMessage1: 'Deleting this problem will cancel the association of',
4+
confirmTitle: 'Confirm Deletion of Question:',
5+
confirmMessage1: 'Deleting this Question will cancel the association of',
66
confirmMessage2: 'paragraphs. Please proceed with caution.'
77
},
88
buttons: {
@@ -21,10 +21,10 @@ export default {
2121
mark: 'Improvement Label',
2222
recenTimes: 'Recent Conversation Time'
2323
},
24-
addToDataset: 'Add to Knowledge Base',
24+
addToDataset: 'Add to Knowledge',
2525
daysText: 'Days ago',
26-
selectDataset: 'Select Knowledge Base',
27-
selectDatasetPlaceholder: 'Please select a knowledge base',
26+
selectDataset: 'Select Knowledge',
27+
selectDatasetPlaceholder: 'Please select a knowledge',
2828
saveToDocument: 'Save to Document',
2929
documentPlaceholder: 'Please select a document',
3030
editContent: 'Edit Content',

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
export default {
2-
title: 'Problem',
3-
createProblem: 'Create Problem',
4-
detailProblem: 'Problem Details',
5-
quickCreateProblem: 'Quick Create Problem',
2+
title: 'Questions',
3+
createProblem: 'Create Question',
4+
detailProblem: 'Question Details',
5+
quickCreateProblem: 'Quick Create Question',
66
tip: {
7-
placeholder: 'Enter the problem, support multiple entries, one per line.',
8-
errorMessage: 'Problem cannot be empty!',
9-
requiredMessage: 'Please enter a problem',
7+
placeholder: 'Enter the question, support multiple entries, one per line.',
8+
errorMessage: 'Question cannot be empty!',
9+
requiredMessage: 'Please enter a question',
1010
relatedSuccess: 'Batch association of paragraphs successful'
1111
},
1212

@@ -22,8 +22,8 @@ export default {
2222
updateTime: 'Update Time'
2323
},
2424
delete: {
25-
confirmTitle: 'Confirm Deletion of Problem:',
26-
confirmMessage1: 'Deleting this problem will cancel the association of',
25+
confirmTitle: 'Confirm Deletion of question:',
26+
confirmMessage1: 'Deleting this question will cancel the association of',
2727
confirmMessage2: 'paragraphs. Please proceed with caution.'
2828
},
2929
relateParagraph: {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default {
117117
websiteSlogan: 'Welcome Message',
118118
websiteSloganPlaceholder: 'Please enter the welcome message',
119119
websiteSloganTip: 'The welcome message below the product logo',
120-
defaultSlogan: 'Welcome to MaxKB Intelligent Knowledge Base Q&A System',
120+
defaultSlogan: 'Welcome to MaxKB Intelligent Knowledge Q&A System',
121121
defaultTip: 'Default is the MaxKB platform interface, supports custom settings',
122122
platformSetting: 'Platform Settings',
123123
showUserManual: 'Show User Manual',
@@ -130,7 +130,7 @@ export default {
130130
saveSuccess: 'Appearance settings successfully applied'
131131
},
132132
email: {
133-
title: 'Email Setting',
133+
title: 'Mail Setting',
134134
smtpHost: 'SMTP Host',
135135
smtpHostPlaceholder: 'Please enter SMTP Host',
136136
smtpPort: 'SMTP Port',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212
button: 'Remove',
1313
confirmTitle: 'Confirm Removal of Member:',
1414
confirmMessage:
15-
'Removing the member will revoke their access to knowledge bases and applications.'
15+
'Removing the member will revoke their access to knowledge and APP.'
1616
},
1717
setting: {
1818
management: 'Manage',

0 commit comments

Comments
 (0)