Skip to content

Commit bf12d2b

Browse files
authored
chore: improve UI translation for workflow application overview page (#2156)
1 parent 88718c7 commit bf12d2b

File tree

1 file changed

+35
-34
lines changed

1 file changed

+35
-34
lines changed

ui/src/locales/lang/en-US/views/application-overview.ts

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,80 @@
11
export default {
22
title: 'Overview',
33
appInfo: {
4-
header: 'APP Info',
5-
publicAccessLink: 'Public Access Link',
4+
header: 'App Information',
5+
publicAccessLink: 'Public URL',
66
openText: 'On',
77
closeText: 'Off',
88
copyLinkText: 'Copy Link',
99
refreshLinkText: 'Refresh Link',
10-
demo: 'Demo',
11-
embedInWebsite: 'Embed in website',
10+
demo: 'Preview',
11+
embedInWebsite: 'Get Embed Code',
1212
accessControl: 'Access Control',
1313
displaySetting: 'Display Settings',
1414
apiAccessCredentials: 'API Access Credentials',
1515
apiKey: 'API Key',
1616
refreshToken: {
17-
msgConfirm1: 'Do you want to regenerate the public access link?',
17+
msgConfirm1: 'Are you sure you want to regenerate the public URL?',
1818
msgConfirm2:
19-
'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!',
20-
refreshSuccess: 'Successful'
19+
'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!',
20+
refreshSuccess: 'Successfully Refreshed'
2121
},
2222
APIKeyDialog: {
2323
saveSettings: 'Save Settings',
24-
msgConfirm1: 'Are you sure you want to delete the API key ',
24+
msgConfirm1: 'Are you sure you want to delete the API Key?',
2525
msgConfirm2:
26-
'Deleting the API key cannot be undone. Please confirm if you want to delete it!',
26+
'This action is irreversible. Once deleted, the API Key cannot be recovered. Do you still want to proceed?',
2727
enabledSuccess: 'Enabled',
2828
disabledSuccess: 'Disabled'
2929
},
3030
EditAvatarDialog: {
31-
title: 'Edit Logo',
31+
title: 'App Logo',
3232
customizeUpload: 'Custom Upload',
3333
upload: 'Upload',
3434
default: 'Default Logo',
3535
custom: 'Custom',
36-
sizeTip: 'Suggested size 32*32, supports jpg, png, gif, size no more than 10 MB',
36+
sizeTip:
37+
'Recommended size: 32×32 pixels. Supports JPG, PNG, and GIF formats. Max size: 10 MB',
3738
fileSizeExceeded: 'File size exceeds 10 MB',
3839
uploadImagePrompt: 'Please upload an image'
3940
},
4041
EmbedDialog: {
4142
fullscreenModeTitle: 'Fullscreen Mode',
42-
copyInstructions: 'Copy the following code to embed',
43+
copyInstructions: 'Copy the code below to embed',
4344
floatingModeTitle: 'Floating Mode'
4445
},
4546
LimitDialog: {
4647
dialogTitle: 'Access Restrictions',
47-
showSourceLabel: 'Show Return Knowledge Reference',
48-
clientQueryLimitLabel: 'Limit the number of messages for each client',
48+
showSourceLabel: 'Show Knowledge Source',
49+
clientQueryLimitLabel: 'Query Limit per Client',
4950
authentication: 'Authentication',
50-
authenticationValue: 'Authentication Password',
51-
timesDays: 'messages per day',
52-
whitelistLabel: 'Whitelist',
51+
authenticationValue: 'Access Password',
52+
timesDays: 'queries per day',
53+
whitelistLabel: 'Allowed Domains',
5354
whitelistPlaceholder:
54-
'Please enter allowed third-party source addresses, one per line, such as:\nhttp://127.0.0.1:5678\nhttps://dataease.io'
55+
'Enter allowed third-party domains, one per line. For example:\nhttp://127.0.0.1:5678\nhttps://dataease.io'
5556
},
5657
SettingAPIKeyDialog: {
57-
allowCrossDomainLabel: 'Allow Cross-Domain Address',
58+
allowCrossDomainLabel: 'Allow Cross-Domain Access',
5859
crossDomainPlaceholder:
59-
'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'
60+
'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'
6061
},
6162
SettingDisplayDialog: {
6263
dialogTitle: 'Display Settings',
6364
languageLabel: 'Language',
64-
showSourceLabel: 'Show Return Knowledge Reference',
65-
showExecutionDetail: 'Show Execution Detail',
66-
restoreDefault: 'Reset to default',
65+
showSourceLabel: 'Show Knowledge Source',
66+
showExecutionDetail: 'Show Execution Details',
67+
restoreDefault: 'Restore Default',
6768
customThemeColor: 'Custom Theme Color',
6869
headerTitleFontColor: 'Header Title Font Color',
6970
default: 'Default',
70-
askUserAvatar: 'Questioner\'s Avatar',
71+
askUserAvatar: 'User Avatar (Asking)',
7172
replace: 'Replace',
72-
imageMessage: 'Suggested size 32*32, supports jpg, png, gif, size no more than 10 MB',
73+
imageMessage:
74+
'Recommended size: 32×32 pixels. Supports JPG, PNG, and GIF formats. Max size: 10 MB',
7375
AIAvatar: 'AI Avatar',
7476
floatIcon: 'Floating Icon',
75-
iconDefaultPosition: 'Icon Default Position',
77+
iconDefaultPosition: 'Default Icon Position',
7678
iconPosition: {
7779
left: 'Left',
7880
right: 'Right',
@@ -81,10 +83,9 @@ export default {
8183
},
8284
draggablePosition: 'Draggable Position',
8385
showHistory: 'Show Chat History',
84-
displayGuide: 'Display guide image (floating window mode)',
86+
displayGuide: 'Show Guide Image (Floating Mode)',
8587
disclaimer: 'Disclaimer',
86-
disclaimerValue:
87-
'「The above content is generated by AI and is for reference and reference only.」'
88+
disclaimerValue: 'This content is AI-generated and for reference only.'
8889
}
8990
},
9091
monitor: {
@@ -100,11 +101,11 @@ export default {
100101
other: 'Custom'
101102
},
102103
charts: {
103-
customerTotal: 'Total Customers',
104-
customerNew: 'New Customers',
105-
queryCount: 'Total Chats',
106-
tokensTotal: 'Total Tokens',
107-
userSatisfaction: 'User Satisfaction Rate',
104+
customerTotal: 'Total Users',
105+
customerNew: 'New Users',
106+
queryCount: 'Total Queries',
107+
tokensTotal: 'Total Tokens Used',
108+
userSatisfaction: 'User Feedback Metrics',
108109
approval: 'Approval',
109110
disapproval: 'Disapproval'
110111
}

0 commit comments

Comments
 (0)