Skip to content

Commit 6e3d15f

Browse files
committed
Merge branch 'master' into netcore2.0-2
2 parents dddbe60 + 7b29507 commit 6e3d15f

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Roles/RoleAppService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public override async Task Delete(EntityDto<int> input)
7575
var role = await _roleManager.FindByIdAsync(input.Id.ToString());
7676
if (role.IsStatic)
7777
{
78-
throw new UserFriendlyException("CannotDeleteAStaticRole");
78+
throw new UserFriendlyException(L("CanNotDeleteStaticRole"));
7979
}
8080

8181
var users = await _userManager.GetUsersInRoleAsync(role.NormalizedName);

aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Localization/SourceFiles/AbpProjectName.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,17 @@
7272
<text name="Edit">Edit</text>
7373
<text name="Delete">Delete</text>
7474

75-
<text name="CreateNewRole">Create New Role</text>
75+
<text name="CreateNewRole">Create new role</text>
7676
<text name="RoleName">Role Name</text>
7777
<text name="Actions">Actions</text>
7878

7979
<text name="CouldNotCompleteLoginOperation">Could not complete login operation. Please try again later.</text>
80+
81+
<text name="CouldNotValidateExternalUser">Could not validate external user</text>
82+
<text name="EditRole">Edit role</text>
83+
<text name="EditTenant">Edit tenant</text>
84+
<text name="EditUser">Edit user</text>
85+
<text name="TenantIdIsNotActive{0}">TenantId {0} is not active</text>
86+
<text name="UnknownTenantId{0}">Unknown tenantId {0}</text>
8087
</texts>
8188
</localizationDictionary>

0 commit comments

Comments
 (0)