Browse Source
Merge pull request #632 from colinin/upt-5.3.0
add localizer text
pull/645/head
yx lin
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
4 additions and
2 deletions
-
aspnet-core/modules/account/LINGYUN.Abp.Account.HttpApi/LINGYUN/Abp/Account/MyProfileController.cs
-
aspnet-core/modules/identity/LINGYUN.Abp.Identity.Domain.Shared/LINGYUN/Abp/Identity/Localization/en.json
-
aspnet-core/modules/identity/LINGYUN.Abp.Identity.Domain.Shared/LINGYUN/Abp/Identity/Localization/zh-Hans.json
|
|
@ -34,7 +34,7 @@ namespace LINGYUN.Abp.Account |
|
|
await MyProfileAppService.ChangeTwoFactorEnabledAsync(input); |
|
|
await MyProfileAppService.ChangeTwoFactorEnabledAsync(input); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[HttpPut] |
|
|
[HttpPost] |
|
|
[Route("send-phone-number-change-code")] |
|
|
[Route("send-phone-number-change-code")] |
|
|
public virtual async Task SendChangePhoneNumberCodeAsync(SendChangePhoneNumberCodeInput input) |
|
|
public virtual async Task SendChangePhoneNumberCodeAsync(SendChangePhoneNumberCodeInput input) |
|
|
{ |
|
|
{ |
|
|
@ -48,7 +48,7 @@ namespace LINGYUN.Abp.Account |
|
|
await MyProfileAppService.ChangePhoneNumberAsync(input); |
|
|
await MyProfileAppService.ChangePhoneNumberAsync(input); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[HttpPut] |
|
|
[HttpPost] |
|
|
[Route("send-email-confirm-link")] |
|
|
[Route("send-email-confirm-link")] |
|
|
public async virtual Task SendEmailConfirmLinkAsync(SendEmailConfirmCodeDto input) |
|
|
public async virtual Task SendEmailConfirmLinkAsync(SendEmailConfirmCodeDto input) |
|
|
{ |
|
|
{ |
|
|
|
|
|
@ -58,6 +58,7 @@ |
|
|
"Description:Abp.Identity.User.SmsPhoneNumberConfirmed": "The user confirms the mobile phone verification code template", |
|
|
"Description:Abp.Identity.User.SmsPhoneNumberConfirmed": "The user confirms the mobile phone verification code template", |
|
|
"DisplayName:Abp.Identity.User.SmsRepetInterval": "SMS verification code validity(min)", |
|
|
"DisplayName:Abp.Identity.User.SmsRepetInterval": "SMS verification code validity(min)", |
|
|
"Description:Abp.Identity.User.SmsRepetInterval": "The valid time for the user to send SMS verification code, unit m, default 3min", |
|
|
"Description:Abp.Identity.User.SmsRepetInterval": "The valid time for the user to send SMS verification code, unit m, default 3min", |
|
|
|
|
|
"DisplayName:NewPhoneNumber": "New Phone Number", |
|
|
"DisplayName:SmsVerifyCode": "SMS verification code", |
|
|
"DisplayName:SmsVerifyCode": "SMS verification code", |
|
|
"DisplayName:EmailVerifyCode": "Mail verification code", |
|
|
"DisplayName:EmailVerifyCode": "Mail verification code", |
|
|
"DisplayName:WeChatCode": "Wechat login code", |
|
|
"DisplayName:WeChatCode": "Wechat login code", |
|
|
|
|
|
@ -58,6 +58,7 @@ |
|
|
"Description:Abp.Identity.User.SmsPhoneNumberConfirmed": "用户确认手机号验证码模板", |
|
|
"Description:Abp.Identity.User.SmsPhoneNumberConfirmed": "用户确认手机号验证码模板", |
|
|
"DisplayName:Abp.Identity.User.SmsRepetInterval": "短信验证码重复发送间隔时间(min)", |
|
|
"DisplayName:Abp.Identity.User.SmsRepetInterval": "短信验证码重复发送间隔时间(min)", |
|
|
"Description:Abp.Identity.User.SmsRepetInterval": "短信验证码验证码重复发送的最小时间差,单位为分", |
|
|
"Description:Abp.Identity.User.SmsRepetInterval": "短信验证码验证码重复发送的最小时间差,单位为分", |
|
|
|
|
|
"DisplayName:NewPhoneNumber": "新手机号码", |
|
|
"DisplayName:SmsVerifyCode": "短信验证码", |
|
|
"DisplayName:SmsVerifyCode": "短信验证码", |
|
|
"DisplayName:EmailVerifyCode": "邮件验证码", |
|
|
"DisplayName:EmailVerifyCode": "邮件验证码", |
|
|
"DisplayName:WeChatCode": "微信登录凭证", |
|
|
"DisplayName:WeChatCode": "微信登录凭证", |
|
|
|