Browse Source
Merge pull request #2344 from liangshiw/dev
Fix: set the default mail template culture name to "en"
pull/2349/head
maliming
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
framework/src/Volo.Abp.Emailing/Volo/Abp/Emailing/Templates/DefaultEmailTemplateProvider.cs
|
|
|
@ -6,10 +6,10 @@ namespace Volo.Abp.Emailing.Templates |
|
|
|
{ |
|
|
|
public override void Define(IEmailTemplateDefinitionContext context) |
|
|
|
{ |
|
|
|
context.Add(new EmailTemplateDefinition(StandardEmailTemplates.DefaultLayout, isLayout: true, layout: null) |
|
|
|
context.Add(new EmailTemplateDefinition(StandardEmailTemplates.DefaultLayout, defaultCultureName: "en", isLayout: true, layout: null) |
|
|
|
.AddTemplateVirtualFiles("/Volo/Abp/Emailing/Templates/DefaultEmailTemplates/Layout")); |
|
|
|
|
|
|
|
context.Add(new EmailTemplateDefinition(StandardEmailTemplates.SimpleMessage) |
|
|
|
context.Add(new EmailTemplateDefinition(StandardEmailTemplates.SimpleMessage, defaultCultureName: "en") |
|
|
|
.AddTemplateVirtualFiles("/Volo/Abp/Emailing/Templates/DefaultEmailTemplates/Message")); |
|
|
|
} |
|
|
|
} |
|
|
|
|