Merge pull request #12999 from dataease/pr@dev-v2_dzz

feat: 国际化
This commit is contained in:
dataeaseShu 2024-10-30 13:34:40 +08:00 committed by GitHub
commit a3c7092c0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 67 additions and 2 deletions

View File

@ -164,7 +164,40 @@ export default {
'Logo on the right side of the login page, recommended size 204 x 52, support JPG, PNG, SVG, size not exceeding 200KB',
not_exceeding_5m_de:
'Background image on the left, recommended size 640 x 900 for vector graphics, recommended size 1280 x 1800 for bitmaps; support JPG, PNG, SVG, size not exceeding 5M',
tab: 'Tab'
tab: 'Tab',
incorrect_please_re_enter: 'The callback domain name format is incorrect, please re-enter',
cas_settings: 'CAS settings',
callback_domain_name: 'Callback domain name',
authentication_settings: 'Authentication settings',
be_turned_on: 'After the test connection is valid, it can be turned on',
platform_information_first: 'Please save the platform information first',
for_example: 'For example: {"account":"uid","name":"cn","email":"mail"}',
in_json_format: 'Please enter in json format',
ldap_settings: 'LDAP settings',
ldap_address: 'LDAP address',
such_as_ldap: 'LDAP address (such as ldap://127.0.0.1:389)',
bind_dn: 'Bind DN',
user_ou: 'User OU',
separate_each_ou: 'OU (use | to separate each OU)',
user_filter: 'User filter',
such_as_uid:
'Filter [Possible options are cn or uid or sAMAccountName={0}, such as: (uid={0})]',
ldap_attribute_mapping: 'LDAP attribute mapping',
incorrect_please_re_enter_de: 'The url format is incorrect, please re-enter',
oauth2_settings: 'OAUTH2 settings',
authorization_end_address: 'Authorization end address',
token_end_address: 'Token end address',
information_end_address: 'User information end address',
connection_range: 'Connection range',
client_id: 'Client ID',
client_key: 'Client key',
callback_address: 'Callback address',
field_mapping: 'Field mapping',
oauth2name: 'For example: {"account": "oauth2Account", "name": "oauth2Name", "email": "email"}',
oidc_settings: 'OIDC settings',
test_mail_recipient: '仅用来作为测试邮件收件人',
to_enable_ssl: '如果SMTP端口是 465 通常需要启用SSL',
to_enable_tsl: '如果SMTP端口是 587 通常需要启用TSL'
},
components: {
dashboard_style: 'Dashboard style',

View File

@ -506,7 +506,39 @@ export default {
'登录页面右侧 Logo建议尺寸 204 x 52支持 JPGPNGSVG大小不超过 200KB',
not_exceeding_5m_de:
'左侧背景图矢量图建议尺寸 640 x 900位图建议尺寸 1280 x 1800支持 JPGPNGSVG大小不超过 5M',
tab: '页签'
tab: '页签',
incorrect_please_re_enter: '回调域名格式错误请重新输入',
cas_settings: 'CAS设置',
callback_domain_name: '回调域名',
authentication_settings: '认证设置',
be_turned_on: '测试连接有效后可开启',
platform_information_first: '请先保存平台信息',
for_example: '{"account":"uid","name":"cn","email":"mail"}',
in_json_format: '请输入json格式',
ldap_settings: 'LDAP设置',
ldap_address: 'LDAP地址',
such_as_ldap: 'LDAP地址 ldap://127.0.0.1:389',
bind_dn: '绑定DN',
user_ou: '用户OU',
separate_each_ou: 'OU使用|分割各OU',
user_filter: '用户过滤器',
such_as_uid: '过滤器 [可能的选项是cn或uid或sAMAccountName={0}, (uid={0})]',
ldap_attribute_mapping: 'LDAP属性映射',
incorrect_please_re_enter_de: 'url格式错误请重新输入',
oauth2_settings: 'OAUTH2设置',
authorization_end_address: '授权端地址',
token_end_address: 'Token 端地址',
information_end_address: '用户信息端地址',
connection_range: '连接范围',
client_id: '客户端 ID',
client_key: '客户端密钥',
callback_address: '回调地址',
field_mapping: '字段映射',
oauth2name: '例如{"account": "oauth2Account", "name": "oauth2Name", "email": "email"}',
oidc_settings: 'OIDC设置',
test_mail_recipient: '仅用来作为测试邮件收件人',
to_enable_ssl: '如果SMTP端口是 465 通常需要启用SSL',
to_enable_tsl: '如果SMTP端口是 587 通常需要启用TSL'
},
components: {
dashboard_style: '仪表板风格',