Browse Source

Added some localization keys

pull/2902/head
AkinCam 7 years ago
parent
commit
a18b8201bf
  1. 7
      abp_io/AbpIoLocalization/AbpIoLocalization/Commercial/Localization/Resources/en.json
  2. 2
      modules/users/src/Volo.Abp.Users.Domain/Volo/Abp/Users/UserLookupService.cs

7
abp_io/AbpIoLocalization/AbpIoLocalization/Commercial/Localization/Resources/en.json

@ -5,8 +5,9 @@
"OrganizationList": "Organization list", "OrganizationList": "Organization list",
"Volo.AbpIo.Commercial:010003": "You are not owner of this organization!", "Volo.AbpIo.Commercial:010003": "You are not owner of this organization!",
"OrganizationNotFoundMessage": "No organization found!", "OrganizationNotFoundMessage": "No organization found!",
"DeveloperCount": "Developer count", "DeveloperCount": "Allocated / total developers",
"QuestionCount": "Question count", "QuestionCount": "Remaining / total questions",
"Unlimited": "Unlimited",
"Owners": "Owners", "Owners": "Owners",
"AddMember": "Add member", "AddMember": "Add member",
"AddOwner": "Add owner", "AddOwner": "Add owner",
@ -30,5 +31,5 @@
"SuccessfullyAddedToNewsletter": "Thanks you for subscribing to our newsletter!", "SuccessfullyAddedToNewsletter": "Thanks you for subscribing to our newsletter!",
"ManageProfile": "Manage your profile", "ManageProfile": "Manage your profile",
"EmailNotValid": "Please enter a valid email address." "EmailNotValid": "Please enter a valid email address."
} }
} }

2
modules/users/src/Volo.Abp.Users.Domain/Volo/Abp/Users/UserLookupService.cs

@ -32,7 +32,7 @@ namespace Volo.Abp.Users
public async Task<TUser> FindByIdAsync(Guid id, CancellationToken cancellationToken = default) public async Task<TUser> FindByIdAsync(Guid id, CancellationToken cancellationToken = default)
{ {
var localUser = await _userRepository.FindAsync(id, cancellationToken: cancellationToken); var localUser = await _userRepository.FindAsync(id,cancellationToken: cancellationToken);
if (ExternalUserLookupServiceProvider == null) if (ExternalUserLookupServiceProvider == null)
{ {

Loading…
Cancel
Save