精简国际化代码
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-16 15:27:57 +08:00
parent 7d07e18853
commit ece98887da
6 changed files with 140 additions and 206 deletions
+1
View File
@@ -260,6 +260,7 @@ var hangfireJobService = app.Services.GetRequiredService<IIRaCISHangfireJob>();
await hangfireJobService.InitHangfireJobTaskAsync();
//设置国际化I18n
var localizer = app.Services.GetRequiredService<IStringLocalizer>();
I18n.SetLocalizer(localizer);