Fixed an issue where refreshing the login page caused the language settings to become invalid. #249 (#250)

### What problem does this PR solve?

Fixed an issue where refreshing the login page caused the language
settings to become invalid.

Issue link: #249

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-04-08 10:41:03 +08:00
committed by GitHub
parent c829799474
commit d0a1ffe6e2
8 changed files with 26 additions and 22 deletions

View File

@ -129,6 +129,7 @@ export default {
uploadTitle: 'Click or drag file to this area to upload',
uploadDescription:
'Support for a single or bulk upload. Strictly prohibited from uploading company data or other banned files.',
chunk: 'Chunk',
},
knowledgeConfiguration: {
titleDescription:
@ -256,6 +257,7 @@ export default {
chunkMessage: 'Please input value!',
},
chat: {
createAssistant: 'Create an Assistant',
assistantSetting: 'Assistant Setting',
promptEngine: 'Prompt Engine',
modelSetting: 'Model Setting',
@ -383,7 +385,7 @@ export default {
img2txtModel: 'Img2txt model',
img2txtModelTip:
'The default multi-module model all the newly created knowledgebase will use. It can describe a picture or video.',
sequence2txtModel: 'Img2txt model',
sequence2txtModel: 'Sequence2txt model',
sequence2txtModelTip:
'The default ASR model all the newly created knowledgebase will use. Use this model to translate voices to corresponding text.',
workspace: 'Workspace',

View File

@ -71,7 +71,7 @@ export default {
searchFiles: '搜索文件',
localFiles: '本地文件',
emptyFiles: '新建空文件',
chunkNumber: '块数',
chunkNumber: '块数',
uploadDate: '上传日期',
chunkMethod: '解析方法',
enabled: '启用',
@ -94,7 +94,7 @@ export default {
testTextPlaceholder: '请输入您的问题!',
testingLabel: '测试',
similarity: '混合相似度',
termSimilarity: '术语相似度',
termSimilarity: '关键词相似度',
vectorSimilarity: '向量相似度',
hits: '命中数',
view: '看法',
@ -126,6 +126,7 @@ export default {
uploadTitle: '点击或拖拽文件至此区域即可上传',
uploadDescription:
'支持单次或批量上传。 严禁上传公司数据或其他违禁文件。',
chunk: '解析块',
},
knowledgeConfiguration: {
titleDescription: '在这里更新您的知识库详细信息,尤其是解析方法。',
@ -248,6 +249,7 @@ export default {
chunkMessage: '请输入值!',
},
chat: {
createAssistant: '新建助理',
assistantSetting: '助理设置',
promptEngine: '提示引擎',
modelSetting: '模型设置',
@ -368,7 +370,7 @@ export default {
img2txtModel: 'Img2txt模型',
img2txtModelTip:
'所有新创建的知识库都将使用默认的多模块模型。 它可以描述图片或视频。',
sequence2txtModel: 'Img2txt模型',
sequence2txtModel: 'Sequence2txt模型',
sequence2txtModelTip:
'所有新创建的知识库都将使用默认的 ASR 模型。 使用此模型将语音翻译为相应的文本。',
workspace: '工作空间',