Skip to content

Commit 9001beb

Browse files
committed
feat: Locations
1 parent d8ca74a commit 9001beb

File tree

3 files changed

+112
-3
lines changed

3 files changed

+112
-3
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
11
export default {
22
title: 'Resource Authorization',
3+
member:'Member',
4+
manage: 'Owner',
5+
permissionSetting: 'Permission Setting',
6+
addMember: 'Add Member',
7+
addSubTitle: 'After members log in,they can access the data you have authorized.',
8+
searchBar: {
9+
placeholder: 'Please enter the username to search'
10+
},
11+
delete: {
12+
button: 'Remove',
13+
confirmTitle: 'Wheather to remove the member:',
14+
confirmMessage: "After removal, the member's knowledge base and application permissions will be revoked. "
15+
},
16+
setting: {
17+
management: ' management',
18+
check: 'check'
19+
},
20+
teamForm: {
21+
form: {
22+
userName: {
23+
label: 'Username/Email',
24+
placeholder: "Please enter the member's username or email",
25+
requiredMessage: 'Please enter Username/Email',
26+
},
27+
28+
},
29+
30+
}
331
}
32+

ui/src/locales/lang/en-US/views/role.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ export default {
1717
moduleName: 'Module name'
1818
},
1919
member: {
20-
title: 'Members'
20+
title: 'Members',
21+
add: 'Add Member',
22+
workspace: 'worksapce',
23+
role: 'role',
24+
delete: {
25+
button: 'remove',
26+
confirmTitle: 'Whether to remove the member:',
2127
}
22-
};
28+
}
29+
}

ui/src/locales/lang/en-US/views/system.ts

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
export default {
22
title: 'System',
3+
subTitle: 'Syetem Settings',
4+
shared: 'Shared',
5+
shared_resources: 'Shared Resources',
6+
share_knowledge: 'Shared Knowledge',
7+
authorized_workspace: 'Authorize Workspace',
38
test: 'Test Connection',
49
testSuccess: 'Successful',
510
testFailed: 'Test connection failed',
@@ -92,6 +97,46 @@ export default {
9297
setting: ' Setting',
9398
access: 'Access'
9499
}
100+
},
101+
theme: {
102+
title: 'Appearance Settings',
103+
platformDisplayTheme: 'Platform Display Theme',
104+
customTheme: 'Custom Theme',
105+
platformLoginSettings: 'Platform Login Settings',
106+
custom: 'Custom',
107+
pagePreview: 'Page Preview',
108+
default: 'Default',
109+
restoreDefaults: 'Restore Defaults',
110+
orange: 'Orange',
111+
green: 'Green',
112+
purple: 'Purole',
113+
red: 'Red',
114+
loginBackground: 'Login Background',
115+
loginLogo: 'Login Logo',
116+
websiteLogo: 'Website Logo',
117+
replacePicture: 'Replace Picture',
118+
websiteLogoTip: "The logo displayed on the top of the website. The recommended size is 48*48. It supports JPG, PNG, and GIF formats, with a size not exceeding 10MB.",
119+
loginLogoTip: "Login page right-side logo. Recommended size is 204*52. Supports JPG, PNG, GIF formats, with a maximum file size of 10 MB.",
120+
loginBackgroundTip:
121+
'Left background image, vector image recommended size 576 * 900, bitmap recommended size 1152 * 1800; Supports JPG, PNG, GIF, with a size not exceeding 10 MB.',
122+
websiteName: 'Website Name',
123+
websiteNamePlaceholder: 'Please enter the WebsiteName',
124+
websiteNameTip: 'The platform name displayed on the web page tab.',
125+
websiteSlogan: 'Welcome Slogan',
126+
websiteSloganPlaceholder: 'Please enter the Welcome Slogan',
127+
websiteSloganTip: 'Welcome message under the product logo',
128+
defaultSlogan: 'Welcome to MaxKB Open Source AI Assistant',
129+
logoDefaultTip: 'Default is MaxKB login interface, supports custom settings',
130+
defaultTip: 'Default is MaxKB platform interface, supports custom settings',
131+
platformSetting: 'Platform Setting',
132+
showUserManual: 'Show User Manual',
133+
showForum: 'Show Forum',
134+
showProject: 'Show Project Address',
135+
urlPlaceholder: 'Please enter URL address',
136+
abandonUpdate: 'Abandon Update',
137+
saveAndApply: 'Save and Apply',
138+
fileMessageError: 'The file size exceeds 10M',
139+
saveSuccess: 'Appearance setting successful',
95140
},
96141
email: {
97142
title: 'Email Settings',
@@ -107,5 +152,33 @@ export default {
107152
smtpPasswordPlaceholder: 'Please enter SMTP password',
108153
enableSSL: 'Enable SSL (if the SMTP port is 465, you usually need to enable SSL)',
109154
enableTLS: 'Enable TLS (if the SMTP port is 587, you usually need to enable TLS)'
110-
}
155+
},
156+
group: {
157+
title: 'Team Member',
158+
member: 'Member',
159+
manage: 'Owner',
160+
permissionSetting: 'Permission Setting',
161+
addMember: 'Add Member',
162+
addSubTitle: 'Members can access the data authorized by you after logging in',
163+
searchBar: {
164+
placeholder: 'Please enter username to search',
165+
},
166+
delete: {
167+
button: 'Remove',
168+
confirmTitle: 'Wheather to remove the member:',
169+
confirmMessage: "After removal, the member's knowledge base and application permissions will be revoked.",
170+
},
171+
setting: {
172+
management: 'manegement',
173+
check: 'check',
174+
},
175+
176+
form: {
177+
userName: {
178+
label: 'Username/Email',
179+
placeholder: "Please enter the member's username or email",
180+
requiredMessage: 'Please enter Username/Email',
181+
},
182+
},
183+
},
111184
}

0 commit comments

Comments
 (0)