mirror of https://github.com/abpframework/abp.git
10 changed files with 70 additions and 8 deletions
@ -1,9 +1,19 @@ |
|||
using Volo.Abp.Modularity; |
|||
using Microsoft.Extensions.DependencyInjection; |
|||
using Volo.Abp.IdentityServer.Localization; |
|||
using Volo.Abp.Localization; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace Volo.Abp.IdentityServer |
|||
{ |
|||
public class AbpIdentityServerDomainSharedModule : AbpModule |
|||
{ |
|||
|
|||
|
|||
public override void ConfigureServices(ServiceConfigurationContext context) |
|||
{ |
|||
context.Services.Configure<AbpLocalizationOptions>(options => |
|||
{ |
|||
options.Resources.Add<AbpIdentityServerResource>("en"); |
|||
}); |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,10 @@ |
|||
using Volo.Abp.Localization; |
|||
|
|||
|
|||
namespace Volo.Abp.IdentityServer.Localization |
|||
{ |
|||
[LocalizationResourceName("AbpIdentityServer")] |
|||
public class AbpIdentityServerResource |
|||
{ |
|||
} |
|||
} |
|||
Loading…
Reference in new issue