Browse Source

Refactor normalizations.

pull/206/head
Halil İbrahim Kalkan 8 years ago
parent
commit
f4f49bb935
  1. 5
      src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Localization/Resources/AbpBootstrap/AbpBootstrapResource.cs
  2. 5
      src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Localization/Resources/AbpBootstrap/en.json
  3. 7
      src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Localization/Resources/AbpBootstrap/tr.json
  4. 7
      src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/IdentityResource.cs
  5. 9
      src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/en.json
  6. 7
      src/Volo.Abp.MultiTenancy.Web/Localization/Resources/AbpMultiTenancy/AbpMultiTenancyResource.cs
  7. 4
      src/Volo.Abp.MultiTenancy.Web/Localization/Resources/AbpMultiTenancy/en.json
  8. 2
      src/Volo.Abp.MultiTenancy.Web/Pages/MultiTenancy/Tenants/Index.cshtml

5
src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Localization/Resources/AbpBootstrap/AbpBootstrapResource.cs

@ -1,5 +1,8 @@
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Localization.Resources.AbpBootstrap
using Volo.Abp.Localization;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Localization.Resources.AbpBootstrap
{
[ShortLocalizationResourceName("AbpBootstrap")]
public class AbpBootstrapResource
{
}

5
src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Localization/Resources/AbpBootstrap/en.json

@ -3,6 +3,9 @@
"texts": {
"Close": "Close",
"Save": "Save",
"SavingWithThreeDot": "Saving..."
"SavingWithThreeDot": "Saving...",
"Actions": "Actions",
"Delete": "Delete",
"Edit": "Edit"
}
}

7
src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Localization/Resources/AbpBootstrap/tr.json

@ -1,8 +1,11 @@
{
{
"culture": "tr",
"texts": {
"Close": "Kapat",
"Save": "Kaydet",
"SavingWithThreeDot": "Kaydediliyor..."
"SavingWithThreeDot": "Kaydediliyor...",
"Actions": "İşlemler",
"Delete": "Sil",
"Edit": "Düzenle"
}
}

7
src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/IdentityResource.cs

@ -1,10 +1,13 @@
using Volo.Abp.Localization;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Localization.Resources.AbpBootstrap;
using Volo.Abp.Localization;
using Volo.Abp.Localization.Resources.AbpValidation;
namespace Volo.Abp.Identity.Web.Localization.Resources.AbpIdentity
{
[InheritResource(
typeof(AbpValidationResource),
typeof(AbpBootstrapResource))]
[ShortLocalizationResourceName("AbpIdentity")]
[InheritResource(typeof(AbpValidationResource))]
public class IdentityResource //TODO: Rename to AbpIdentityResource
{

9
src/Volo.Abp.Identity.Web/Localization/Resources/AbpIdentity/en.json

@ -3,23 +3,16 @@
"texts": {
"Users": "Users",
"NewUser": "New user",
"Actions": "Actions",
"UserName": "User name",
"EmailAddress": "Email address",
"PhoneNumber": "Phone number",
"UserInformations": "User informations",
"Roles": "Roles",
"Close": "Close",
"Delete": "Delete",
"Edit": "Edit",
"Save": "Save",
"Password": "Password",
"UserDeletionConfirmationMessage": "User '{0}' will be deleted. Do you confirm that?",
"TwoFactorVerification": "Two factor verification",
"AccountLockoutOnFailedLoginAttempts": "Locking account after failed login attempts",
"NewRole": "New role",
"RoleName": "Role name",
"CreationTime": "Creation time"
"RoleName": "Role name"
}
}

7
src/Volo.Abp.MultiTenancy.Web/Localization/Resources/AbpMultiTenancy/AbpMultiTenancyResource.cs

@ -1,10 +1,13 @@
using Volo.Abp.Localization;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Localization.Resources.AbpBootstrap;
using Volo.Abp.Localization;
using Volo.Abp.Localization.Resources.AbpValidation;
namespace Volo.Abp.MultiTenancy.Web.Localization.Resources.AbpMultiTenancy
{
[InheritResource(
typeof(AbpValidationResource),
typeof(AbpBootstrapResource))]
[ShortLocalizationResourceName("AbpMultiTenancy")]
[InheritResource(typeof(AbpValidationResource))]
public class AbpMultiTenancyResource
{

4
src/Volo.Abp.MultiTenancy.Web/Localization/Resources/AbpMultiTenancy/en.json

@ -1,7 +1,9 @@
{
"culture": "en",
"texts": {
"Tenants": "Tenants",
"NewTenant": "New tenant",
"TenantName": "Tenant name"
"TenantName": "Tenant name",
"TenantDeletionConfirmationMessage": "Tenant '{0}' will be deleted. Do you confirm that?"
}
}

2
src/Volo.Abp.MultiTenancy.Web/Pages/MultiTenancy/Tenants/Index.cshtml

@ -37,7 +37,7 @@
<thead>
<tr>
<th>@L["Actions"]</th>
<th>@L["Name"]</th>
<th>@L["TenantName"]</th>
</tr>
</thead>
</table>

Loading…
Cancel
Save