diff --git a/aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Roles/RoleAppService.cs b/aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Roles/RoleAppService.cs index 05026cba4..a07736f88 100644 --- a/aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Roles/RoleAppService.cs +++ b/aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Roles/RoleAppService.cs @@ -75,7 +75,7 @@ public override async Task Delete(EntityDto input) var role = await _roleManager.FindByIdAsync(input.Id.ToString()); if (role.IsStatic) { - throw new UserFriendlyException("CannotDeleteAStaticRole"); + throw new UserFriendlyException(L("CanNotDeleteStaticRole")); } var users = await _userManager.GetUsersInRoleAsync(role.NormalizedName); diff --git a/aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Localization/SourceFiles/AbpProjectName.xml b/aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Localization/SourceFiles/AbpProjectName.xml index e66bdb2b0..2235ed20a 100644 --- a/aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Localization/SourceFiles/AbpProjectName.xml +++ b/aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Localization/SourceFiles/AbpProjectName.xml @@ -72,10 +72,17 @@ Edit Delete - Create New Role + Create new role Role Name Actions Could not complete login operation. Please try again later. + + Could not validate external user + Edit role + Edit tenant + Edit user + TenantId {0} is not active + Unknown tenantId {0}