diff --git a/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue b/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue index 4f8f894b0..d0ef6c4d9 100644 --- a/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue +++ b/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue @@ -27,7 +27,7 @@ - + diff --git a/ui/src/locales/lang/en-US/dynamics-form.ts b/ui/src/locales/lang/en-US/dynamics-form.ts index b2b2048b7..a3a3f78ee 100644 --- a/ui/src/locales/lang/en-US/dynamics-form.ts +++ b/ui/src/locales/lang/en-US/dynamics-form.ts @@ -17,7 +17,7 @@ export default { show: 'Show Default' }, tip: { - requiredMessage: 'Cannot be empty', + requiredMessage: 'cannot be empty', jsonMessage: 'Incorrect JSON format' }, searchBar: { diff --git a/ui/src/locales/lang/en-US/views/application-overview.ts b/ui/src/locales/lang/en-US/views/application-overview.ts index 9a0211127..6e7d39505 100644 --- a/ui/src/locales/lang/en-US/views/application-overview.ts +++ b/ui/src/locales/lang/en-US/views/application-overview.ts @@ -21,9 +21,9 @@ export default { }, APIKeyDialog: { saveSettings: 'Save Settings', - msgConfirm1: 'Are you sure you want to delete the API Key?', + msgConfirm1: 'Are you sure you want to delete the API key?', msgConfirm2: - 'Deleting the API Key cannot be undone. Please confirm if you want to delete it!', + 'Deleting the API key cannot be undone. Please confirm if you want to delete it!', enabledSuccess: 'Enabled', disabledSuccess: 'Disabled' }, 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 98e0f283c..ea646f8db 100644 --- a/ui/src/locales/lang/en-US/views/application-workflow.ts +++ b/ui/src/locales/lang/en-US/views/application-workflow.ts @@ -63,9 +63,9 @@ export default { }, validate: { startNodeRequired: 'Start Node Required', - startNodeOnly: 'There can only be one Start Node', + startNodeOnly: 'There can only be one start node', baseNodeRequired: 'Base Info Node Required', - baseNodeOnly: 'There can only be one Base Info Node', + baseNodeOnly: 'There can only be one base info node', notInWorkFlowNode: 'Node not in workflow', noNextNode: 'Non-existent next node', nodeUnavailable: 'Node unavailable', @@ -197,7 +197,7 @@ export default { answer: 'AI Answer Content', model: { label: 'Vision Model', - requiredMessage: 'Please select a Vision Model' + requiredMessage: 'Please select a vision model' }, image: { label: 'Select Image', diff --git a/ui/src/locales/lang/en-US/views/application.ts b/ui/src/locales/lang/en-US/views/application.ts index 3882c379d..30f405fc5 100644 --- a/ui/src/locales/lang/en-US/views/application.ts +++ b/ui/src/locales/lang/en-US/views/application.ts @@ -163,10 +163,10 @@ export default { wecomSetting: { title: 'WeCom Configuration', cropId: 'Crop ID', - cropIdPlaceholder: 'Please enter Crop ID', - agentIdPlaceholder: 'Please enter Agent ID', - secretPlaceholder: 'Please enter Secret', - tokenPlaceholder: 'Please enter Token', + cropIdPlaceholder: 'Please enter crop ID', + agentIdPlaceholder: 'Please enter agent ID', + secretPlaceholder: 'Please enter secret', + tokenPlaceholder: 'Please enter token', encodingAesKeyPlaceholder: 'Please enter EncodingAESKey', authenticationSuccessful: 'Authentication successful', urlInfo: @@ -174,8 +174,8 @@ export default { }, dingtalkSetting: { title: 'DingTalk Configuration', - clientIdPlaceholder: 'Please enter Client ID', - clientSecretPlaceholder: 'Please enter Client Secret', + clientIdPlaceholder: 'Please enter client ID', + clientSecretPlaceholder: 'Please enter client secret', urlInfo: '-On the robot page, set the "Message Receiving Mode" to HTTP mode, and fill in the above URL into the "Message Receiving Address"' }, @@ -190,13 +190,13 @@ export default { aesKey: 'Message Encryption Key', aesKeyPlaceholder: 'Please enter the message encryption key', urlInfo: - '-Settings and Development-Basic Configuration-"Server Address URL" in Server Configuration' + '-Settings and Development-Basic Configuration-"Server Address URL" in server configuration' }, larkSetting: { title: 'Lark Configuration', - appIdPlaceholder: 'Please enter App ID', - appSecretPlaceholder: 'Please enter App Secret', - verificationTokenPlaceholder: 'Please enter Verification Token', + appIdPlaceholder: 'Please enter APP ID', + appSecretPlaceholder: 'Please enter APP secret', + verificationTokenPlaceholder: 'Please enter verification token', urlInfo: '-Events and callbacks - event configuration - configure the "request address" of the subscription method' }, diff --git a/ui/src/locales/lang/en-US/views/dataset.ts b/ui/src/locales/lang/en-US/views/dataset.ts index 7099eba34..431c55bae 100644 --- a/ui/src/locales/lang/en-US/views/dataset.ts +++ b/ui/src/locales/lang/en-US/views/dataset.ts @@ -21,7 +21,7 @@ export default { 'After modifying the knowledge vector model, you need to vectorize the knowledge. Do you want to continue saving?' }, delete: { - confirmTitle: 'Confirm Deletion of Knowledge:', + confirmTitle: 'Confirm deletion of knowledge:', confirmMessage1: 'This knowledge is associated with', confirmMessage2: 'APP. Deleting it will be irreversible, please proceed with caution.' }, @@ -43,18 +43,18 @@ export default { }, EmbeddingModel: { label: 'Embedding Model', - placeholder: 'Please select a Embedding Model', - requiredMessage: 'Please enter the Embedding model' + placeholder: 'Please select a embedding model', + requiredMessage: 'Please enter the embedding model' }, datasetType: { label: 'Knowledge Type', generalInfo: 'Upload local documents', - webInfo: 'Sync text data from a Web site' + webInfo: 'Sync text data from a web site' }, source_url: { label: 'Web Root URL', placeholder: 'Please enter the web root URL', - requiredMessage: 'Please enter the Web root URL' + requiredMessage: 'Please enter the web root URL' }, selector: { label: 'Selector', @@ -80,7 +80,7 @@ export default { replaceText: 'Re-fetch Web site documents, replacing the documents in the local knowledge base', complete: 'Full Sync', completeText: - 'Delete all documents in the local knowledge base and re-fetch Web site documents', + 'Delete all documents in the local knowledge base and re-fetch web site documents', tip: 'Note: All syncs will delete existing data and re-fetch new data. Please proceed with caution.' } } diff --git a/ui/src/locales/lang/en-US/views/document.ts b/ui/src/locales/lang/en-US/views/document.ts index 3fa4b2d7b..6ed22dffc 100644 --- a/ui/src/locales/lang/en-US/views/document.ts +++ b/ui/src/locales/lang/en-US/views/document.ts @@ -5,7 +5,7 @@ export default { selected: 'Selected', items: 'Items', searchBar: { - placeholder: 'Search by Document Name' + placeholder: 'Search by document name' }, setting: { migration: 'Move', @@ -84,7 +84,7 @@ export default { }, checkedConnect: { label: - 'Add Segment Titles as Associated Questions During Import (Applicable for QA Pairs where Titles are Questions)' + 'Add segment titles as associated questions during import (Applicable for QA pairs where titles are questions)' } }, buttons: { @@ -117,26 +117,26 @@ export default { }, sync: { label: 'Sync', - confirmTitle: 'Confirm Sync Document?', + confirmTitle: 'Confirm sync document?', confirmMessage1: 'Syncing will delete existing data and retrieve new data. Please proceed with caution.', confirmMessage2: 'Cannot sync, please set the document URL first.', successMessage: 'Document synced successfully' }, delete: { - confirmTitle1: 'Confirm Batch Deletion of', + confirmTitle1: 'Confirm batch deletion of', confirmTitle2: 'Documents?', confirmMessage: 'Segments within the selected documents will also be deleted. Please proceed with caution.', successMessage: 'Batch deletion successful', - confirmTitle3: 'Confirm Deleting Document:', + confirmTitle3: 'Confirm deleting document:', confirmMessage1: 'Under this document', confirmMessage2: 'All segments will be deleted, please operate with caution. ' }, form: { source_url: { label: 'Document URL', - placeholder: 'Enter document URLs, one per line. Incorrect URLs will cause import failure.', + placeholder: 'Enter document URL, one per line. Incorrect URL will cause import failure.', requiredMessage: 'Please enter a document URL' }, selector: { diff --git a/ui/src/locales/lang/en-US/views/function-lib.ts b/ui/src/locales/lang/en-US/views/function-lib.ts index 844cdc9e7..2c44deb79 100644 --- a/ui/src/locales/lang/en-US/views/function-lib.ts +++ b/ui/src/locales/lang/en-US/views/function-lib.ts @@ -13,12 +13,12 @@ export default { saveMessage: 'Unsaved changes will be lost. Are you sure you want to exit?' }, delete: { - confirmTitle: 'Confirm Deletion of Function:', + confirmTitle: 'Confirm deletion of function:', confirmMessage: 'Deleting this function will cause errors in APP that reference it when they are queried. Please proceed with caution.' }, disabled: { - confirmTitle: 'Confirm Disable Function:', + confirmTitle: 'Confirm disable function:', confirmMessage: 'Disabling this function will cause errors in APP that reference it when they are queried. Please proceed with caution.' }, diff --git a/ui/src/locales/lang/en-US/views/log.ts b/ui/src/locales/lang/en-US/views/log.ts index 6a59a60fb..b74e744e7 100644 --- a/ui/src/locales/lang/en-US/views/log.ts +++ b/ui/src/locales/lang/en-US/views/log.ts @@ -1,8 +1,8 @@ export default { title: 'Conversation Logs', delete: { - confirmTitle: 'Confirm Deletion of Question:', - confirmMessage1: 'Deleting this Question will cancel the association of', + confirmTitle: 'Confirm deletion of question:', + confirmMessage1: 'Deleting this question will cancel the association of', confirmMessage2: 'paragraphs. Please proceed with caution.' }, buttons: { diff --git a/ui/src/locales/lang/en-US/views/paragraph.ts b/ui/src/locales/lang/en-US/views/paragraph.ts index 396ca2661..edb0376ef 100644 --- a/ui/src/locales/lang/en-US/views/paragraph.ts +++ b/ui/src/locales/lang/en-US/views/paragraph.ts @@ -9,7 +9,7 @@ export default { cancelSelected: 'Cancel Selection' }, delete: { - confirmTitle: 'Confirm Deletion of Paragraph:', + confirmTitle: 'Confirm deletion of paragraph:', confirmMessage: 'Deletion cannot be undone. Please proceed with caution.' }, relatedProblem: { diff --git a/ui/src/locales/lang/en-US/views/problem.ts b/ui/src/locales/lang/en-US/views/problem.ts index c4cb9430f..f3c890de6 100644 --- a/ui/src/locales/lang/en-US/views/problem.ts +++ b/ui/src/locales/lang/en-US/views/problem.ts @@ -3,6 +3,7 @@ export default { createProblem: 'Create Question', detailProblem: 'Question Details', quickCreateProblem: 'Quick Create Question', + quickCreateName: 'question', tip: { placeholder: 'Enter the question, support multiple entries, one per line.', errorMessage: 'Question cannot be empty!', @@ -15,23 +16,23 @@ export default { cancelRelated: 'Cancel Association' }, searchBar: { - placeholder: 'Search by Name' + placeholder: 'Search by name' }, table: { paragraph_count: 'Number of Associated Paragraphs', updateTime: 'Update Time' }, delete: { - confirmTitle: 'Confirm Deletion of question:', + confirmTitle: 'Confirm deletion of question:', confirmMessage1: 'Deleting this question will cancel the association of', confirmMessage2: 'paragraphs. Please proceed with caution.' }, relateParagraph: { title: 'Associate Paragraphs', selectDocument: 'Select Document', - placeholder: 'Search by Document Name', + placeholder: 'Search by document name', selectParagraph: 'Select Paragraph', selectedParagraph: 'Selected Paragraphs', count: 'Count' - }, + } } diff --git a/ui/src/locales/lang/en-US/views/system.ts b/ui/src/locales/lang/en-US/views/system.ts index d3b4eb626..5abcd9d89 100644 --- a/ui/src/locales/lang/en-US/views/system.ts +++ b/ui/src/locales/lang/en-US/views/system.ts @@ -10,11 +10,11 @@ export default { bindDNPlaceholder: 'Please enter Bind DN', password: 'Password', ou: 'User OU', - ouPlaceholder: 'Please enter User OU', + ouPlaceholder: 'Please enter user OU', ldap_filter: 'User Filter', - ldap_filterPlaceholder: 'Please enter User Filter', + ldap_filterPlaceholder: 'Please enter user filter', ldap_mapping: 'LDAP Attribute Mapping', - ldap_mappingPlaceholder: 'Please enter LDAP Attribute Mapping', + ldap_mappingPlaceholder: 'Please enter LDAP attribute mapping', test: 'Test Connection', enableAuthentication: 'Enable LDAP Authentication', testConnectionSuccess: 'Test Connection Success', @@ -25,48 +25,48 @@ export default { ldpUri: 'ldpUri', ldpUriPlaceholder: 'Please enter ldpUri', validateUrl: 'Validation Address', - validateUrlPlaceholder: 'Please enter Validation Address', + validateUrlPlaceholder: 'Please enter validation address', redirectUrl: 'Callback Address', - redirectUrlPlaceholder: 'Please enter Callback Address', + redirectUrlPlaceholder: 'Please enter callback address', enableAuthentication: 'Enable CAS Authentication' }, oidc: { title: 'OIDC Settings', authEndpoint: 'Auth Endpoint', - authEndpointPlaceholder: 'Please enter Auth Endpoint', + authEndpointPlaceholder: 'Please enter auth endpoint', tokenEndpoint: 'Token Endpoint', - tokenEndpointPlaceholder: 'Please enter Token Endpoint', + tokenEndpointPlaceholder: 'Please enter token endpoint', userInfoEndpoint: 'User Info Endpoint', - userInfoEndpointPlaceholder: 'Please enter User Info Endpoint', + userInfoEndpointPlaceholder: 'Please enter user info endpoint', clientId: 'Client ID', - clientIdPlaceholder: 'Please enter Client ID', + clientIdPlaceholder: 'Please enter client ID', clientSecret: 'Client Secret', - clientSecretPlaceholder: 'Please enter Client Secret', + clientSecretPlaceholder: 'Please enter client secret', logoutEndpoint: 'Logout Endpoint', - logoutEndpointPlaceholder: 'Please enter Logout Endpoint', + logoutEndpointPlaceholder: 'Please enter logout endpoint', redirectUrl: 'Redirect URL', - redirectUrlPlaceholder: 'Please enter Redirect URL', + redirectUrlPlaceholder: 'Please enter redirect URL', enableAuthentication: 'Enable OIDC Authentication' }, oauth2: { title: 'OAuth2 Settings', authEndpoint: 'Auth Endpoint', - authEndpointPlaceholder: 'Please enter Auth Endpoint', + authEndpointPlaceholder: 'Please enter auth endpoint', tokenEndpoint: 'Token Endpoint', - tokenEndpointPlaceholder: 'Please enter Token Endpoint', + tokenEndpointPlaceholder: 'Please enter token endpoint', userInfoEndpoint: 'User Info Endpoint', - userInfoEndpointPlaceholder: 'Please enter User Info Endpoint', + userInfoEndpointPlaceholder: 'Please enter user info endpoint', scope: 'Scope', - scopePlaceholder: 'Please enter Scope', + scopePlaceholder: 'Please enter scope', clientId: 'Client ID', - clientIdPlaceholder: 'Please enter Client ID', + clientIdPlaceholder: 'Please enter client ID', clientSecret: 'Client Secret', - clientSecretPlaceholder: 'Please enter Client Secret', + clientSecretPlaceholder: 'Please enter client secret', redirectUrl: 'Redirect URL', - redirectUrlPlaceholder: 'Please enter Redirect URL', + redirectUrlPlaceholder: 'Please enter redirect URL', filedMapping: 'Field Mapping', - filedMappingPlaceholder: 'Please enter Field Mapping', + filedMappingPlaceholder: 'Please enter field mapping', enableAuthentication: 'Enable OAuth2 Authentication' }, scanTheQRCode: { @@ -81,10 +81,10 @@ export default { validateSuccess: 'Validation Successful', validateFailed: 'Validation Failed', validateFailedTip: 'Please fill in all required fields and ensure the format is correct', - appKeyPlaceholder: 'Please enter App Key', - appSecretPlaceholder: 'Please enter App Secret', - corpIdPlaceholder: 'Please enter Corp ID', - agentIdPlaceholder: 'Please enter Agent ID', + appKeyPlaceholder: 'Please enter APP key', + appSecretPlaceholder: 'Please enter APP secret', + corpIdPlaceholder: 'Please enter corp ID', + agentIdPlaceholder: 'Please enter agent ID', callbackWarning: 'Please enter a valid URL address' } }, @@ -133,15 +133,15 @@ export default { email: { title: 'Mail Setting', smtpHost: 'SMTP Host', - smtpHostPlaceholder: 'Please enter SMTP Host', + smtpHostPlaceholder: 'Please enter SMTP host', smtpPort: 'SMTP Port', - smtpPortPlaceholder: 'Please enter SMTP Port', + smtpPortPlaceholder: 'Please enter SMTP port', smtpUser: 'SMTP User', - smtpUserPlaceholder: 'Please enter SMTP User', + smtpUserPlaceholder: 'Please enter SMTP user', sendEmail: 'Send Email', - sendEmailPlaceholder: 'Please enter Send Email', + sendEmailPlaceholder: 'Please enter send email', smtpPassword: 'SMTP Password', - smtpPasswordPlaceholder: 'Please enter SMTP Password', + smtpPasswordPlaceholder: 'Please enter SMTP password', test: 'Test Connection', enableSSL: 'Enable SSL (if the SMTP port is 465, you usually need to enable SSL)', enableTLS: 'Enable TLS (if the SMTP port is 587, you usually need to enable TLS)', diff --git a/ui/src/locales/lang/en-US/views/team.ts b/ui/src/locales/lang/en-US/views/team.ts index 213549895..d25df4bb3 100644 --- a/ui/src/locales/lang/en-US/views/team.ts +++ b/ui/src/locales/lang/en-US/views/team.ts @@ -10,7 +10,7 @@ export default { }, delete: { button: 'Remove', - confirmTitle: 'Confirm Removal of Member:', + confirmTitle: 'Confirm removal of member:', confirmMessage: 'Removing the member will revoke their access to knowledge and APP.' }, diff --git a/ui/src/locales/lang/en-US/views/user.ts b/ui/src/locales/lang/en-US/views/user.ts index 10b0e5bf1..120646fe9 100644 --- a/ui/src/locales/lang/en-US/views/user.ts +++ b/ui/src/locales/lang/en-US/views/user.ts @@ -11,12 +11,12 @@ export default { updatePwdSuccess: 'User password updated successfully' }, delete: { - confirmTitle: 'Confirm Deletion of User:', + confirmTitle: 'Confirm deletion of user:', confirmMessage: 'Deleting this user will also delete all resources (APP, knowledge, models) created by this user. Please proceed with caution.' }, disabled: { - confirmTitle: 'Confirm Disable Function:', + confirmTitle: 'Confirm disable function:', confirmMessage: 'Disabling this function will cause errors when APP that reference it are queried. Please proceed with caution.' }, diff --git a/ui/src/locales/lang/zh-CN/views/problem.ts b/ui/src/locales/lang/zh-CN/views/problem.ts index 7a57005b0..53fc24c98 100644 --- a/ui/src/locales/lang/zh-CN/views/problem.ts +++ b/ui/src/locales/lang/zh-CN/views/problem.ts @@ -3,6 +3,7 @@ export default { createProblem: '创建问题', detailProblem: '问题详情', quickCreateProblem: '快速创建问题', + quickCreateName: '问题', tip: { placeholder: '请输入问题,支持输入多个,一行一个。', errorMessage: '问题不能为空!', diff --git a/ui/src/locales/lang/zh-Hant/views/problem.ts b/ui/src/locales/lang/zh-Hant/views/problem.ts index cf22427f4..0fb8b30d9 100644 --- a/ui/src/locales/lang/zh-Hant/views/problem.ts +++ b/ui/src/locales/lang/zh-Hant/views/problem.ts @@ -3,6 +3,7 @@ export default { createProblem: '建立問題', detailProblem: '問題詳情', quickCreateProblem: '快速建立問題', + quickCreateName: '問題', tip: { placeholder: '請輸入問題,支持輸入多個,一行一個。', errorMessage: '問題不能為空!', diff --git a/ui/src/views/problem/index.vue b/ui/src/views/problem/index.vue index 117ca8bfa..1b7d8ee0c 100644 --- a/ui/src/views/problem/index.vue +++ b/ui/src/views/problem/index.vue @@ -28,7 +28,7 @@ :data="problemData" :pagination-config="paginationConfig" quick-create - :quickCreateName="$t('views.problem.title')" + :quickCreateName="$t('views.problem.quickCreateName')" :quickCreatePlaceholder="$t('views.problem.quickCreateProblem')" :quickCreateMaxlength="256" @sizeChange="handleSizeChange"