Your email security verification code is as follows. Please enter the verification code to proceed to the next step.
If not operated by you, please ignore this email.
", - "MailSecurityVerifyRemarks": "(If it is not in the form of a link, copy the address to the browser address bar for further access)
Thank you for your visit and have a good time!
", - "ClickToValidation": "Click link verification" + "InvaidGenerateTwoFactorToken": "Verification code generation failed. Please contact your administrator!" } } \ No newline at end of file diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.Domain.Shared/LINGYUN/Abp/Account/Localization/Resources/zh-Hans.json b/aspnet-core/modules/account/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Localization/Resources/zh-Hans.json similarity index 74% rename from aspnet-core/modules/account/LINGYUN.Abp.Account.Domain.Shared/LINGYUN/Abp/Account/Localization/Resources/zh-Hans.json rename to aspnet-core/modules/account/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Localization/Resources/zh-Hans.json index b6bebfa3f..83572a44d 100644 --- a/aspnet-core/modules/account/LINGYUN.Abp.Account.Domain.Shared/LINGYUN/Abp/Account/Localization/Resources/zh-Hans.json +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.Application.Contracts/LINGYUN/Abp/Account/Localization/Resources/zh-Hans.json @@ -4,6 +4,7 @@ "UserNotRegisterd": "用户账号未注册!", "UserEmailNotConfirmed": "用户邮件地址未确认!", "SendRepeatSmsVerifyCode": "手机验证码不能在 {0} 分钟内重复发送!", + "SendRepeatEmailVerifyCode": "邮件验证码不能在 {0} 分钟内重复发送!", "DuplicatePhoneNumber": "手机号已经存在!", "PhoneNumberNotRegisterd": "手机号码未注册!", "InvalidVerifyCode": "验证码无效或已经过期!", @@ -24,11 +25,6 @@ "VerifyAuthenticatorCode": "验证身份代码", "RememberBrowser": "在浏览器中记住我", "TwoFactorAuthenticationInvaidUser": "认证失败,您的会话已失效,请程序登录!", - "InvaidGenerateTwoFactorToken": "验证码生成失败,请联系管理员!", - "TextTemplate:Abp.Account.MailSecurityVerifyLink": "邮件安全验证模板", - "MailSecurityVerify": "邮件安全验证", - "VerifyMyEmailAddress": "您好您此次邮件安全验证码如下,请输入验证码进行下一步操作。
如非你本人操作,请忽略此邮件。
", - "MailSecurityVerifyRemarks": "此邮件为系统所发,请勿直接回复。", - "ClickToValidation": "点击进行验证" + "InvaidGenerateTwoFactorToken": "验证码生成失败,请联系管理员!" } } \ No newline at end of file diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.Application/LINGYUN.Abp.Account.Application.csproj b/aspnet-core/modules/account/LINGYUN.Abp.Account.Application/LINGYUN.Abp.Account.Application.csproj index ed0f8353c..ab8949116 100644 --- a/aspnet-core/modules/account/LINGYUN.Abp.Account.Application/LINGYUN.Abp.Account.Application.csproj +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.Application/LINGYUN.Abp.Account.Application.csproj @@ -18,6 +18,11 @@{{L "EmailConfirmInfo"}}
+ + \ No newline at end of file diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.Domain.Shared/LINGYUN/Abp/Account/Emailing/Templates/MailSecurityVerify.tpl b/aspnet-core/modules/account/LINGYUN.Abp.Account.Templates/LINGYUN/Abp/Account/Emailing/Templates/MailSecurityVerify.tpl similarity index 100% rename from aspnet-core/modules/account/LINGYUN.Abp.Account.Domain.Shared/LINGYUN/Abp/Account/Emailing/Templates/MailSecurityVerify.tpl rename to aspnet-core/modules/account/LINGYUN.Abp.Account.Templates/LINGYUN/Abp/Account/Emailing/Templates/MailSecurityVerify.tpl diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.Templates/LINGYUN/Abp/Account/Templates/AbpAccountTemplatesModule.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.Templates/LINGYUN/Abp/Account/Templates/AbpAccountTemplatesModule.cs new file mode 100644 index 000000000..9588fd2bc --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.Templates/LINGYUN/Abp/Account/Templates/AbpAccountTemplatesModule.cs @@ -0,0 +1,13 @@ +using Volo.Abp.Emailing; +using Volo.Abp.Modularity; + +namespace LINGYUN.Abp.Account.Templates +{ + [DependsOn( + typeof(AbpEmailingModule), + typeof(AbpAccountApplicationContractsModule))] + public class AbpAccountTemplatesModule : AbpModule + { + + } +} diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.Templates/LINGYUN/Abp/Account/Templates/Localization/Resources/en.json b/aspnet-core/modules/account/LINGYUN.Abp.Account.Templates/LINGYUN/Abp/Account/Templates/Localization/Resources/en.json new file mode 100644 index 000000000..ff2ebb3ca --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.Templates/LINGYUN/Abp/Account/Templates/Localization/Resources/en.json @@ -0,0 +1,16 @@ +{ + "culture": "en", + "texts": { + "TextTemplate:Abp.Account.MailSecurityVerifyLink": "Mail security validation template", + "TextTemplate:Abp.Account.MailConfirmLink": "Mail confirm template", + "MailSecurityVerify": "Mail security verification", + "VerifyMyEmailAddress": "Hello {0}Your email security verification code is as follows. Please enter the verification code to proceed to the next step.
If not operated by you, please ignore this email.
", + "MailSecurityVerifyRemarks": "(If it is not in the form of a link, copy the address to the browser address bar for further access)
Thank you for your visit and have a good time!
", + "ClickToValidation": "Click link verification", + "Validation": "Validation", + "EmailConfirm": "Email confirm", + "EmailConfirmInfo": "We received an email confirmation request! If you initiated this request, please click the link below to confirm the email address.", + "ConfirmMyEmail": "Bind my email address", + "YourEmailIsSuccessfullyConfirm": "Your email address was bound successfully." + } +} \ No newline at end of file diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.Templates/LINGYUN/Abp/Account/Templates/Localization/Resources/zh-Hans.json b/aspnet-core/modules/account/LINGYUN.Abp.Account.Templates/LINGYUN/Abp/Account/Templates/Localization/Resources/zh-Hans.json new file mode 100644 index 000000000..bf4fe71f5 --- /dev/null +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.Templates/LINGYUN/Abp/Account/Templates/Localization/Resources/zh-Hans.json @@ -0,0 +1,16 @@ +{ + "culture": "zh-Hans", + "texts": { + "TextTemplate:Abp.Account.MailSecurityVerifyLink": "邮件验证模板", + "TextTemplate:Abp.Account.MailConfirmLink": "邮件确认模板", + "MailSecurityVerify": "邮件安全验证", + "VerifyMyEmailAddress": "您好您此次邮件安全验证码如下,请输入验证码进行下一步操作。
如非你本人操作,请忽略此邮件。
", + "MailSecurityVerifyRemarks": "此邮件为系统所发,请勿直接回复。", + "ClickToValidation": "点击进行验证", + "Validation": "验证", + "EmailConfirm": "邮件确认", + "EmailConfirmInfo": "我们收到了邮件确认请求!如果你发起了此请求,请单击以下链接以确认邮件地址.", + "ConfirmMyEmail": "绑定我的邮箱地址", + "YourEmailIsSuccessfullyConfirm": "您的邮件地址绑定成功." + } +} \ No newline at end of file diff --git a/aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN.Abp.Cli.csproj b/aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN.Abp.Cli.csproj index 483321c99..e9a34c828 100644 --- a/aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN.Abp.Cli.csproj +++ b/aspnet-core/modules/cli/LINGYUN.Abp.Cli/LINGYUN.Abp.Cli.csproj @@ -5,7 +5,7 @@{{model.code}}
- {{L "EmailConfirmedRemarks"}} -