fix: optimize language
This commit is contained in:
parent
4ddc491224
commit
1010de5cfb
@ -23,7 +23,7 @@ export default {
|
|||||||
oppose: 'Dislike',
|
oppose: 'Dislike',
|
||||||
cancelOppose: 'Cancel Dislike',
|
cancelOppose: 'Cancel Dislike',
|
||||||
continue: 'Continue',
|
continue: 'Continue',
|
||||||
stopChat: 'Stop Answering'
|
stopChat: 'Stop Output'
|
||||||
},
|
},
|
||||||
tip: {
|
tip: {
|
||||||
error500Message: 'Sorry, the service is currently under maintenance. Please try again later!',
|
error500Message: 'Sorry, the service is currently under maintenance. Please try again later!',
|
||||||
@ -32,8 +32,8 @@ export default {
|
|||||||
'Sorry, you have reached the maximum number of questions. Please try again tomorrow!',
|
'Sorry, you have reached the maximum number of questions. Please try again tomorrow!',
|
||||||
answerMessage:
|
answerMessage:
|
||||||
'Sorry, no relevant content was found. Please rephrase your question or provide more information.',
|
'Sorry, no relevant content was found. Please rephrase your question or provide more information.',
|
||||||
stopAnswer: 'Answering stopped',
|
stopAnswer: 'Output stopped',
|
||||||
answerLoading: 'Answering',
|
answerLoading: 'Thinking',
|
||||||
recorderTip: `<p>This feature requires the use of a microphone. Browsers prohibit recording on insecure pages. Solutions are as follows:<br/>
|
recorderTip: `<p>This feature requires the use of a microphone. Browsers prohibit recording on insecure pages. Solutions are as follows:<br/>
|
||||||
1. Enable HTTPS to resolve;<br/>
|
1. Enable HTTPS to resolve;<br/>
|
||||||
2. If there is no HTTPS configuration, modify the browser security settings. Chrome settings as follows:<br/>
|
2. If there is no HTTPS configuration, modify the browser security settings. Chrome settings as follows:<br/>
|
||||||
@ -80,13 +80,13 @@ export default {
|
|||||||
output: 'Output',
|
output: 'Output',
|
||||||
rerankerContent: 'Reranked Content',
|
rerankerContent: 'Reranked Content',
|
||||||
rerankerResult: 'Reranked Results',
|
rerankerResult: 'Reranked Results',
|
||||||
paragraph: 'Paragraph',
|
paragraph: 'Segment',
|
||||||
noSubmit: 'User did not submit',
|
noSubmit: 'User did not submit',
|
||||||
errMessage: 'Error Log'
|
errMessage: 'Error Log'
|
||||||
},
|
},
|
||||||
KnowledgeSource: {
|
KnowledgeSource: {
|
||||||
title: 'Knowledge Source',
|
title: 'Knowledge Source',
|
||||||
referenceParagraph: 'Referenced Paragraph',
|
referenceParagraph: 'Referenced Segment',
|
||||||
consume: 'Consumption',
|
consume: 'Consumption',
|
||||||
consumeTime: 'Time Consumed'
|
consumeTime: 'Time Consumed'
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,24 +1,24 @@
|
|||||||
export default {
|
export default {
|
||||||
create: 'Create',
|
create: 'Create',
|
||||||
createSuccess: 'Create successful',
|
createSuccess: 'Successful',
|
||||||
copy: 'Copy',
|
copy: 'Copy',
|
||||||
copySuccess: 'Copy successful',
|
copySuccess: 'Successful',
|
||||||
copyError: 'Copy Failed',
|
copyError: 'Copy Failed',
|
||||||
save: 'Save',
|
save: 'Save',
|
||||||
saveSuccess: 'Save successful',
|
saveSuccess: 'Successful',
|
||||||
delete: 'Delete',
|
delete: 'Delete',
|
||||||
deleteSuccess: 'Deleted successful',
|
deleteSuccess: 'Successful',
|
||||||
setting: 'Settings',
|
setting: 'Settings',
|
||||||
settingSuccess: 'Setting successful',
|
settingSuccess: 'Successful',
|
||||||
submit: 'Submit',
|
submit: 'Submit',
|
||||||
submitSuccess: 'Submitted successfully',
|
submitSuccess: 'Successful',
|
||||||
edit: 'Edit',
|
edit: 'Edit',
|
||||||
editSuccess: 'Edit successful',
|
editSuccess: 'Successful',
|
||||||
modify: 'Modify',
|
modify: 'Modify',
|
||||||
modifySuccess: 'Modify successful',
|
modifySuccess: 'Successful',
|
||||||
cancel: 'Cancel',
|
cancel: 'Cancel',
|
||||||
confirm: 'OK',
|
confirm: 'OK',
|
||||||
tip: 'Prompt',
|
tip: 'Tips',
|
||||||
add: 'Add',
|
add: 'Add',
|
||||||
refresh: 'Refresh',
|
refresh: 'Refresh',
|
||||||
search: 'Search',
|
search: 'Search',
|
||||||
@ -27,9 +27,9 @@ export default {
|
|||||||
createDate: 'Create Date',
|
createDate: 'Create Date',
|
||||||
createTime: 'Create Time',
|
createTime: 'Create Time',
|
||||||
operation: 'Operation',
|
operation: 'Operation',
|
||||||
character: 'words',
|
character: 'charcters',
|
||||||
export: 'Export',
|
export: 'Export',
|
||||||
exportSuccess: 'Export successful',
|
exportSuccess: 'Successful',
|
||||||
unavailable: '(Unavailable)',
|
unavailable: '(Unavailable)',
|
||||||
public: 'Public',
|
public: 'Public',
|
||||||
private: 'Private',
|
private: 'Private',
|
||||||
@ -47,8 +47,8 @@ export default {
|
|||||||
},
|
},
|
||||||
status: {
|
status: {
|
||||||
label: 'Status',
|
label: 'Status',
|
||||||
enableSuccess: 'Enable successful',
|
enableSuccess: 'Successful',
|
||||||
disableSuccess: 'Disable successful'
|
disableSuccess: 'Successful'
|
||||||
},
|
},
|
||||||
inputPlaceholder: 'Please input',
|
inputPlaceholder: 'Please input',
|
||||||
title: 'Title',
|
title: 'Title',
|
||||||
|
|||||||
@ -17,7 +17,7 @@ export default {
|
|||||||
msgConfirm1: 'Do you want to regenerate the public access link?',
|
msgConfirm1: 'Do you want to regenerate the public access link?',
|
||||||
msgConfirm2:
|
msgConfirm2:
|
||||||
'Regenerating the public access link will affect third-party embedded scripts changes and will require re-embedding the new script into third-party sites. Please proceed with caution!',
|
'Regenerating the public access link will affect third-party embedded scripts changes and will require re-embedding the new script into third-party sites. Please proceed with caution!',
|
||||||
refreshSuccess: 'Refresh successful'
|
refreshSuccess: 'Successful'
|
||||||
},
|
},
|
||||||
APIKeyDialog: {
|
APIKeyDialog: {
|
||||||
saveSettings: 'Save Settings',
|
saveSettings: 'Save Settings',
|
||||||
@ -63,7 +63,7 @@ export default {
|
|||||||
languageLabel: 'Language',
|
languageLabel: 'Language',
|
||||||
showSourceLabel: 'Show Source',
|
showSourceLabel: 'Show Source',
|
||||||
showExecutionDetail: 'Show Execution Detail',
|
showExecutionDetail: 'Show Execution Detail',
|
||||||
restoreDefault: 'Restore Default',
|
restoreDefault: 'Reset to default',
|
||||||
customThemeColor: 'Custom Theme Color',
|
customThemeColor: 'Custom Theme Color',
|
||||||
headerTitleFontColor: 'Header Title Font Color',
|
headerTitleFontColor: 'Header Title Font Color',
|
||||||
default: 'Default',
|
default: 'Default',
|
||||||
|
|||||||
@ -110,7 +110,7 @@ export default {
|
|||||||
searchDatasetNode: {
|
searchDatasetNode: {
|
||||||
label: 'Knowledge Search',
|
label: 'Knowledge Search',
|
||||||
text: 'Associate knowledge and find relevant segments',
|
text: 'Associate knowledge and find relevant segments',
|
||||||
paragraph_list: 'List of retrieved paragraphs',
|
paragraph_list: 'List of retrieved segments',
|
||||||
is_hit_handling_method_list: 'List of segments that meet direct response criteria',
|
is_hit_handling_method_list: 'List of segments that meet direct response criteria',
|
||||||
result: 'Search Result',
|
result: 'Search Result',
|
||||||
directly_return: 'Content of segments that meet direct response criteria',
|
directly_return: 'Content of segments that meet direct response criteria',
|
||||||
|
|||||||
@ -33,17 +33,17 @@ export default {
|
|||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
appName: {
|
appName: {
|
||||||
label: 'APP Name',
|
label: 'Name',
|
||||||
placeholder: 'Please enter the APP name',
|
placeholder: 'Please enter the APP name',
|
||||||
requiredMessage: 'APP name is required'
|
requiredMessage: 'APP name is required'
|
||||||
},
|
},
|
||||||
appDescription: {
|
appDescription: {
|
||||||
label: 'APP Description',
|
label: 'Description',
|
||||||
placeholder:
|
placeholder:
|
||||||
'Describe the APP scenario and use, e.g.: XXX assistant answering user questions about XXX product usage'
|
'Describe the APP scenario and use, e.g.: XXX assistant answering user questions about XXX product usage'
|
||||||
},
|
},
|
||||||
appType: {
|
appType: {
|
||||||
label: 'Please select the APP type',
|
label: 'Type',
|
||||||
simplePlaceholder: 'Suitable for beginners to create assistant.',
|
simplePlaceholder: 'Suitable for beginners to create assistant.',
|
||||||
workflowPlaceholder: 'Suitable for advanced users to customize the workflow of assistant'
|
workflowPlaceholder: 'Suitable for advanced users to customize the workflow of assistant'
|
||||||
},
|
},
|
||||||
@ -131,10 +131,10 @@ export default {
|
|||||||
similarityThreshold: 'Similarity Threshold',
|
similarityThreshold: 'Similarity Threshold',
|
||||||
similarityTooltip: 'The higher the similarity, the stronger the correlation.',
|
similarityTooltip: 'The higher the similarity, the stronger the correlation.',
|
||||||
topReferences: 'Top N References',
|
topReferences: 'Top N References',
|
||||||
maxCharacters: 'Maximum words per Reference',
|
maxCharacters: 'Maximum Characters per Reference',
|
||||||
noReferencesAction: 'When there are no knowledge references',
|
noReferencesAction: 'When there are no knowledge references',
|
||||||
continueQuestioning: 'Continue to ask questions to the Al model',
|
continueQuestioning: 'Continue to ask questions to the Al model',
|
||||||
provideAnswer: 'Provide a specific answer',
|
provideAnswer: 'Specify Reply Content',
|
||||||
designated_answer:
|
designated_answer:
|
||||||
'Hello, I am XXX Assistant. My knowledge only contains information related to XXX products. Please rephrase your question.',
|
'Hello, I am XXX Assistant. My knowledge only contains information related to XXX products. Please rephrase your question.',
|
||||||
defaultPrompt1:
|
defaultPrompt1:
|
||||||
@ -168,7 +168,7 @@ export default {
|
|||||||
secretPlaceholder: 'Please enter secret',
|
secretPlaceholder: 'Please enter secret',
|
||||||
tokenPlaceholder: 'Please enter token',
|
tokenPlaceholder: 'Please enter token',
|
||||||
encodingAesKeyPlaceholder: 'Please enter EncodingAESKey',
|
encodingAesKeyPlaceholder: 'Please enter EncodingAESKey',
|
||||||
authenticationSuccessful: 'Authentication successful',
|
authenticationSuccessful: 'Successful',
|
||||||
urlInfo:
|
urlInfo:
|
||||||
'-APP management-Self-built-Created APP-Receive messages-Set the "URL" received by the API'
|
'-APP management-Self-built-Created APP-Receive messages-Set the "URL" received by the API'
|
||||||
},
|
},
|
||||||
@ -204,8 +204,8 @@ export default {
|
|||||||
},
|
},
|
||||||
hitTest: {
|
hitTest: {
|
||||||
title: 'Retrieval Test',
|
title: 'Retrieval Test',
|
||||||
text: 'Ensure effective response by matching paragraphs to user inquiries.',
|
text: 'Ensure effective response by matching segments to user inquiries.',
|
||||||
emptyMessage1: 'The matching paragraph is displayed here',
|
emptyMessage1: 'The matching segment is displayed here',
|
||||||
emptyMessage2: 'No matching sections found'
|
emptyMessage2: 'No matching sections found'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -31,12 +31,12 @@ export default {
|
|||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
datasetName: {
|
datasetName: {
|
||||||
label: 'Knowledge Name',
|
label: 'Name',
|
||||||
placeholder: 'Please enter the knowledge name',
|
placeholder: 'Please enter the knowledge name',
|
||||||
requiredMessage: 'Please enter the knowledge name'
|
requiredMessage: 'Please enter the knowledge name'
|
||||||
},
|
},
|
||||||
datasetDescription: {
|
datasetDescription: {
|
||||||
label: 'Knowledge Description',
|
label: 'Description',
|
||||||
placeholder:
|
placeholder:
|
||||||
'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.',
|
'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.',
|
||||||
requiredMessage: 'Please enter the knowledge description'
|
requiredMessage: 'Please enter the knowledge description'
|
||||||
@ -47,7 +47,7 @@ export default {
|
|||||||
requiredMessage: 'Please select the embedding model'
|
requiredMessage: 'Please select the embedding model'
|
||||||
},
|
},
|
||||||
datasetType: {
|
datasetType: {
|
||||||
label: 'Knowledge Type',
|
label: 'Type',
|
||||||
generalInfo: 'Upload local documents',
|
generalInfo: 'Upload local documents',
|
||||||
webInfo: 'Sync text data from a web site'
|
webInfo: 'Sync text data from a web site'
|
||||||
},
|
},
|
||||||
@ -64,8 +64,8 @@ export default {
|
|||||||
},
|
},
|
||||||
ResultSuccess: {
|
ResultSuccess: {
|
||||||
title: 'Knowledge Created Successfully',
|
title: 'Knowledge Created Successfully',
|
||||||
paragraph: 'Paragraphs',
|
paragraph: 'Segments',
|
||||||
paragraph_count: 'Paragraphs',
|
paragraph_count: 'Segments',
|
||||||
documentList: 'Document List',
|
documentList: 'Document List',
|
||||||
loading: 'Importing',
|
loading: 'Importing',
|
||||||
buttons: {
|
buttons: {
|
||||||
|
|||||||
@ -15,12 +15,12 @@ export default {
|
|||||||
},
|
},
|
||||||
tip: {
|
tip: {
|
||||||
saveMessage: 'Current changes have not been saved. Confirm exit?',
|
saveMessage: 'Current changes have not been saved. Confirm exit?',
|
||||||
cancelSuccess: 'Batch cancellation successful',
|
cancelSuccess: 'Successful',
|
||||||
sendMessage: 'Sent successfully',
|
sendMessage: 'Successful',
|
||||||
vectorizationSuccess: 'Batch vectorization successful',
|
vectorizationSuccess: 'Successful',
|
||||||
nameMessage: 'Document name cannot be empty!',
|
nameMessage: 'Document name cannot be empty!',
|
||||||
importMessage: 'Import successful',
|
importMessage: 'Successful',
|
||||||
migrationSuccess: 'Move successful'
|
migrationSuccess: 'Successful'
|
||||||
},
|
},
|
||||||
upload: {
|
upload: {
|
||||||
selectFile: 'Select File',
|
selectFile: 'Select File',
|
||||||
@ -39,7 +39,7 @@ export default {
|
|||||||
fileType: {
|
fileType: {
|
||||||
txt: {
|
txt: {
|
||||||
label: 'Text File',
|
label: 'Text File',
|
||||||
tip1: '1. It is recommended to standardize the paragraph markers in the file before uploading.',
|
tip1: '1. It is recommended to standardize the segment markers in the file before uploading.',
|
||||||
tip2: '2. Up to 50 files can be uploaded at once, with each file not exceeding 100MB.'
|
tip2: '2. Up to 50 files can be uploaded at once, with each file not exceeding 100MB.'
|
||||||
},
|
},
|
||||||
table: {
|
table: {
|
||||||
@ -59,11 +59,11 @@ export default {
|
|||||||
setRules: {
|
setRules: {
|
||||||
title: {
|
title: {
|
||||||
setting: 'Set Segment Rules',
|
setting: 'Set Segment Rules',
|
||||||
preview: 'Segment Preview'
|
preview: 'Preview'
|
||||||
},
|
},
|
||||||
intelligent: {
|
intelligent: {
|
||||||
label: 'Intelligent Segmentation (Recommended)',
|
label: 'Automatic Segmentation (Recommended)',
|
||||||
text: 'If you are unsure how to set segmentation rules, it is recommended to use intelligent segmentation.'
|
text: 'If you are unsure how to set segmentation rules, it is recommended to use automatic segmentation.'
|
||||||
},
|
},
|
||||||
advanced: {
|
advanced: {
|
||||||
label: 'Advanced Segmentation',
|
label: 'Advanced Segmentation',
|
||||||
@ -91,11 +91,11 @@ export default {
|
|||||||
prev: 'Previous',
|
prev: 'Previous',
|
||||||
next: 'Next',
|
next: 'Next',
|
||||||
import: 'Start Import',
|
import: 'Start Import',
|
||||||
preview: 'Generate Preview'
|
preview: 'Apply'
|
||||||
},
|
},
|
||||||
table: {
|
table: {
|
||||||
name: 'Document Name',
|
name: 'Document Name',
|
||||||
char_length: 'Words',
|
char_length: 'Charcter',
|
||||||
paragraph: 'Segment',
|
paragraph: 'Segment',
|
||||||
all: 'All',
|
all: 'All',
|
||||||
updateTime: 'Update Time'
|
updateTime: 'Update Time'
|
||||||
@ -105,7 +105,7 @@ export default {
|
|||||||
SUCCESS: 'Success',
|
SUCCESS: 'Success',
|
||||||
FAILURE: 'Failure',
|
FAILURE: 'Failure',
|
||||||
EMBEDDING: 'Indexing',
|
EMBEDDING: 'Indexing',
|
||||||
PENDING: 'Queued',
|
PENDING: 'Queuing',
|
||||||
GENERATE: 'Generating',
|
GENERATE: 'Generating',
|
||||||
SYNC: 'Syncing',
|
SYNC: 'Syncing',
|
||||||
REVOKE: 'Cancelling',
|
REVOKE: 'Cancelling',
|
||||||
@ -122,14 +122,14 @@ export default {
|
|||||||
confirmMessage1:
|
confirmMessage1:
|
||||||
'Syncing will delete existing data and retrieve new data. Please proceed with caution.',
|
'Syncing will delete existing data and retrieve new data. Please proceed with caution.',
|
||||||
confirmMessage2: 'Cannot sync, please set the document URL first.',
|
confirmMessage2: 'Cannot sync, please set the document URL first.',
|
||||||
successMessage: 'Document synced successfully'
|
successMessage: 'Successful'
|
||||||
},
|
},
|
||||||
delete: {
|
delete: {
|
||||||
confirmTitle1: 'Confirm batch deletion of',
|
confirmTitle1: 'Confirm batch deletion of',
|
||||||
confirmTitle2: 'documents?',
|
confirmTitle2: 'documents?',
|
||||||
confirmMessage:
|
confirmMessage:
|
||||||
'Segments within the selected documents will also be deleted. Please proceed with caution.',
|
'Segments within the selected documents will also be deleted. Please proceed with caution.',
|
||||||
successMessage: 'Batch deletion successful',
|
successMessage: 'Successful',
|
||||||
confirmTitle3: 'Confirm deleting document:',
|
confirmTitle3: 'Confirm deleting document:',
|
||||||
confirmMessage1: 'Under this document',
|
confirmMessage1: 'Under this document',
|
||||||
confirmMessage2: 'All segments will be deleted, please operate with caution. '
|
confirmMessage2: 'All segments will be deleted, please operate with caution. '
|
||||||
@ -161,11 +161,11 @@ export default {
|
|||||||
},
|
},
|
||||||
hitHandlingMethod: {
|
hitHandlingMethod: {
|
||||||
optimization: 'Model optimization',
|
optimization: 'Model optimization',
|
||||||
directly_return: 'Direct answer'
|
directly_return: 'Respond directly'
|
||||||
},
|
},
|
||||||
generateQuestion: {
|
generateQuestion: {
|
||||||
title: 'Generate Questions',
|
title: 'Generate Questions',
|
||||||
successMessage: 'Question generation successful',
|
successMessage: 'Successful',
|
||||||
tip1: 'The {data} in the prompt is a placeholder for segmented content, which is replaced by the segmented content when executed and sent to the AI model;',
|
tip1: 'The {data} in the prompt is a placeholder for segmented content, which is replaced by the segmented content when executed and sent to the AI model;',
|
||||||
tip2: 'The AI model generates relevant questions based on the segmented content. Please place the generated questions within the',
|
tip2: 'The AI model generates relevant questions based on the segmented content. Please place the generated questions within the',
|
||||||
tip3: 'tags, and the system will automatically associate the questions within these tags;',
|
tip3: 'tags, and the system will automatically associate the questions within these tags;',
|
||||||
|
|||||||
@ -29,7 +29,7 @@ export default {
|
|||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
functionName: {
|
functionName: {
|
||||||
label: 'Function Name',
|
label: 'Name',
|
||||||
placeholder: 'Please enter the function name',
|
placeholder: 'Please enter the function name',
|
||||||
requiredMessage: 'Please enter the function name'
|
requiredMessage: 'Please enter the function name'
|
||||||
},
|
},
|
||||||
@ -66,13 +66,13 @@ export default {
|
|||||||
outputParam: 'Output Parameters',
|
outputParam: 'Output Parameters',
|
||||||
paramInfo1: 'Displayed when using the function',
|
paramInfo1: 'Displayed when using the function',
|
||||||
paramInfo2: 'Not displayed when using the function',
|
paramInfo2: 'Not displayed when using the function',
|
||||||
code: 'Function Content (Python)'
|
code: 'Content (Python)'
|
||||||
},
|
},
|
||||||
debug: {
|
debug: {
|
||||||
run: 'Run',
|
run: 'Run',
|
||||||
output: 'Output',
|
output: 'Output',
|
||||||
runResult: 'Run Result',
|
runResult: 'Run Result',
|
||||||
runSuccess: 'Run successful',
|
runSuccess: 'Successful',
|
||||||
runFailed: 'Run Failed'
|
runFailed: 'Run Failed'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,7 +3,7 @@ export default {
|
|||||||
delete: {
|
delete: {
|
||||||
confirmTitle: 'Confirm deletion of question:',
|
confirmTitle: 'Confirm deletion of question:',
|
||||||
confirmMessage1: 'Deleting this question will cancel the association of',
|
confirmMessage1: 'Deleting this question will cancel the association of',
|
||||||
confirmMessage2: 'paragraphs. Please proceed with caution.'
|
confirmMessage2: 'segments. Please proceed with caution.'
|
||||||
},
|
},
|
||||||
buttons: {
|
buttons: {
|
||||||
clearStrategy: 'Clear Strategy',
|
clearStrategy: 'Clear Strategy',
|
||||||
|
|||||||
@ -1,15 +1,15 @@
|
|||||||
export default {
|
export default {
|
||||||
title: 'Paragraph',
|
title: 'Segment',
|
||||||
editParagraph: 'Edit Paragraph',
|
editParagraph: 'Edit Segment',
|
||||||
addParagraph: 'Add Paragraph',
|
addParagraph: 'Add Segment',
|
||||||
paragraphDetail: 'Paragraph Details',
|
paragraphDetail: 'Segment Details',
|
||||||
character_count: 'words',
|
character_count: 'charcters',
|
||||||
setting: {
|
setting: {
|
||||||
batchSelected: 'Batch Select',
|
batchSelected: 'Batch Select',
|
||||||
cancelSelected: 'Cancel Selection'
|
cancelSelected: 'Cancel Selection'
|
||||||
},
|
},
|
||||||
delete: {
|
delete: {
|
||||||
confirmTitle: 'Confirm deletion of paragraph:',
|
confirmTitle: 'Confirm deletion of segment:',
|
||||||
confirmMessage: 'Deletion cannot be undone. Please proceed with caution.'
|
confirmMessage: 'Deletion cannot be undone. Please proceed with caution.'
|
||||||
},
|
},
|
||||||
relatedProblem: {
|
relatedProblem: {
|
||||||
@ -18,13 +18,13 @@ export default {
|
|||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
paragraphTitle: {
|
paragraphTitle: {
|
||||||
label: 'Paragraph Title',
|
label: 'Segment Title',
|
||||||
placeholder: 'Please enter the paragraph title'
|
placeholder: 'Please enter the segment title'
|
||||||
},
|
},
|
||||||
content: {
|
content: {
|
||||||
label: 'Paragraph Content',
|
label: 'Segment Content',
|
||||||
placeholder: 'Please enter the paragraph content',
|
placeholder: 'Please enter the segment content',
|
||||||
requiredMessage1: 'Please enter the paragraph content',
|
requiredMessage1: 'Please enter the segment content',
|
||||||
requiredMessage2: 'Content must not exceed 100,000 words'
|
requiredMessage2: 'Content must not exceed 100,000 words'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,7 +8,7 @@ export default {
|
|||||||
placeholder: 'Enter the question, support multiple entries, one per line.',
|
placeholder: 'Enter the question, support multiple entries, one per line.',
|
||||||
errorMessage: 'Question cannot be empty!',
|
errorMessage: 'Question cannot be empty!',
|
||||||
requiredMessage: 'Please enter a question',
|
requiredMessage: 'Please enter a question',
|
||||||
relatedSuccess: 'Batch association of paragraphs successful'
|
relatedSuccess: 'Successful'
|
||||||
},
|
},
|
||||||
|
|
||||||
setting: {
|
setting: {
|
||||||
@ -19,20 +19,20 @@ export default {
|
|||||||
placeholder: 'Search by name'
|
placeholder: 'Search by name'
|
||||||
},
|
},
|
||||||
table: {
|
table: {
|
||||||
paragraph_count: 'Associated Paragraphs',
|
paragraph_count: 'Associated Segments',
|
||||||
updateTime: 'Update Time'
|
updateTime: 'Update Time'
|
||||||
},
|
},
|
||||||
delete: {
|
delete: {
|
||||||
confirmTitle: 'Confirm deletion of question:',
|
confirmTitle: 'Confirm deletion of question:',
|
||||||
confirmMessage1: 'Deleting this question will cancel the association of',
|
confirmMessage1: 'Deleting this question will cancel the association of',
|
||||||
confirmMessage2: 'paragraphs. Please proceed with caution.'
|
confirmMessage2: 'segments. Please proceed with caution.'
|
||||||
},
|
},
|
||||||
relateParagraph: {
|
relateParagraph: {
|
||||||
title: 'Associate Paragraphs',
|
title: 'Associate Segments',
|
||||||
selectDocument: 'Select Document',
|
selectDocument: 'Select Document',
|
||||||
placeholder: 'Search by document name',
|
placeholder: 'Search by document name',
|
||||||
selectParagraph: 'Select Paragraph',
|
selectParagraph: 'Select Segment',
|
||||||
selectedParagraph: 'Selected Paragraphs',
|
selectedParagraph: 'Selected Segments',
|
||||||
count: 'Count'
|
count: 'Count'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
export default {
|
export default {
|
||||||
title: 'System',
|
title: 'System',
|
||||||
test: 'Test Connection',
|
test: 'Test Connection',
|
||||||
testSuccess: 'Test connection successful',
|
testSuccess: 'Successful',
|
||||||
testFailed: 'Test connection failed',
|
testFailed: 'Test connection failed',
|
||||||
password: 'Password',
|
password: 'Password',
|
||||||
authentication: {
|
authentication: {
|
||||||
title: 'Login Authentication',
|
title: 'Login Authentication',
|
||||||
ldap: {
|
ldap: {
|
||||||
title: 'LDAP Settings',
|
title: 'LDAP',
|
||||||
address: 'LDAP Address',
|
address: 'LDAP Address',
|
||||||
serverPlaceholder: 'Please enter LDAP address',
|
serverPlaceholder: 'Please enter LDAP address',
|
||||||
bindDN: 'Bind DN',
|
bindDN: 'Bind DN',
|
||||||
@ -21,7 +21,7 @@ export default {
|
|||||||
enableAuthentication: 'Enable LDAP Authentication'
|
enableAuthentication: 'Enable LDAP Authentication'
|
||||||
},
|
},
|
||||||
cas: {
|
cas: {
|
||||||
title: 'CAS Settings',
|
title: 'CAS',
|
||||||
ldpUri: 'ldpUri',
|
ldpUri: 'ldpUri',
|
||||||
ldpUriPlaceholder: 'Please enter ldpUri',
|
ldpUriPlaceholder: 'Please enter ldpUri',
|
||||||
validateUrl: 'Validation Address',
|
validateUrl: 'Validation Address',
|
||||||
@ -31,7 +31,7 @@ export default {
|
|||||||
enableAuthentication: 'Enable CAS Authentication'
|
enableAuthentication: 'Enable CAS Authentication'
|
||||||
},
|
},
|
||||||
oidc: {
|
oidc: {
|
||||||
title: 'OIDC Settings',
|
title: 'OIDC',
|
||||||
authEndpoint: 'Auth Endpoint',
|
authEndpoint: 'Auth Endpoint',
|
||||||
authEndpointPlaceholder: 'Please enter auth endpoint',
|
authEndpointPlaceholder: 'Please enter auth endpoint',
|
||||||
tokenEndpoint: 'Token Endpoint',
|
tokenEndpoint: 'Token Endpoint',
|
||||||
@ -50,7 +50,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
oauth2: {
|
oauth2: {
|
||||||
title: 'OAuth2 Settings',
|
title: 'OAuth2',
|
||||||
authEndpoint: 'Auth Endpoint',
|
authEndpoint: 'Auth Endpoint',
|
||||||
authEndpointPlaceholder: 'Please enter auth endpoint',
|
authEndpointPlaceholder: 'Please enter auth endpoint',
|
||||||
tokenEndpoint: 'Token Endpoint',
|
tokenEndpoint: 'Token Endpoint',
|
||||||
@ -78,7 +78,7 @@ export default {
|
|||||||
alreadyTurnedOn: 'Turned On',
|
alreadyTurnedOn: 'Turned On',
|
||||||
notEnabled: 'Not Enabled',
|
notEnabled: 'Not Enabled',
|
||||||
validate: 'Validate',
|
validate: 'Validate',
|
||||||
validateSuccess: 'Validation successful',
|
validateSuccess: 'Successful',
|
||||||
validateFailed: 'Validation failed',
|
validateFailed: 'Validation failed',
|
||||||
validateFailedTip: 'Please fill in all required fields and ensure the format is correct',
|
validateFailedTip: 'Please fill in all required fields and ensure the format is correct',
|
||||||
appKeyPlaceholder: 'Please enter APP key',
|
appKeyPlaceholder: 'Please enter APP key',
|
||||||
@ -98,7 +98,7 @@ export default {
|
|||||||
custom: 'Custom',
|
custom: 'Custom',
|
||||||
pagePreview: 'Page Preview',
|
pagePreview: 'Page Preview',
|
||||||
default: 'Default',
|
default: 'Default',
|
||||||
restoreDefaults: 'Restore Defaults',
|
restoreDefaults: 'Reset to default',
|
||||||
orange: 'Orange',
|
orange: 'Orange',
|
||||||
green: 'Green',
|
green: 'Green',
|
||||||
purple: 'Purple',
|
purple: 'Purple',
|
||||||
@ -119,7 +119,7 @@ export default {
|
|||||||
websiteSlogan: 'Welcome Message',
|
websiteSlogan: 'Welcome Message',
|
||||||
websiteSloganPlaceholder: 'Please enter the welcome message',
|
websiteSloganPlaceholder: 'Please enter the welcome message',
|
||||||
websiteSloganTip: 'The welcome message below the product logo',
|
websiteSloganTip: 'The welcome message below the product logo',
|
||||||
defaultSlogan: 'Welcome to MaxKB Intelligent Knowledge Q&A System',
|
defaultSlogan: 'Ready-to-use, flexible RAG Chatbot',
|
||||||
defaultTip: 'Default is the MaxKB platform interface, supports custom settings',
|
defaultTip: 'Default is the MaxKB platform interface, supports custom settings',
|
||||||
logoDefaultTip: 'Default is the MaxKB login interface, supports custom settings',
|
logoDefaultTip: 'Default is the MaxKB login interface, supports custom settings',
|
||||||
platformSetting: 'Platform Settings',
|
platformSetting: 'Platform Settings',
|
||||||
|
|||||||
@ -102,6 +102,7 @@
|
|||||||
}
|
}
|
||||||
.el-message-box {
|
.el-message-box {
|
||||||
--el-messagebox-font-size: 16px;
|
--el-messagebox-font-size: 16px;
|
||||||
|
--el-messagebox-width: 450px;
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
.el-message-box__header {
|
.el-message-box__header {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|||||||
@ -62,13 +62,21 @@
|
|||||||
<span class="vertical-middle lighter break-all ellipsis-1">
|
<span class="vertical-middle lighter break-all ellipsis-1">
|
||||||
{{ shareUrl }}
|
{{ shareUrl }}
|
||||||
</span>
|
</span>
|
||||||
|
<el-tooltip effect="dark" :content="$t('common.copy')" placement="top">
|
||||||
<el-button type="primary" text @click="copyClick(shareUrl)">
|
<el-button type="primary" text @click="copyClick(shareUrl)">
|
||||||
<AppIcon iconName="app-copy"></AppIcon>
|
<AppIcon iconName="app-copy"></AppIcon>
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button @click="refreshAccessToken" type="primary" text style="margin-left: 1px">
|
</el-tooltip>
|
||||||
<el-icon><RefreshRight /></el-icon>
|
<el-tooltip effect="dark" :content="$t('common.refresh')" placement="top">
|
||||||
</el-button>
|
<el-button
|
||||||
|
@click="refreshAccessToken"
|
||||||
|
type="primary"
|
||||||
|
text
|
||||||
|
style="margin-left: 1px"
|
||||||
|
>
|
||||||
|
<el-icon><RefreshRight /></el-icon>
|
||||||
|
</el-button>
|
||||||
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-button
|
<el-button
|
||||||
@ -121,10 +129,11 @@
|
|||||||
<span class="vertical-middle lighter break-all ellipsis-1">{{
|
<span class="vertical-middle lighter break-all ellipsis-1">{{
|
||||||
baseUrl + id
|
baseUrl + id
|
||||||
}}</span>
|
}}</span>
|
||||||
|
<el-tooltip effect="dark" :content="$t('common.copy')" placement="top">
|
||||||
<el-button type="primary" text @click="copyClick(baseUrl + id)">
|
<el-button type="primary" text @click="copyClick(baseUrl + id)">
|
||||||
<AppIcon iconName="app-copy"></AppIcon>
|
<AppIcon iconName="app-copy"></AppIcon>
|
||||||
</el-button>
|
</el-button>
|
||||||
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@ -324,9 +333,7 @@ function changeState(bool: Boolean) {
|
|||||||
const obj = {
|
const obj = {
|
||||||
is_active: bool
|
is_active: bool
|
||||||
}
|
}
|
||||||
const str = bool
|
const str = bool ? t('common.status.enableSuccess') : t('common.status.disableSuccess')
|
||||||
? t('common.status.enableSuccess')
|
|
||||||
: t('common.status.disableSuccess')
|
|
||||||
updateAccessToken(obj, str)
|
updateAccessToken(obj, str)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user