mirror of https://github.com/jumpserver/jumpserver
perf: 修改翻译
parent
327cdc8604
commit
ea67312877
|
@ -574,7 +574,7 @@
|
||||||
"JobManagement": "Jobs",
|
"JobManagement": "Jobs",
|
||||||
"JobUpdate": "Update the Job",
|
"JobUpdate": "Update the Job",
|
||||||
"KingSoftCloud": "KingSoft Cloud",
|
"KingSoftCloud": "KingSoft Cloud",
|
||||||
"KokoSettingUpdate": "Koko Configuration Settings",
|
"KokoSettingUpdate": "Koko",
|
||||||
"LAN": "Bulk Account Add Results",
|
"LAN": "Bulk Account Add Results",
|
||||||
"LDAPUser": "LDAP Users",
|
"LDAPUser": "LDAP Users",
|
||||||
"Label": "Label",
|
"Label": "Label",
|
||||||
|
@ -617,7 +617,7 @@
|
||||||
"LoginImageTip": "Note: It will appear on the enterprise user login page (recommended image size: 492*472px)",
|
"LoginImageTip": "Note: It will appear on the enterprise user login page (recommended image size: 492*472px)",
|
||||||
"LoginLog": "Login Log",
|
"LoginLog": "Login Log",
|
||||||
"LoginNum": "Login Count",
|
"LoginNum": "Login Count",
|
||||||
"LoginPasswordSetting": "Login Password Settings",
|
"LoginPasswordSetting": "Login Password",
|
||||||
"LoginRequiredMsg": "The account has logged out, please log in again.",
|
"LoginRequiredMsg": "The account has logged out, please log in again.",
|
||||||
"LoginSucceeded": "Login Successful",
|
"LoginSucceeded": "Login Successful",
|
||||||
"LoginTitleTip": "Note: It will be displayed on the enterprise edition user SSH login KoKo login page (e.g.: Welcome to use JumpServer Open Source Bastion)",
|
"LoginTitleTip": "Note: It will be displayed on the enterprise edition user SSH login KoKo login page (e.g.: Welcome to use JumpServer Open Source Bastion)",
|
||||||
|
@ -629,7 +629,7 @@
|
||||||
"Logout": "Logout",
|
"Logout": "Logout",
|
||||||
"LogsAudit": "Log auditing",
|
"LogsAudit": "Log auditing",
|
||||||
"Lowercase": "Lowercase",
|
"Lowercase": "Lowercase",
|
||||||
"LunaSettingUpdate": "Luna Configuration Settings",
|
"LunaSettingUpdate": "Luna",
|
||||||
"MFAErrorMsg": "MFA errors, please check",
|
"MFAErrorMsg": "MFA errors, please check",
|
||||||
"MFAOfUserFirstLoginPersonalInformationImprovementPage": "Enable multi-factor authentication to make your account more secure. <br/>After enabling, you will enter the multi-factor authentication binding process the next time you log in; you can also directly bind in (Personal Information->Quick Modification->Change Multi-factor Settings)!",
|
"MFAOfUserFirstLoginPersonalInformationImprovementPage": "Enable multi-factor authentication to make your account more secure. <br/>After enabling, you will enter the multi-factor authentication binding process the next time you log in; you can also directly bind in (Personal Information->Quick Modification->Change Multi-factor Settings)!",
|
||||||
"MFAOfUserFirstLoginUserGuidePage": "In order to protect your and the company's security, please carefully safeguard important sensitive information such as your account, password, and key (for example, set a complex password, and enable multi-factor authentication) <br/> Personal information such as email, mobile number, and WeChat are only used for user authentication and platform internal message notifications.",
|
"MFAOfUserFirstLoginUserGuidePage": "In order to protect your and the company's security, please carefully safeguard important sensitive information such as your account, password, and key (for example, set a complex password, and enable multi-factor authentication) <br/> Personal information such as email, mobile number, and WeChat are only used for user authentication and platform internal message notifications.",
|
||||||
|
@ -707,8 +707,8 @@
|
||||||
"Offline": "Offline",
|
"Offline": "Offline",
|
||||||
"OfflineSuccessMsg": "Offline Successfully",
|
"OfflineSuccessMsg": "Offline Successfully",
|
||||||
"OfflineUpload": "Offline Upload",
|
"OfflineUpload": "Offline Upload",
|
||||||
"OldPassword": "Original Password",
|
"OldPassword": "Old Password",
|
||||||
"OldSSHKey": "Original SSH Public Key",
|
"OldSSHKey": "Old SSH Public Key",
|
||||||
"OneAssignee": "First-Level Approver",
|
"OneAssignee": "First-Level Approver",
|
||||||
"OneAssigneeType": "First-Level Handler Type",
|
"OneAssigneeType": "First-Level Handler Type",
|
||||||
"OneClickReadMsg": "Are you sure you want to mark the current information as read?",
|
"OneClickReadMsg": "Are you sure you want to mark the current information as read?",
|
||||||
|
@ -924,7 +924,7 @@
|
||||||
"SMTP": "Email Server",
|
"SMTP": "Email Server",
|
||||||
"SSHKey": "SSH Key",
|
"SSHKey": "SSH Key",
|
||||||
"SSHKeyOfProfileSSHUpdatePage": "Copy Your Public Key Here",
|
"SSHKeyOfProfileSSHUpdatePage": "Copy Your Public Key Here",
|
||||||
"SSHKeySetting": "SSH Key Settings",
|
"SSHKeySetting": "SSH Key",
|
||||||
"SSHPort": "SSH Port",
|
"SSHPort": "SSH Port",
|
||||||
"SSHSecretKey": "SSH Key",
|
"SSHSecretKey": "SSH Key",
|
||||||
"SafeCommand": "Secure Command",
|
"SafeCommand": "Secure Command",
|
||||||
|
@ -1181,7 +1181,7 @@
|
||||||
"UserGroupList": "Groups",
|
"UserGroupList": "Groups",
|
||||||
"UserGroupUpdate": "Update the User Group",
|
"UserGroupUpdate": "Update the User Group",
|
||||||
"UserGroups": "User Groups",
|
"UserGroups": "User Groups",
|
||||||
"UserInformation": "User Information",
|
"UserInformation": "User Info",
|
||||||
"UserList": "Users",
|
"UserList": "Users",
|
||||||
"UserLoginACLHelpMsg": "When logging into the system, the user's login IP and time range can be audited to determine whether they are allowed to log into the system (effective globally)",
|
"UserLoginACLHelpMsg": "When logging into the system, the user's login IP and time range can be audited to determine whether they are allowed to log into the system (effective globally)",
|
||||||
"UserLoginAclCreate": "Create a User Login Control",
|
"UserLoginAclCreate": "Create a User Login Control",
|
||||||
|
|
|
@ -118,6 +118,7 @@ class UserProfileSerializer(UserSerializer):
|
||||||
]
|
]
|
||||||
fields = UserSerializer.Meta.fields + [
|
fields = UserSerializer.Meta.fields + [
|
||||||
'public_key_comment', 'public_key_hash_md5', 'guide_url',
|
'public_key_comment', 'public_key_hash_md5', 'guide_url',
|
||||||
|
"wecom_id", "dingtalk_id", "feishu_id", "slack_id",
|
||||||
] + read_only_fields
|
] + read_only_fields
|
||||||
|
|
||||||
extra_kwargs = dict(UserSerializer.Meta.extra_kwargs)
|
extra_kwargs = dict(UserSerializer.Meta.extra_kwargs)
|
||||||
|
|
|
@ -120,8 +120,7 @@ class UserSerializer(RolesSerializerMixin, ResourceLabelsMixin, CommonBulkModelS
|
||||||
]
|
]
|
||||||
# small 指的是 不需要计算的直接能从一张表中获取到的数据
|
# small 指的是 不需要计算的直接能从一张表中获取到的数据
|
||||||
fields_small = fields_mini + fields_write_only + [
|
fields_small = fields_mini + fields_write_only + [
|
||||||
"email", "wechat", "phone", "mfa_level", "source",
|
"email", "phone", "mfa_level", "source",
|
||||||
"wecom_id", "dingtalk_id", "feishu_id", "slack_id",
|
|
||||||
"created_by", "updated_by", "comment", # 通用字段
|
"created_by", "updated_by", "comment", # 通用字段
|
||||||
]
|
]
|
||||||
fields_date = [
|
fields_date = [
|
||||||
|
|
Loading…
Reference in New Issue