chore: improve UI translation for workflow application overview page (#2156)

This commit is contained in:
guqing 2025-02-08 15:41:59 +08:00 committed by GitHub
parent 88718c7108
commit bf12d2bfd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,78 +1,80 @@
export default { export default {
title: 'Overview', title: 'Overview',
appInfo: { appInfo: {
header: 'APP Info', header: 'App Information',
publicAccessLink: 'Public Access Link', publicAccessLink: 'Public URL',
openText: 'On', openText: 'On',
closeText: 'Off', closeText: 'Off',
copyLinkText: 'Copy Link', copyLinkText: 'Copy Link',
refreshLinkText: 'Refresh Link', refreshLinkText: 'Refresh Link',
demo: 'Demo', demo: 'Preview',
embedInWebsite: 'Embed in website', embedInWebsite: 'Get Embed Code',
accessControl: 'Access Control', accessControl: 'Access Control',
displaySetting: 'Display Settings', displaySetting: 'Display Settings',
apiAccessCredentials: 'API Access Credentials', apiAccessCredentials: 'API Access Credentials',
apiKey: 'API Key', apiKey: 'API Key',
refreshToken: { refreshToken: {
msgConfirm1: 'Do you want to regenerate the public access link?', msgConfirm1: 'Are you sure you want to regenerate the public URL?',
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 URL will affect any existing embedded codes on third-party sites. You will need to update the embed code and re-integrate it into those sites. Proceed with caution!',
refreshSuccess: 'Successful' refreshSuccess: 'Successfully Refreshed'
}, },
APIKeyDialog: { APIKeyDialog: {
saveSettings: 'Save Settings', 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: msgConfirm2:
'Deleting the API key cannot be undone. Please confirm if you want to delete it!', 'This action is irreversible. Once deleted, the API Key cannot be recovered. Do you still want to proceed?',
enabledSuccess: 'Enabled', enabledSuccess: 'Enabled',
disabledSuccess: 'Disabled' disabledSuccess: 'Disabled'
}, },
EditAvatarDialog: { EditAvatarDialog: {
title: 'Edit Logo', title: 'App Logo',
customizeUpload: 'Custom Upload', customizeUpload: 'Custom Upload',
upload: 'Upload', upload: 'Upload',
default: 'Default Logo', default: 'Default Logo',
custom: 'Custom', custom: 'Custom',
sizeTip: 'Suggested size 32*32, supports jpg, png, gif, size no more than 10 MB', sizeTip:
'Recommended size: 32×32 pixels. Supports JPG, PNG, and GIF formats. Max size: 10 MB',
fileSizeExceeded: 'File size exceeds 10 MB', fileSizeExceeded: 'File size exceeds 10 MB',
uploadImagePrompt: 'Please upload an image' uploadImagePrompt: 'Please upload an image'
}, },
EmbedDialog: { EmbedDialog: {
fullscreenModeTitle: 'Fullscreen Mode', fullscreenModeTitle: 'Fullscreen Mode',
copyInstructions: 'Copy the following code to embed', copyInstructions: 'Copy the code below to embed',
floatingModeTitle: 'Floating Mode' floatingModeTitle: 'Floating Mode'
}, },
LimitDialog: { LimitDialog: {
dialogTitle: 'Access Restrictions', dialogTitle: 'Access Restrictions',
showSourceLabel: 'Show Return Knowledge Reference', showSourceLabel: 'Show Knowledge Source',
clientQueryLimitLabel: 'Limit the number of messages for each client', clientQueryLimitLabel: 'Query Limit per Client',
authentication: 'Authentication', authentication: 'Authentication',
authenticationValue: 'Authentication Password', authenticationValue: 'Access Password',
timesDays: 'messages per day', timesDays: 'queries per day',
whitelistLabel: 'Whitelist', whitelistLabel: 'Allowed Domains',
whitelistPlaceholder: whitelistPlaceholder:
'Please enter allowed third-party source addresses, one per line, such as:\nhttp://127.0.0.1:5678\nhttps://dataease.io' 'Enter allowed third-party domains, one per line. For example:\nhttp://127.0.0.1:5678\nhttps://dataease.io'
}, },
SettingAPIKeyDialog: { SettingAPIKeyDialog: {
allowCrossDomainLabel: 'Allow Cross-Domain Address', allowCrossDomainLabel: 'Allow Cross-Domain Access',
crossDomainPlaceholder: crossDomainPlaceholder:
'Please enter allowed cross-domain addresses, if open without inputting addresses, there are no restrictions.\nCross-domain addresses one per line, such as:\nhttp://127.0.0.1:5678\nhttps://dataease.io' 'Enter allowed cross-domain addresses. If enabled but left blank, no restrictions will apply.\nEnter one per line, e.g.:\nhttp://127.0.0.1:5678\nhttps://dataease.io'
}, },
SettingDisplayDialog: { SettingDisplayDialog: {
dialogTitle: 'Display Settings', dialogTitle: 'Display Settings',
languageLabel: 'Language', languageLabel: 'Language',
showSourceLabel: 'Show Return Knowledge Reference', showSourceLabel: 'Show Knowledge Source',
showExecutionDetail: 'Show Execution Detail', showExecutionDetail: 'Show Execution Details',
restoreDefault: 'Reset to default', restoreDefault: 'Restore Default',
customThemeColor: 'Custom Theme Color', customThemeColor: 'Custom Theme Color',
headerTitleFontColor: 'Header Title Font Color', headerTitleFontColor: 'Header Title Font Color',
default: 'Default', default: 'Default',
askUserAvatar: 'Questioner\'s Avatar', askUserAvatar: 'User Avatar (Asking)',
replace: 'Replace', replace: 'Replace',
imageMessage: 'Suggested size 32*32, supports jpg, png, gif, size no more than 10 MB', imageMessage:
'Recommended size: 32×32 pixels. Supports JPG, PNG, and GIF formats. Max size: 10 MB',
AIAvatar: 'AI Avatar', AIAvatar: 'AI Avatar',
floatIcon: 'Floating Icon', floatIcon: 'Floating Icon',
iconDefaultPosition: 'Icon Default Position', iconDefaultPosition: 'Default Icon Position',
iconPosition: { iconPosition: {
left: 'Left', left: 'Left',
right: 'Right', right: 'Right',
@ -81,10 +83,9 @@ export default {
}, },
draggablePosition: 'Draggable Position', draggablePosition: 'Draggable Position',
showHistory: 'Show Chat History', showHistory: 'Show Chat History',
displayGuide: 'Display guide image (floating window mode)', displayGuide: 'Show Guide Image (Floating Mode)',
disclaimer: 'Disclaimer', disclaimer: 'Disclaimer',
disclaimerValue: disclaimerValue: 'This content is AI-generated and for reference only.'
'「The above content is generated by AI and is for reference and reference only.」'
} }
}, },
monitor: { monitor: {
@ -100,11 +101,11 @@ export default {
other: 'Custom' other: 'Custom'
}, },
charts: { charts: {
customerTotal: 'Total Customers', customerTotal: 'Total Users',
customerNew: 'New Customers', customerNew: 'New Users',
queryCount: 'Total Chats', queryCount: 'Total Queries',
tokensTotal: 'Total Tokens', tokensTotal: 'Total Tokens Used',
userSatisfaction: 'User Satisfaction Rate', userSatisfaction: 'User Feedback Metrics',
approval: 'Approval', approval: 'Approval',
disapproval: 'Disapproval' disapproval: 'Disapproval'
} }