From 84a2281152ee50a0d0353b11ea906a6aab88b447 Mon Sep 17 00:00:00 2001 From: maliming Date: Sun, 8 Nov 2020 14:23:55 +0800 Subject: [PATCH] Sync IdentityError description from aspnet core Related: https://github.com/dotnet/aspnetcore/pull/20497/files https://github.com/abpframework/abp/pull/5300 --- .../Volo/Abp/Identity/Localization/en.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json index c1b4d42a04..fc39751980 100644 --- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json +++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json @@ -39,13 +39,13 @@ "Volo.Abp.Identity:ConcurrencyFailure": "Optimistic concurrency failure, object has been modified.", "Volo.Abp.Identity:DuplicateEmail": "Email '{0}' is already taken.", "Volo.Abp.Identity:DuplicateRoleName": "Role name '{0}' is already taken.", - "Volo.Abp.Identity:DuplicateUserName": "User name '{0}' is already taken.", + "Volo.Abp.Identity:DuplicateUserName": "Username '{0}' is already taken.", "Volo.Abp.Identity:InvalidEmail": "Email '{0}' is invalid.", "Volo.Abp.Identity:InvalidPasswordHasherCompatibilityMode": "The provided PasswordHasherCompatibilityMode is invalid.", "Volo.Abp.Identity:InvalidPasswordHasherIterationCount": "The iteration count must be a positive integer.", "Volo.Abp.Identity:InvalidRoleName": "Role name '{0}' is invalid.", "Volo.Abp.Identity:InvalidToken": "Invalid token.", - "Volo.Abp.Identity:InvalidUserName": "User name '{0}' is invalid, can only contain letters or digits.", + "Volo.Abp.Identity:InvalidUserName": "Username '{0}' is invalid, can only contain letters or digits.", "Volo.Abp.Identity:LoginAlreadyAssociated": "A user with this login already exists.", "Volo.Abp.Identity:PasswordMismatch": "Incorrect password.", "Volo.Abp.Identity:PasswordRequiresDigit": "Passwords must have at least one digit ('0'-'9').",