mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: i18n
This commit is contained in:
parent
37ebe3e68f
commit
45fe93d2b2
|
|
@ -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!',
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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!',
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export default {
|
|||
uploadMessage: '拖拽文件至此上传或',
|
||||
formats: '支持格式:',
|
||||
requiredMessage: '请上传文件',
|
||||
errorMessage1: '请上传文件',
|
||||
errorMessage1: '文件大小超过 100MB',
|
||||
errorMessage2: '文件格式不支持',
|
||||
errorMessage3: '文件不能为空',
|
||||
errorMessage4: '每次最多上传50个文件',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ export default {
|
|||
uploadMessage: '拖拽文件至此上傳或',
|
||||
formats: '支持格式:',
|
||||
requiredMessage: '請上傳文件',
|
||||
errorMessage1: '請上傳文件',
|
||||
errorMessage1: '文件大小超過 100MB',
|
||||
errorMessage2: '文件格式不支持',
|
||||
errorMessage3: '文件不能为空',
|
||||
errorMessage4: '每次最多上傳50個文件',
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
:label="$t('views.system.authentication.ldap.password')"
|
||||
:label="$t('views.system.authentication.password')"
|
||||
prop="config_data.password"
|
||||
>
|
||||
<el-input
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
<template #header>
|
||||
<div>
|
||||
<span>{{ $t('views.log.table.feedback.label') }}</span>
|
||||
<el-popover :width="190" trigger="click" :visible="popoverVisible">
|
||||
<el-popover :width="200" trigger="click" :visible="popoverVisible">
|
||||
<template #reference>
|
||||
<el-button
|
||||
style="margin-top: -2px"
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
:step="1"
|
||||
:value-on-clear="0"
|
||||
controls-position="right"
|
||||
style="width: 100px"
|
||||
style="width: 80px"
|
||||
size="small"
|
||||
step-strictly
|
||||
/>
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
:step="1"
|
||||
:value-on-clear="0"
|
||||
controls-position="right"
|
||||
style="width: 100px"
|
||||
style="width: 80px"
|
||||
size="small"
|
||||
step-strictly
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -156,8 +156,8 @@ function redirectAuth(authType: string) {
|
|||
if (!res.data) {
|
||||
return
|
||||
}
|
||||
MsgConfirm(t('login.jump_tip'), '', {
|
||||
confirmButtonText: t('login.jump'),
|
||||
MsgConfirm(t('views.login.jump_tip'), '', {
|
||||
confirmButtonText: t('views.login.jump'),
|
||||
cancelButtonText: t('common.cancel'),
|
||||
confirmButtonClass: ''
|
||||
})
|
||||
|
|
|
|||
|
|
@ -13,11 +13,16 @@
|
|||
<login-layout style="height: 530px">
|
||||
<LoginContainer :subTitle="data.slogan" class="login-container">
|
||||
<div class="mask"></div>
|
||||
<h2 class="mb-24">{{ '普通登录' }}</h2>
|
||||
<h2 class="mb-24">{{ $t('views.login.title') }}</h2>
|
||||
<el-form class="login-form">
|
||||
<div class="mb-24">
|
||||
<el-form-item>
|
||||
<el-input size="large" class="input-item" :placeholder="$t('views.user.userForm.form.username.placeholder')"> </el-input>
|
||||
<el-input
|
||||
size="large"
|
||||
class="input-item"
|
||||
:placeholder="$t('views.user.userForm.form.username.placeholder')"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
<div class="mb-24">
|
||||
|
|
|
|||
Loading…
Reference in New Issue