Browse Source

Add UsersCanNotChangeTwoFactor & CanNotChangeTwoFactor.

pull/5422/head
maliming 6 years ago
parent
commit
e744baae04
  1. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityErrorCodes.cs
  2. 4
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json
  3. 8
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hans.json
  4. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hant.json

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/IdentityErrorCodes.cs

@ -8,5 +8,7 @@
public const string DuplicateOrganizationUnitDisplayName = "Volo.Abp.Identity:010004"; public const string DuplicateOrganizationUnitDisplayName = "Volo.Abp.Identity:010004";
public const string StaticRoleRenaming = "Volo.Abp.Identity:010005"; public const string StaticRoleRenaming = "Volo.Abp.Identity:010005";
public const string StaticRoleDeletion = "Volo.Abp.Identity:010006"; public const string StaticRoleDeletion = "Volo.Abp.Identity:010006";
public const string UsersCanNotChangeTwoFactor = "Volo.Abp.Identity:010007";
public const string CanNotChangeTwoFactor = "Volo.Abp.Identity:010008";
} }
} }

4
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json

@ -67,6 +67,8 @@
"Volo.Abp.Identity:010004": "There is already an organization unit with name {0}. Two units with same name can not be created in same level.", "Volo.Abp.Identity:010004": "There is already an organization unit with name {0}. Two units with same name can not be created in same level.",
"Volo.Abp.Identity:010005": "Static roles can not be renamed.", "Volo.Abp.Identity:010005": "Static roles can not be renamed.",
"Volo.Abp.Identity:010006": "Static roles can not be deleted.", "Volo.Abp.Identity:010006": "Static roles can not be deleted.",
"Volo.Abp.Identity:010007": "You can't change your two factor setting.",
"Volo.Abp.Identity:010008": "It's not allowed to change two factor setting.",
"Identity.OrganizationUnit.MaxUserMembershipCount": "Maximum allowed organization unit membership count for a user", "Identity.OrganizationUnit.MaxUserMembershipCount": "Maximum allowed organization unit membership count for a user",
"Permission:IdentityManagement": "Identity management", "Permission:IdentityManagement": "Identity management",
"Permission:RoleManagement": "Role management", "Permission:RoleManagement": "Role management",
@ -115,4 +117,4 @@
"DisplayName:Abp.Identity.UsersCanChange": "Allow users to change their Two Factor.", "DisplayName:Abp.Identity.UsersCanChange": "Allow users to change their Two Factor.",
"Description:Abp.Identity.UsersCanChange": "Allow users to change their Two Factor." "Description:Abp.Identity.UsersCanChange": "Allow users to change their Two Factor."
} }
} }

8
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hans.json

@ -61,10 +61,14 @@
"Volo.Abp.Identity:UserNameNotFound": "用户 {0} 不存在.", "Volo.Abp.Identity:UserNameNotFound": "用户 {0} 不存在.",
"Volo.Abp.Identity:UserNotInRole": "用户不具有 '{0}' 角色.", "Volo.Abp.Identity:UserNotInRole": "用户不具有 '{0}' 角色.",
"Volo.Abp.Identity:PasswordConfirmationFailed": "密码或确认密码不一致.", "Volo.Abp.Identity:PasswordConfirmationFailed": "密码或确认密码不一致.",
"Volo.Abp.Identity:010001": "你无法删除自己的帐户!",
"Volo.Abp.Identity:010002": "不能为用户设置超过{MaxUserMembershipCount}个组织单位!",
"Volo.Abp.Identity:010003": "无法更改外部登录用户的密码!",
"Volo.Abp.Identity:010004": "已存在名为 {0} 的组织单位. 无法在同一级别创建相同名称的组织单位.",
"Volo.Abp.Identity:010005": "无法重命名静态角色.", "Volo.Abp.Identity:010005": "无法重命名静态角色.",
"Volo.Abp.Identity:010006": "无法删除静态角色.", "Volo.Abp.Identity:010006": "无法删除静态角色.",
"Volo.Abp.Identity:010004": "已存在名为 {0} 的组织单位. 无法在同一级别创建相同名称的组织单位.", "Volo.Abp.Identity:010007": "你不能修改你的双因素身份验证设置",
"Volo.Abp.Identity:010001": "您无法删除自己的帐户!", "Volo.Abp.Identity:010008": "不允许修改双因素身份验证设置.",
"Permission:IdentityManagement": "身份标识管理", "Permission:IdentityManagement": "身份标识管理",
"Permission:RoleManagement": "角色管理", "Permission:RoleManagement": "角色管理",
"Permission:Create": "创建", "Permission:Create": "创建",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hant.json

@ -67,6 +67,8 @@
"Volo.Abp.Identity:010004": "組織內單位內已包含名稱 {0}.同一層級組織,兩個單位不能有相同名稱", "Volo.Abp.Identity:010004": "組織內單位內已包含名稱 {0}.同一層級組織,兩個單位不能有相同名稱",
"Volo.Abp.Identity:010005": "無法重命名靜態角色.", "Volo.Abp.Identity:010005": "無法重命名靜態角色.",
"Volo.Abp.Identity:010006": "無法刪除靜態角色.", "Volo.Abp.Identity:010006": "無法刪除靜態角色.",
"Volo.Abp.Identity:010007": "你不能修改你的雙因素身份驗證設置",
"Volo.Abp.Identity:010008": "不允許修改雙因素身份驗證設置.",
"Identity.OrganizationUnit.MaxUserMembershipCount": "允許一個使用者至多可隸屬在幾個組織單位", "Identity.OrganizationUnit.MaxUserMembershipCount": "允許一個使用者至多可隸屬在幾個組織單位",
"Permission:IdentityManagement": "身份識別管理", "Permission:IdentityManagement": "身份識別管理",
"Permission:RoleManagement": "角色管理", "Permission:RoleManagement": "角色管理",

Loading…
Cancel
Save