diff --git a/ui/src/locales/lang/en-US/components.ts b/ui/src/locales/lang/en-US/components.ts index 2bd4d602b..f7d0b697e 100644 --- a/ui/src/locales/lang/en-US/components.ts +++ b/ui/src/locales/lang/en-US/components.ts @@ -1,6 +1,6 @@ export default { quickCreatePlaceholder: 'Quickly create blank document', - quickCreateName: 'document name', + quickCreateName: 'File Name', noData: 'No Data', loading: 'Loading', noMore: 'No more!', diff --git a/ui/src/locales/lang/en-US/views/application-workflow.ts b/ui/src/locales/lang/en-US/views/application-workflow.ts index 4048987a4..11e7e2728 100644 --- a/ui/src/locales/lang/en-US/views/application-workflow.ts +++ b/ui/src/locales/lang/en-US/views/application-workflow.ts @@ -49,8 +49,8 @@ export default { variable: { global: 'Global Variable', Referencing: 'Reference Variable', - ReferencingRequired: 'Reference Variable Required', - ReferencingError: 'Reference Variable Error', + ReferencingRequired: 'reference variable required', + ReferencingError: 'reference variable error', NoReferencing: 'Non-existent Reference Variable', fieldMessage: 'Please select a variable' }, @@ -167,7 +167,7 @@ export default { max_paragraph_char_number: 'Maximum number of words to quote', reranker_model: { label: 'Rerank', - placeholder: 'Please select a Rerank' + placeholder: 'Please select a rerank' } }, formNode: { diff --git a/ui/src/locales/lang/en-US/views/document.ts b/ui/src/locales/lang/en-US/views/document.ts index e1c4c6768..9f498f0c3 100644 --- a/ui/src/locales/lang/en-US/views/document.ts +++ b/ui/src/locales/lang/en-US/views/document.ts @@ -28,7 +28,7 @@ export default { uploadMessage: 'Drag and drop files here to upload or', formats: 'Supported formats:', requiredMessage: 'Please upload a file', - errorMessage1: 'Please upload a file', + errorMessage1: 'The file size exceeds 100mb', errorMessage2: 'Unsupported file format', errorMessage3: 'File cannot be empty', errorMessage4: 'Up to 50 files can be uploaded at once', diff --git a/ui/src/locales/lang/en-US/views/problem.ts b/ui/src/locales/lang/en-US/views/problem.ts index f3c890de6..5af53b4ae 100644 --- a/ui/src/locales/lang/en-US/views/problem.ts +++ b/ui/src/locales/lang/en-US/views/problem.ts @@ -3,7 +3,7 @@ export default { createProblem: 'Create Question', detailProblem: 'Question Details', quickCreateProblem: 'Quick Create Question', - quickCreateName: 'question', + quickCreateName: 'Question', tip: { placeholder: 'Enter the question, support multiple entries, one per line.', errorMessage: 'Question cannot be empty!', diff --git a/ui/src/locales/lang/zh-CN/views/document.ts b/ui/src/locales/lang/zh-CN/views/document.ts index 3e6cb2dce..0b1ba59bb 100644 --- a/ui/src/locales/lang/zh-CN/views/document.ts +++ b/ui/src/locales/lang/zh-CN/views/document.ts @@ -28,7 +28,7 @@ export default { uploadMessage: '拖拽文件至此上传或', formats: '支持格式:', requiredMessage: '请上传文件', - errorMessage1: '请上传文件', + errorMessage1: '文件大小超过 100MB', errorMessage2: '文件格式不支持', errorMessage3: '文件不能为空', errorMessage4: '每次最多上传50个文件', diff --git a/ui/src/locales/lang/zh-Hant/views/document.ts b/ui/src/locales/lang/zh-Hant/views/document.ts index 870ada8a2..e1b0c2e2e 100644 --- a/ui/src/locales/lang/zh-Hant/views/document.ts +++ b/ui/src/locales/lang/zh-Hant/views/document.ts @@ -29,7 +29,7 @@ export default { uploadMessage: '拖拽文件至此上傳或', formats: '支持格式:', requiredMessage: '請上傳文件', - errorMessage1: '請上傳文件', + errorMessage1: '文件大小超過 100MB', errorMessage2: '文件格式不支持', errorMessage3: '文件不能为空', errorMessage4: '每次最多上傳50個文件', diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue index f0a5a6208..847712660 100644 --- a/ui/src/views/application-workflow/index.vue +++ b/ui/src/views/application-workflow/index.vue @@ -268,10 +268,10 @@ async function publicHandle() { const node = res.node const err_message = res.errMessage if (typeof err_message == 'string') { - MsgError(res.node.properties?.stepName + `${t('views.applicationWorkflow.node')} ` + err_message) + MsgError(res.node.properties?.stepName + ` ${t('views.applicationWorkflow.node')},` + err_message) } else { const keys = Object.keys(err_message) - MsgError(node.properties?.stepName + `${t('views.applicationWorkflow.node')} ` + err_message[keys[0]]?.[0]?.message) + MsgError(node.properties?.stepName + ` ${t('views.applicationWorkflow.node')},` + err_message[keys[0]]?.[0]?.message) } }) } @@ -300,10 +300,10 @@ const clickShowDebug = () => { const node = res.node const err_message = res.errMessage if (typeof err_message == 'string') { - MsgError(res.node.properties?.stepName + `${t('views.applicationWorkflow.node')} ` + err_message) + MsgError(res.node.properties?.stepName + ` ${t('views.applicationWorkflow.node')},` + err_message) } else { const keys = Object.keys(err_message) - MsgError(node.properties?.stepName + `${t('views.applicationWorkflow.node')} ` + err_message[keys[0]]?.[0]?.message) + MsgError(node.properties?.stepName + ` ${t('views.applicationWorkflow.node')},` + err_message[keys[0]]?.[0]?.message) } }) } diff --git a/ui/src/views/authentication/component/LDAP.vue b/ui/src/views/authentication/component/LDAP.vue index 9c899376d..1b0c23b0d 100644 --- a/ui/src/views/authentication/component/LDAP.vue +++ b/ui/src/views/authentication/component/LDAP.vue @@ -28,7 +28,7 @@ />
{{ $t('views.log.table.feedback.label') }} - +