Browse Source

fix: add missing localized text

pull/307/head
cKey 4 years ago
parent
commit
e6db423bf4
  1. 1
      aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.Application.Contracts/LINGYUN/Abp/IdentityServer/Localization/Resources/en.json
  2. 1
      aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.Application.Contracts/LINGYUN/Abp/IdentityServer/Localization/Resources/zh-Hans.json
  3. 2
      aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.Application/LINGYUN/Abp/IdentityServer/ApiResources/ApiResourceAppService.cs

1
aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.Application.Contracts/LINGYUN/Abp/IdentityServer/Localization/Resources/en.json

@ -55,6 +55,7 @@
"Name": "Name",
"DisplayName": "Display Name",
"Description": "Description",
"Enabled": "Enabled",
"Required": "Required",
"Emphasize": "Emphasize",
"ShowInDiscoveryDocument": "Show In Discovery Document",

1
aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.Application.Contracts/LINGYUN/Abp/IdentityServer/Localization/Resources/zh-Hans.json

@ -55,6 +55,7 @@
"Name": "名称",
"DisplayName": "显示名称",
"Description": "描述",
"Enabled": "启用",
"Required": "必要",
"Emphasize": "强调",
"ShowInDiscoveryDocument": "在发现文档中显示",

2
aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.Application/LINGYUN/Abp/IdentityServer/ApiResources/ApiResourceAppService.cs

@ -35,7 +35,7 @@ namespace LINGYUN.Abp.IdentityServer.ApiResources
input.SkipCount, input.MaxResultCount,
input.Filter);
// 未加Filter过滤器? 结果数不准
var apiResourceCount = await ApiResourceRepository.GetCountAsync();
var apiResourceCount = await ApiResourceRepository.GetCountAsync(input.Filter);
return new PagedResultDto<ApiResourceDto>(apiResourceCount,
ObjectMapper.Map<List<ApiResource>, List<ApiResourceDto>>(apiResources));

Loading…
Cancel
Save