mirror of https://github.com/jumpserver/jumpserver
perf: 修改一些翻译
parent
96f92f0908
commit
9d80aed468
File diff suppressed because it is too large
Load Diff
|
@ -15,7 +15,6 @@
|
||||||
"AccountExportTips": "The exported information contains sensitive information such as encrypted account numbers. The exported format is an encrypted zip file (if you have not set the encryption password, please go to Personal Info to set the file encryption password).",
|
"AccountExportTips": "The exported information contains sensitive information such as encrypted account numbers. The exported format is an encrypted zip file (if you have not set the encryption password, please go to Personal Info to set the file encryption password).",
|
||||||
"AccountGatherList": "Collection Task",
|
"AccountGatherList": "Collection Task",
|
||||||
"AccountGatherTaskCreate": "Create Task",
|
"AccountGatherTaskCreate": "Create Task",
|
||||||
"GatheredAccounts": "Collected Accounts",
|
|
||||||
"AccountGatherTaskList": "Account Collect",
|
"AccountGatherTaskList": "Account Collect",
|
||||||
"AccountGatherTaskUpdate": "Update Task",
|
"AccountGatherTaskUpdate": "Update Task",
|
||||||
"AccountList": "Cloud Account",
|
"AccountList": "Cloud Account",
|
||||||
|
@ -25,7 +24,8 @@
|
||||||
"AccountPushList": "Account Push",
|
"AccountPushList": "Account Push",
|
||||||
"AccountPushUpdate": "Update Account Push",
|
"AccountPushUpdate": "Update Account Push",
|
||||||
"AccountStorage": "Account Storage",
|
"AccountStorage": "Account Storage",
|
||||||
"AccountTemplate": "Account Template",
|
"AccountTemplate": "Template",
|
||||||
|
"AccountTemplateList": "Templates",
|
||||||
"AccountTemplateUpdateSecretHelpText": "The account list shows the accounts created through the template. When the secret is updated, the ciphertext of the accounts created through the template will be updated.",
|
"AccountTemplateUpdateSecretHelpText": "The account list shows the accounts created through the template. When the secret is updated, the ciphertext of the accounts created through the template will be updated.",
|
||||||
"AccountUpdate": "Update Account",
|
"AccountUpdate": "Update Account",
|
||||||
"Accounts": "Account",
|
"Accounts": "Account",
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
"ActiveAsset": "Recently Logged in",
|
"ActiveAsset": "Recently Logged in",
|
||||||
"ActiveAssetRanking": "Login Asset Ranking",
|
"ActiveAssetRanking": "Login Asset Ranking",
|
||||||
"ActiveUser": "Logged in recently",
|
"ActiveUser": "Logged in recently",
|
||||||
"Activity": "Action",
|
"Activity": "Activities",
|
||||||
"Add": "Add",
|
"Add": "Add",
|
||||||
"AddAccount": "Add Account",
|
"AddAccount": "Add Account",
|
||||||
"AddAccountResult": "Second-Level Approver",
|
"AddAccountResult": "Second-Level Approver",
|
||||||
|
@ -131,7 +131,7 @@
|
||||||
"AssetPermissionCreate": "Create Asset Authorization Rule",
|
"AssetPermissionCreate": "Create Asset Authorization Rule",
|
||||||
"AssetPermissionDetail": "Asset Authorization Details",
|
"AssetPermissionDetail": "Asset Authorization Details",
|
||||||
"AssetPermissionHelpMsg": "Asset authorization allows you to select users and assets, grant the assets to users for access. Once completed, users can conveniently view these assets. Additionally, you can set specific permissions to further define the users' rights to the assets.",
|
"AssetPermissionHelpMsg": "Asset authorization allows you to select users and assets, grant the assets to users for access. Once completed, users can conveniently view these assets. Additionally, you can set specific permissions to further define the users' rights to the assets.",
|
||||||
"AssetPermissionRules": "Asset Authorization Rules",
|
"AssetPermissionRules": "Authorization Rules",
|
||||||
"AssetPermissionUpdate": "Update Asset Authorization Rules",
|
"AssetPermissionUpdate": "Update Asset Authorization Rules",
|
||||||
"AssetProtocolHelpText": "The protocols supported by the assets are restricted by the platform, click the settings button to view the protocol settings. If updates are required, please update the platform",
|
"AssetProtocolHelpText": "The protocols supported by the assets are restricted by the platform, click the settings button to view the protocol settings. If updates are required, please update the platform",
|
||||||
"AssetTree": "Asset Tree",
|
"AssetTree": "Asset Tree",
|
||||||
|
@ -167,7 +167,7 @@
|
||||||
"BaiduCloud": "Baidu Cloud",
|
"BaiduCloud": "Baidu Cloud",
|
||||||
"BasePort": "Listening Ports",
|
"BasePort": "Listening Ports",
|
||||||
"Basic": "Basic",
|
"Basic": "Basic",
|
||||||
"BasicInfo": "Basic Information",
|
"BasicInfo": "Basic Info",
|
||||||
"BasicSetting": "Basic",
|
"BasicSetting": "Basic",
|
||||||
"BatchConsent": "Batch Approval",
|
"BatchConsent": "Batch Approval",
|
||||||
"BatchProcessing": "Bulk Processing (Selected {Number} Items)",
|
"BatchProcessing": "Bulk Processing (Selected {Number} Items)",
|
||||||
|
@ -212,7 +212,7 @@
|
||||||
"ChangeSecretParams": "Change Password Parameters",
|
"ChangeSecretParams": "Change Password Parameters",
|
||||||
"ChangeViewHelpText": "Click to Switch Different Views",
|
"ChangeViewHelpText": "Click to Switch Different Views",
|
||||||
"Chat": "Chat",
|
"Chat": "Chat",
|
||||||
"ChatAI": "Smart Q&A",
|
"ChatAI": "Chat AI",
|
||||||
"ChatHello": "Hello! How can I assist you?",
|
"ChatHello": "Hello! How can I assist you?",
|
||||||
"ChdirHelpText": "By Default, the execution directory is the user's home directory",
|
"ChdirHelpText": "By Default, the execution directory is the user's home directory",
|
||||||
"CheckAssetsAmount": "Check Asset Quantity",
|
"CheckAssetsAmount": "Check Asset Quantity",
|
||||||
|
@ -227,7 +227,7 @@
|
||||||
"ClickCopy": "Click to Copy",
|
"ClickCopy": "Click to Copy",
|
||||||
"ClientCertificate": "Client certificate",
|
"ClientCertificate": "Client certificate",
|
||||||
"ClipboardCopyPaste": "Clipboard Copy and Paste",
|
"ClipboardCopyPaste": "Clipboard Copy and Paste",
|
||||||
"Clone": "Clone",
|
"Clone": "Duplicate",
|
||||||
"CloneFrom": "Duplicate",
|
"CloneFrom": "Duplicate",
|
||||||
"Close": "Close",
|
"Close": "Close",
|
||||||
"CloseConfirm": "Confirm Close",
|
"CloseConfirm": "Confirm Close",
|
||||||
|
@ -391,7 +391,6 @@
|
||||||
"Edit": "Edit",
|
"Edit": "Edit",
|
||||||
"Edition": "Version",
|
"Edition": "Version",
|
||||||
"Email": "Email",
|
"Email": "Email",
|
||||||
"FieldRequiredError": "This field is required",
|
|
||||||
"EmailContent": "Custom Email Content",
|
"EmailContent": "Custom Email Content",
|
||||||
"EmailTest": "Test Connection",
|
"EmailTest": "Test Connection",
|
||||||
"Empty": "Empty",
|
"Empty": "Empty",
|
||||||
|
@ -442,6 +441,7 @@
|
||||||
"Features": "Features",
|
"Features": "Features",
|
||||||
"FeiShu": "Feishu",
|
"FeiShu": "Feishu",
|
||||||
"FeiShuTest": "Test",
|
"FeiShuTest": "Test",
|
||||||
|
"FieldRequiredError": "This field is required",
|
||||||
"FileManager": "File",
|
"FileManager": "File",
|
||||||
"FileNameTooLong": "Filename too long",
|
"FileNameTooLong": "Filename too long",
|
||||||
"FileSizeExceedsLimit": "File size exceeds limit\"",
|
"FileSizeExceedsLimit": "File size exceeds limit\"",
|
||||||
|
@ -457,7 +457,6 @@
|
||||||
"FormatError": "Format Error",
|
"FormatError": "Format Error",
|
||||||
"Friday": "Friday",
|
"Friday": "Friday",
|
||||||
"From": "From",
|
"From": "From",
|
||||||
"TypeTree": "Type Tree",
|
|
||||||
"FromTicket": "From the work order",
|
"FromTicket": "From the work order",
|
||||||
"FullName": "Full name",
|
"FullName": "Full name",
|
||||||
"FullySynchronous": "Assets completely synchronized",
|
"FullySynchronous": "Assets completely synchronized",
|
||||||
|
@ -468,6 +467,7 @@
|
||||||
"GatewayCreate": "Create Gateway",
|
"GatewayCreate": "Create Gateway",
|
||||||
"GatewayList": "Gateway list",
|
"GatewayList": "Gateway list",
|
||||||
"GatewayUpdate": "Update Gateway",
|
"GatewayUpdate": "Update Gateway",
|
||||||
|
"GatheredAccounts": "Collected Accounts",
|
||||||
"GeneralAccounts": "General Accounts",
|
"GeneralAccounts": "General Accounts",
|
||||||
"Generate": "Generate",
|
"Generate": "Generate",
|
||||||
"GenerateAccounts": "Regenerate Account",
|
"GenerateAccounts": "Regenerate Account",
|
||||||
|
@ -851,7 +851,7 @@
|
||||||
"RequiredRunas": "Please Enter the Execution User",
|
"RequiredRunas": "Please Enter the Execution User",
|
||||||
"RequiredSystemUserErrMsg": "Please Select Account",
|
"RequiredSystemUserErrMsg": "Please Select Account",
|
||||||
"RequiredUploadFile": "Please upload the file!",
|
"RequiredUploadFile": "Please upload the file!",
|
||||||
"Reset": "Restore",
|
"Reset": "Reset",
|
||||||
"ResetAndDownloadSSHKey": "Reset and Download Key",
|
"ResetAndDownloadSSHKey": "Reset and Download Key",
|
||||||
"ResetMFA": "Reset MFA",
|
"ResetMFA": "Reset MFA",
|
||||||
"ResetMFAWarningMsg": "Are you sure you want to reset the user's MFA?",
|
"ResetMFAWarningMsg": "Are you sure you want to reset the user's MFA?",
|
||||||
|
@ -907,9 +907,9 @@
|
||||||
"SMS": "Message",
|
"SMS": "Message",
|
||||||
"SMSProvider": "SMS Service Provider",
|
"SMSProvider": "SMS Service Provider",
|
||||||
"SMTP": "Email Server",
|
"SMTP": "Email Server",
|
||||||
"SSHKey": "SSH Public Key",
|
"SSHKey": "SSH Key",
|
||||||
"SSHKeyOfProfileSSHUpdatePage": "Copy Your Public Key Here",
|
"SSHKeyOfProfileSSHUpdatePage": "Copy Your Public Key Here",
|
||||||
"SSHKeySetting": "SSH Public Key Settings",
|
"SSHKeySetting": "SSH Key Settings",
|
||||||
"SSHPort": "SSH Port",
|
"SSHPort": "SSH Port",
|
||||||
"SSHSecretKey": "SSH Key",
|
"SSHSecretKey": "SSH Key",
|
||||||
"SafeCommand": "Secure Command",
|
"SafeCommand": "Secure Command",
|
||||||
|
@ -1113,6 +1113,7 @@
|
||||||
"TwoAssignee": "Subscribe to Authorization ID",
|
"TwoAssignee": "Subscribe to Authorization ID",
|
||||||
"TwoAssigneeType": "Secondary Recipient Type",
|
"TwoAssigneeType": "Secondary Recipient Type",
|
||||||
"Type": "Type",
|
"Type": "Type",
|
||||||
|
"TypeTree": "Type Tree",
|
||||||
"Types": "Type",
|
"Types": "Type",
|
||||||
"UCloud": "UCloud UHost",
|
"UCloud": "UCloud UHost",
|
||||||
"UnSyncCount": "Not Synced",
|
"UnSyncCount": "Not Synced",
|
||||||
|
@ -1173,6 +1174,7 @@
|
||||||
"UserProfile": "Personal Information",
|
"UserProfile": "Personal Information",
|
||||||
"UserSession": "User Sessions",
|
"UserSession": "User Sessions",
|
||||||
"UserSetting": "Preference",
|
"UserSetting": "Preference",
|
||||||
|
"UserSwitchFrom": "Switch from",
|
||||||
"UserUpdate": "Update User",
|
"UserUpdate": "Update User",
|
||||||
"Username": "Username",
|
"Username": "Username",
|
||||||
"UsernamePlaceholder": "Please Enter Username",
|
"UsernamePlaceholder": "Please Enter Username",
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
"AccountPushCreate": "创建账号推送",
|
"AccountPushCreate": "创建账号推送",
|
||||||
"AccountPushExecutionList": "执行列表",
|
"AccountPushExecutionList": "执行列表",
|
||||||
"AccountPushList": "账号推送",
|
"AccountPushList": "账号推送",
|
||||||
"FieldRequiredError": "此字段是必填项",
|
|
||||||
"AccountPushUpdate": "账号推送更新",
|
"AccountPushUpdate": "账号推送更新",
|
||||||
"AccountStorage": "账号存储",
|
"AccountStorage": "账号存储",
|
||||||
"AccountTemplate": "账号模版",
|
"AccountTemplate": "账号模版",
|
||||||
|
@ -438,6 +437,7 @@
|
||||||
"Features": "功能设置",
|
"Features": "功能设置",
|
||||||
"FeiShu": "飞书",
|
"FeiShu": "飞书",
|
||||||
"FeiShuTest": "测试",
|
"FeiShuTest": "测试",
|
||||||
|
"FieldRequiredError": "此字段是必填项",
|
||||||
"FileManager": "文件管理",
|
"FileManager": "文件管理",
|
||||||
"FileNameTooLong": "文件名太长",
|
"FileNameTooLong": "文件名太长",
|
||||||
"FileSizeExceedsLimit": "文件大小超出限制",
|
"FileSizeExceedsLimit": "文件大小超出限制",
|
||||||
|
@ -1211,4 +1211,4 @@
|
||||||
"Workspace": "工作空间",
|
"Workspace": "工作空间",
|
||||||
"Yes": "是",
|
"Yes": "是",
|
||||||
"ZStack": "ZStack"
|
"ZStack": "ZStack"
|
||||||
}
|
}
|
|
@ -67,7 +67,7 @@ class AuthMixin:
|
||||||
if self.username:
|
if self.username:
|
||||||
self.date_password_last_updated = timezone.now()
|
self.date_password_last_updated = timezone.now()
|
||||||
post_user_change_password.send(self.__class__, user=self)
|
post_user_change_password.send(self.__class__, user=self)
|
||||||
super().set_password(raw_password) # noqa
|
super().set_password(raw_password) # noqa
|
||||||
|
|
||||||
def set_public_key(self, public_key):
|
def set_public_key(self, public_key):
|
||||||
if self.can_update_ssh_key():
|
if self.can_update_ssh_key():
|
||||||
|
@ -381,15 +381,15 @@ class RoleMixin:
|
||||||
|
|
||||||
@lazyproperty
|
@lazyproperty
|
||||||
def console_orgs(self):
|
def console_orgs(self):
|
||||||
return self.cached_orgs['console_orgs']
|
return self.cached_orgs.get('console_orgs', [])
|
||||||
|
|
||||||
@lazyproperty
|
@lazyproperty
|
||||||
def audit_orgs(self):
|
def audit_orgs(self):
|
||||||
return self.cached_orgs['audit_orgs']
|
return self.cached_orgs.get('audit_orgs', [])
|
||||||
|
|
||||||
@lazyproperty
|
@lazyproperty
|
||||||
def workbench_orgs(self):
|
def workbench_orgs(self):
|
||||||
return self.cached_orgs['workbench_orgs']
|
return self.cached_orgs.get('workbench_orgs', [])
|
||||||
|
|
||||||
@lazyproperty
|
@lazyproperty
|
||||||
def joined_orgs(self):
|
def joined_orgs(self):
|
||||||
|
|
Loading…
Reference in New Issue