From 2ab2ef1fbbf19399b23702d5d395d99fe58e5f28 Mon Sep 17 00:00:00 2001 From: JiYuhang Date: Wed, 26 Dec 2018 10:39:43 +0800 Subject: [PATCH] Fixing `Email` localization issue --- .../Localization/Resources/AbpIdentity/en.json | 2 +- .../Localization/Resources/AbpIdentity/pt-BR.json | 2 +- .../Localization/Resources/AbpIdentity/tr.json | 2 +- .../Localization/Resources/AbpIdentity/zh-Hans.json | 2 +- .../Pages/Identity/Shared/PersonalSettingsModal.cshtml.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/en.json b/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/en.json index 1348b19f45..9cb6ef2609 100644 --- a/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/en.json +++ b/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/en.json @@ -22,7 +22,7 @@ "DisplayName:Name": "Name", "DisplayName:Surname": "Surname", "DisplayName:Password": "Password", - "DisplayName:EmailAddress": "Email address", + "DisplayName:Email": "Email address", "DisplayName:PhoneNumber": "Phone number", "DisplayName:TwoFactorEnabled": "Two factor verification", "DisplayName:LockoutEnabled": "Locking account after failed login attempts", diff --git a/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/pt-BR.json b/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/pt-BR.json index b60b4345f6..98e8c538e9 100644 --- a/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/pt-BR.json +++ b/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/pt-BR.json @@ -22,7 +22,7 @@ "DisplayName:Name": "Nome", "DisplayName:Surname": "Sobrenome", "DisplayName:Password": "Senha", - "DisplayName:EmailAddress": "E-mail", + "DisplayName:Email": "E-mail", "DisplayName:PhoneNumber": "Telefone", "DisplayName:TwoFactorEnabled": "Verificação em dois fatores", "DisplayName:LockoutEnabled": "Bloquear conta após falhas ao entrar", diff --git a/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/tr.json b/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/tr.json index ab28803f8d..aa0ef48843 100644 --- a/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/tr.json +++ b/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/tr.json @@ -22,7 +22,7 @@ "DisplayName:Name": "Adı", "DisplayName:Surname": "Soyadı", "DisplayName:Password": "Şifre", - "DisplayName:EmailAddress": "E-posta adresi", + "DisplayName:Email": "E-posta adresi", "DisplayName:PhoneNumber": "Telefon numarası", "DisplayName:TwoFactorEnabled": "İki aşamalı doğrumala", "DisplayName:LockoutEnabled": "Başarısız giriş denemeleri sonrası hesabı kilitleme", diff --git a/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/zh-Hans.json b/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/zh-Hans.json index 488385a7e4..5aefa45210 100644 --- a/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/zh-Hans.json +++ b/modules/identity/src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/zh-Hans.json @@ -22,7 +22,7 @@ "DisplayName:Name": "名", "DisplayName:Surname": "姓", "DisplayName:Password": "密码", - "DisplayName:EmailAddress": "邮箱地址", + "DisplayName:Email": "邮箱地址", "DisplayName:PhoneNumber": "手机号码", "DisplayName:TwoFactorEnabled": "二次认证", "DisplayName:LockoutEnabled": "登录失败,账户被锁定", diff --git a/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Shared/PersonalSettingsModal.cshtml.cs b/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Shared/PersonalSettingsModal.cshtml.cs index 7306e63b22..8d1152b3fb 100644 --- a/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Shared/PersonalSettingsModal.cshtml.cs +++ b/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Shared/PersonalSettingsModal.cshtml.cs @@ -45,7 +45,7 @@ namespace Volo.Abp.Identity.Web.Pages.Identity.Shared [Required] [StringLength(IdentityUserConsts.MaxEmailLength)] - [Display(Name = "DisplayName:EmailAddress")] + [Display(Name = "DisplayName:Email")] public string Email { get; set; } [StringLength(IdentityUserConsts.MaxNameLength)]