Browse Source
Merge pull request #4397 from JadynWong/jadyn/identitymodules_localization_fixed
fixes identitymodules localization
pull/4420/head
maliming
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/OrganizationUnitManager.cs
|
|
@ -131,7 +131,7 @@ namespace Volo.Abp.Identity |
|
|
|
|
|
|
|
|
if (siblings.Any(ou => ou.DisplayName == organizationUnit.DisplayName)) |
|
|
if (siblings.Any(ou => ou.DisplayName == organizationUnit.DisplayName)) |
|
|
{ |
|
|
{ |
|
|
throw new UserFriendlyException(Localizer["OrganizationUnitDuplicateDisplayNameWarning", organizationUnit.DisplayName]); |
|
|
throw new UserFriendlyException(Localizer["Identity.OrganizationUnit.DuplicateDisplayNameWarning", organizationUnit.DisplayName]); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|