mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
949 B
28 lines
949 B
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.Localization;
|
|
using Volo.Abp.Localization.Resources.AbpValidation;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.TenantManagement.Localization;
|
|
|
|
namespace Volo.Abp.TenantManagement
|
|
{
|
|
public class AbpTenantManagementDomainSharedModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpLocalizationOptions>(options =>
|
|
{
|
|
options.Resources.Add<AbpTenantManagementResource>("en");
|
|
});
|
|
|
|
Configure<AbpLocalizationOptions>(options =>
|
|
{
|
|
options.Resources
|
|
.Get<AbpTenantManagementResource>()
|
|
.AddBaseTypes(
|
|
typeof(AbpValidationResource)
|
|
).AddVirtualJson("/Volo/Abp/TenantManagement/Localization/Resources");
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|