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.
17 lines
482 B
17 lines
482 B
using Sanhe.Abp.ExceptionHandling.Localization; |
|
using Volo.Abp.Localization; |
|
using Volo.Abp.Modularity; |
|
|
|
namespace Sanhe.Abp.ExceptionHandling; |
|
|
|
[DependsOn(typeof(AbpLocalizationModule))] |
|
public class AbpExceptionHandlingModule : AbpModule |
|
{ |
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
{ |
|
Configure<AbpLocalizationOptions>(options => |
|
{ |
|
options.Resources.Add<ExceptionHandlingResource>("en"); |
|
}); |
|
} |
|
}
|
|
|