diff --git a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo.Abp.Identity.Application.Contracts.csproj b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo.Abp.Identity.Application.Contracts.csproj
index 8d113899a9..f14910c068 100644
--- a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo.Abp.Identity.Application.Contracts.csproj
+++ b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo.Abp.Identity.Application.Contracts.csproj
@@ -13,10 +13,6 @@
-
-
-
-
diff --git a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/AbpIdentityApplicationContractsModule.cs b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/AbpIdentityApplicationContractsModule.cs
index 821457ac93..107acba9d1 100644
--- a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/AbpIdentityApplicationContractsModule.cs
+++ b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/AbpIdentityApplicationContractsModule.cs
@@ -1,13 +1,8 @@
using Volo.Abp.Application;
using Volo.Abp.Authorization;
-using Volo.Abp.Authorization.Permissions;
-using Volo.Abp.Identity.Localization;
-using Volo.Abp.Localization;
using Volo.Abp.Modularity;
using Volo.Abp.PermissionManagement;
using Volo.Abp.Users;
-using Volo.Abp.VirtualFileSystem;
-using Volo.Abp.Localization.ExceptionHandling;
namespace Volo.Abp.Identity
{
@@ -22,22 +17,7 @@ namespace Volo.Abp.Identity
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
- Configure(options =>
- {
- options.FileSets.AddEmbedded();
- });
- Configure(options =>
- {
- options.Resources
- .Get()
- .AddVirtualJson("/Volo/Abp/Identity/Localization/ApplicationContracts");
- });
-
- Configure(options =>
- {
- options.MapCodeNamespace("Volo.Abp.Identity", typeof(IdentityResource));
- });
}
}
}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/cs.json b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/cs.json
deleted file mode 100644
index 8580872991..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/cs.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "culture": "cs",
- "texts": {
- "Volo.Abp.Identity:010001": "Nemůžete smazat svůj vlastní účet!",
- "Permission:IdentityManagement": "Správa identit",
- "Permission:RoleManagement": "Správa rolí",
- "Permission:Create": "Vytvořit",
- "Permission:Edit": "Upravit",
- "Permission:Delete": "Smazat",
- "Permission:ChangePermissions": "Změnit oprávnění",
- "Permission:UserManagement": "Správa uživatelů",
- "Permission:UserLookup": "Vyhledání uživatele"
- }
-}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/en.json b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/en.json
deleted file mode 100644
index 22464dae71..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/en.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "culture": "en",
- "texts": {
- "Volo.Abp.Identity:010001": "You can not delete your own account!",
- "Permission:IdentityManagement": "Identity management",
- "Permission:RoleManagement": "Role management",
- "Permission:Create": "Create",
- "Permission:Edit": "Edit",
- "Permission:Delete": "Delete",
- "Permission:ChangePermissions": "Change permissions",
- "Permission:UserManagement": "User management",
- "Permission:UserLookup": "User lookup"
- }
-}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/pl.json b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/pl.json
deleted file mode 100644
index 4ebaa0c660..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/pl.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "culture": "pl",
- "texts": {
- "Volo.Abp.Identity:010001": "Nie możesz usunąć swojego własnego konta!",
- "Permission:IdentityManagement": "Zarządzanie tożsamością",
- "Permission:RoleManagement": "Zarządanie rolami",
- "Permission:Create": "Utwórz",
- "Permission:Edit": "Edytuj",
- "Permission:Delete": "Usuń",
- "Permission:ChangePermissions": "Zmień uprawnienia",
- "Permission:UserManagement": "Zarządzanie użytkownikami",
- "Permission:UserLookup": "Wyszukiwanie użytkownika"
- }
-}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/pt-BR.json b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/pt-BR.json
deleted file mode 100644
index d57c51ed5e..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/pt-BR.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "culture": "pt-BR",
- "texts": {
- "Volo.Abp.Identity:010001": "Você não pode deletar sua própria conta!",
- "Permission:IdentityManagement": "Acessos",
- "Permission:RoleManagement": "Perfis",
- "Permission:Create": "Criar",
- "Permission:Edit": "Editar",
- "Permission:Delete": "Excluir",
- "Permission:ChangePermissions": "Alterar Permissões",
- "Permission:UserManagement": "Usuários",
- "Permission:UserLookup": "Pesquisa de usuário"
- }
-}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/tr.json b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/tr.json
deleted file mode 100644
index 4e0746de1f..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/tr.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "culture": "tr",
- "texts": {
- "Volo.Abp.Identity:010001": "Kendi hesabınızı silemezsiniz!",
- "Permission:IdentityManagement": "Kimlik yönetimi",
- "Permission:RoleManagement": "Rol yönetimi",
- "Permission:Create": "Oluşturma",
- "Permission:Edit": "Düzenleme",
- "Permission:Delete": "Silme",
- "Permission:ChangePermissions": "İzinleri değiştirme",
- "Permission:UserManagement": "Kullanıcı yönetimi",
- "Permission:UserLookup": "Kullanıcı sorgulama"
- }
-}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/vi.json b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/vi.json
deleted file mode 100644
index e9576d3ea9..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/vi.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "culture": "vi",
- "texts": {
- "Volo.Abp.Identity:010001": "Bạn không thể xóa tài khoản của riêng bạn!",
- "Permission:IdentityManagement": "Quản lý danh tính",
- "Permission:RoleManagement": "Quản lý vai trò",
- "Permission:Create": "Tạo",
- "Permission:Edit": "Sửa",
- "Permission:Delete": "Xóa",
- "Permission:ChangePermissions": "Thay đổi quyền",
- "Permission:UserManagement": "Quản lý người dùng",
- "Permission:UserLookup": "Tra cứu người dùng"
- }
-}
diff --git a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/zh-Hans.json b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/zh-Hans.json
deleted file mode 100644
index cae53933d9..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/zh-Hans.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "culture": "zh-Hans",
- "texts": {
- "Volo.Abp.Identity:010001": "您无法删除自己的帐户!",
- "Permission:IdentityManagement": "身份标识管理",
- "Permission:RoleManagement": "角色管理",
- "Permission:Create": "创建",
- "Permission:Edit": "编辑",
- "Permission:Delete": "删除",
- "Permission:ChangePermissions": "更改权限",
- "Permission:UserManagement": "用户管理",
- "Permission:UserLookup": "用户查询"
- }
- }
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo.Abp.Identity.Domain.Shared.csproj b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo.Abp.Identity.Domain.Shared.csproj
index 6cea87a177..e86a7221de 100644
--- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo.Abp.Identity.Domain.Shared.csproj
+++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo.Abp.Identity.Domain.Shared.csproj
@@ -14,11 +14,11 @@
-
+
-
+
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/AbpIdentityDomainSharedModule.cs b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/AbpIdentityDomainSharedModule.cs
index 5aa0abf998..92b99c597f 100644
--- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/AbpIdentityDomainSharedModule.cs
+++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/AbpIdentityDomainSharedModule.cs
@@ -1,5 +1,6 @@
using Volo.Abp.Identity.Localization;
using Volo.Abp.Localization;
+using Volo.Abp.Localization.ExceptionHandling;
using Volo.Abp.Localization.Resources.AbpValidation;
using Volo.Abp.Modularity;
using Volo.Abp.Users;
@@ -24,7 +25,12 @@ namespace Volo.Abp.Identity
.Add("en")
.AddBaseTypes(
typeof(AbpValidationResource)
- ).AddVirtualJson("/Volo/Abp/Identity/Localization/Domain");
+ ).AddVirtualJson("/Volo/Abp/Identity/Localization");
+ });
+
+ Configure(options =>
+ {
+ options.MapCodeNamespace("Volo.Abp.Identity", typeof(IdentityResource));
});
}
}
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/cs.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/cs.json
deleted file mode 100644
index 30217206f4..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/cs.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "culture": "cs",
- "texts": {
- "Menu:IdentityManagement": "Správa identit",
- "Users": "Uživatelé",
- "NewUser": "Nový uživatel",
- "UserName": "Uživatelské jméno",
- "EmailAddress": "Email",
- "PhoneNumber": "Telefonní číslo",
- "UserInformations": "Uživatelské informace",
- "DisplayName:IsDefault": "Výchozí",
- "DisplayName:IsStatic": "Statické",
- "DisplayName:IsPublic": "Veřejné",
- "Roles": "Role",
- "Password": "Heslo",
- "PersonalInfo": "Můj profil",
- "PersonalSettings": "Osobní nastavení",
- "UserDeletionConfirmationMessage": "Uživatel '{0}' bude smazán. Jste si jistí?",
- "RoleDeletionConfirmationMessage": "Role '{0}' bude smazána. Jste si jistí?",
- "DisplayName:RoleName": "Název role",
- "DisplayName:UserName": "Uživatelské jméno",
- "DisplayName:Name": "Jméno",
- "DisplayName:Surname": "Příjmení",
- "DisplayName:Password": "Heslo",
- "DisplayName:Email": "Email",
- "DisplayName:PhoneNumber": "Telefonní číslo",
- "DisplayName:TwoFactorEnabled": "Dvoufázové ověřování",
- "DisplayName:LockoutEnabled": "Zamčení účtu po neúspěšných pokusech",
- "NewRole": "Nová role",
- "RoleName": "Název role",
- "CreationTime": "Vytvořeno",
- "Permissions": "Oprávnění",
- "DisplayName:CurrentPassword": "Stávající heslo",
- "DisplayName:NewPassword": "Nové heslo",
- "DisplayName:NewPasswordConfirm": "Potvrzení nového hesla",
- "PasswordChangedMessage": "Vaše heslo bylo úspěšně změněno.",
- "PersonalSettingsSavedMessage": "Vaše osobní nastavení bylo úspěšně uloženo."
- }
-}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/en.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/en.json
deleted file mode 100644
index 9cb6ef2609..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/en.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "culture": "en",
- "texts": {
- "Menu:IdentityManagement": "Identity management",
- "Users": "Users",
- "NewUser": "New user",
- "UserName": "User name",
- "EmailAddress": "Email address",
- "PhoneNumber": "Phone number",
- "UserInformations": "User informations",
- "DisplayName:IsDefault": "Default",
- "DisplayName:IsStatic": "Static",
- "DisplayName:IsPublic": "Public",
- "Roles": "Roles",
- "Password": "Password",
- "PersonalInfo": "My profile",
- "PersonalSettings": "Personal settings",
- "UserDeletionConfirmationMessage": "User '{0}' will be deleted. Do you confirm that?",
- "RoleDeletionConfirmationMessage": "Role '{0}' will be deleted. Do you confirm that?",
- "DisplayName:RoleName": "Role name",
- "DisplayName:UserName": "User name",
- "DisplayName:Name": "Name",
- "DisplayName:Surname": "Surname",
- "DisplayName:Password": "Password",
- "DisplayName:Email": "Email address",
- "DisplayName:PhoneNumber": "Phone number",
- "DisplayName:TwoFactorEnabled": "Two factor verification",
- "DisplayName:LockoutEnabled": "Locking account after failed login attempts",
- "NewRole": "New role",
- "RoleName": "Role name",
- "CreationTime": "Creation time",
- "Permissions": "Permissions",
- "DisplayName:CurrentPassword": "Current password",
- "DisplayName:NewPassword": "New password",
- "DisplayName:NewPasswordConfirm": "Confirm new password",
- "PasswordChangedMessage": "Your password has been changed successfully.",
- "PersonalSettingsSavedMessage": "Your personal settings has been saved successfully."
- }
-}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/pl.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/pl.json
deleted file mode 100644
index 922e20b042..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/pl.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "culture": "pl",
- "texts": {
- "Menu:IdentityManagement": "Zarządzanie tożsamością",
- "Users": "Użytkownicy",
- "NewUser": "Nowy użytkownik",
- "UserName": "Nazwa użytkownika",
- "EmailAddress": "Adres email",
- "PhoneNumber": "Numer telefonu",
- "UserInformations": "Notyfikacje użytkownika",
- "DisplayName:IsDefault": "Domyślny",
- "DisplayName:IsStatic": "Statyczny",
- "DisplayName:IsPublic": "Publiczny",
- "Roles": "Role",
- "Password": "Hasło",
- "PersonalInfo": "Mój profil",
- "PersonalSettings": "Ustawienia personalne",
- "UserDeletionConfirmationMessage": "Użytkownik '{0}' zostanie usunięty. Czy na pewno?",
- "RoleDeletionConfirmationMessage": "Rola '{0}' zostanie usunięta. Czy na pewno?",
- "DisplayName:RoleName": "Nazwa roli",
- "DisplayName:UserName": "Nazwa użytkownika",
- "DisplayName:Name": "Imię",
- "DisplayName:Surname": "Nazwisko",
- "DisplayName:Password": "Hasło",
- "DisplayName:Email": "Adres email",
- "DisplayName:PhoneNumber": "Numer telefonu",
- "DisplayName:TwoFactorEnabled": "Dwustopniowa weryfikacja",
- "DisplayName:LockoutEnabled": "Blokowanie konta po nieudanych próbach zalogowania",
- "NewRole": "Nowa rola",
- "RoleName": "Nazwa roli",
- "CreationTime": "Data utworzenia",
- "Permissions": "Uprawnienia",
- "DisplayName:CurrentPassword": "Aktualne hasło",
- "DisplayName:NewPassword": "Nowe hasło",
- "DisplayName:NewPasswordConfirm": "Powtierdź nowe hasło",
- "PasswordChangedMessage": "Twoje hasło zostało zmienione pomyślnie.",
- "PersonalSettingsSavedMessage": "Twoje personalne ustawienia zostały zapisane pomyślnie."
- }
-}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/pt-BR.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/pt-BR.json
deleted file mode 100644
index 153b821b47..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/pt-BR.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "culture": "pt-BR",
- "texts": {
- "Menu:IdentityManagement": "Acessos",
- "Users": "Usuários",
- "NewUser": "Novo Usuário",
- "UserName": "Usuário",
- "EmailAddress": "E-mail",
- "PhoneNumber": "Telefone",
- "UserInformations": "Informações do Usuário",
- "DisplayName:IsDefault": "Padrão",
- "DisplayName:IsStatic": "Estático",
- "DisplayName:IsPublic": "Público",
- "Roles": "Perfis",
- "Password": "Senha",
- "PersonalInfo": "Meu Perfil",
- "PersonalSettings": "Configurações Pessoais",
- "UserDeletionConfirmationMessage": "O Usuário '{0}' será excluído. Você tem certeza?",
- "RoleDeletionConfirmationMessage": "O Perfil '{0}' será excluído. Você tem certeza?",
- "DisplayName:RoleName": "Perfil",
- "DisplayName:UserName": "Usuário",
- "DisplayName:Name": "Nome",
- "DisplayName:Surname": "Sobrenome",
- "DisplayName:Password": "Senha",
- "DisplayName:Email": "E-mail",
- "DisplayName:PhoneNumber": "Telefone",
- "DisplayName:TwoFactorEnabled": "Verificação em dois fatores",
- "DisplayName:LockoutEnabled": "Bloquear conta após falhas ao entrar",
- "NewRole": "Novo Perfil",
- "RoleName": "Perfil",
- "CreationTime": "Data de Criação",
- "Permissions": "Permissões",
- "DisplayName:CurrentPassword": "Senha Atual",
- "DisplayName:NewPassword": "Nova Senha",
- "DisplayName:NewPasswordConfirm": "Confirmar nova senha",
- "PasswordChangedMessage": "Sua senha foi alterada com sucesso.",
- "PersonalSettingsSavedMessage": "Suas configurações pessoais foram salvas com sucesso."
- }
-}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/tr.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/tr.json
deleted file mode 100644
index f53a20589f..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/tr.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "culture": "tr",
- "texts": {
- "Menu:IdentityManagement": "Kimlik yönetimi",
- "Users": "Kullanıcılar",
- "NewUser": "Yeni kullanıcı",
- "UserName": "Kullanıcı adı",
- "EmailAddress": "E-posta adresi",
- "DisplayName:IsDefault": "Varsayılan",
- "DisplayName:IsStatic": "Sabit",
- "DisplayName:IsPublic": "Herkese Açık",
- "PhoneNumber": "Telefon numarası",
- "UserInformations": "Kullanıcı bilgileri",
- "Roles": "Roller",
- "Password": "Şifre",
- "PersonalInfo": "Profilim",
- "PersonalSettings": "Kişisel Ayarlar",
- "UserDeletionConfirmationMessage": "{0} kullanıcısı silinecektir. Onaylıyor musunuz?",
- "RoleDeletionConfirmationMessage": "'{0}' rolü silinecektir. Onaylıyor musunuz?",
- "DisplayName:RoleName": "Rol adı",
- "DisplayName:UserName": "Kullanıcı adı",
- "DisplayName:Name": "Adı",
- "DisplayName:Surname": "Soyadı",
- "DisplayName:Password": "Şifre",
- "DisplayName:Email": "E-posta adresi",
- "DisplayName:PhoneNumber": "Telefon numarası",
- "DisplayName:TwoFactorEnabled": "İki aşamalı doğrulama",
- "DisplayName:LockoutEnabled": "Başarısız giriş denemeleri sonrası hesabı kilitleme",
- "NewRole": "Yeni rol",
- "RoleName": "Rol adı",
- "CreationTime": "Oluşturma zamanı",
- "Permissions": "İzinler",
- "DisplayName:CurrentPassword": "Mevcut şifre",
- "DisplayName:NewPassword": "Yeni şifre",
- "DisplayName:NewPasswordConfirm": "Yeni şifre (tekrar)",
- "PasswordChangedMessage": "Şifreniz başarıyla değiştirildi.",
- "PersonalSettingsSavedMessage": "Kişisel bilgileriniz başarıyla kaydedildi.",
- "Identity.StaticRoleRenamingErrorMessage": "Bir Sabit rolün ismi değiştirilemez.",
- "Identity.StaticRoleDeletionErrorMessage": "Bir Sabit rol silinemez."
- }
-}
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/vi.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/vi.json
deleted file mode 100644
index b43484b0c8..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/vi.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "culture": "vi",
- "texts": {
- "Menu:IdentityManagement": "Quản lý danh tính",
- "Users": "Người dùng",
- "NewUser": "Tạo người dùng mới",
- "UserName": "Tên đăng nhập",
- "EmailAddress": "Địa chỉ email",
- "PhoneNumber": "Số điện thoại",
- "UserInformations": "Thông tin người dùng",
- "DisplayName:IsDefault": "Mặc định",
- "DisplayName:IsStatic": "Cố định",
- "DisplayName:IsPublic": "Công khai",
- "Roles": "Vai trò",
- "Password": "Mật khẩu",
- "PersonalInfo": "Thông tin của tôi",
- "PersonalSettings": "Thiết lập cá nhân",
- "UserDeletionConfirmationMessage": "Người '{0}' sẽ bị xóa. Bạn có xác nhận điều này không?",
- "RoleDeletionConfirmationMessage": "vai trò '{0}' sẽ bị xóa. Bạn có xác nhận điều này không?",
- "DisplayName:RoleName": "Tên vai trò",
- "DisplayName:UserName": "Tên người dùng",
- "DisplayName:Name": "Tên",
- "DisplayName:Surname": "Họ",
- "DisplayName:Password": "mật khẩu",
- "DisplayName:Email": "Địa chỉ email",
- "DisplayName:PhoneNumber": "Số điện thoại",
- "DisplayName:TwoFactorEnabled": "Xác thực hai yếu tố",
- "DisplayName:LockoutEnabled": "Khóa tài khoản sau những lần đăng nhập thất bại",
- "NewRole": "Vai trò mới",
- "RoleName": "Tên vai trò",
- "CreationTime": "Thời gian tạo",
- "Permissions": "Quyền",
- "DisplayName:CurrentPassword": "Mật khẩu hiện tại",
- "DisplayName:NewPassword": "Mật khẩu mới",
- "DisplayName:NewPasswordConfirm": "Xác nhận mật khẩu",
- "PasswordChangedMessage": "Mật khẩu của bạn đã được thay đổi thành công.",
- "PersonalSettingsSavedMessage": "Thiết lập của bạn đã được lưu lại thành công."
- }
-}
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/zh-Hans.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/zh-Hans.json
deleted file mode 100644
index 5aefa45210..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/zh-Hans.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "culture": "zh-Hans",
- "texts": {
- "Menu:IdentityManagement": "身份认证管理",
- "Users": "用户",
- "NewUser": "新用户",
- "UserName": "用户名称",
- "EmailAddress": "邮箱地址",
- "PhoneNumber": "手机号",
- "UserInformations": "用户信息",
- "DisplayName:IsDefault": "默认",
- "DisplayName:IsStatic": "静态",
- "DisplayName:IsPublic": "公开",
- "Roles": "角色",
- "Password": "密码",
- "PersonalInfo": " 个人信息",
- "PersonalSettings": "个人设置",
- "UserDeletionConfirmationMessage": "用户 '{0}' 将被删除. 你确定吗?",
- "RoleDeletionConfirmationMessage": "角色 '{0}' 将被删除. 你确定吗?",
- "DisplayName:RoleName": "角色名称",
- "DisplayName:UserName": "用户名称",
- "DisplayName:Name": "名",
- "DisplayName:Surname": "姓",
- "DisplayName:Password": "密码",
- "DisplayName:Email": "邮箱地址",
- "DisplayName:PhoneNumber": "手机号码",
- "DisplayName:TwoFactorEnabled": "二次认证",
- "DisplayName:LockoutEnabled": "登录失败,账户被锁定",
- "NewRole": "新角色",
- "RoleName": "角色名称",
- "CreationTime": "创建时间",
- "Permissions": "权限",
- "DisplayName:CurrentPassword": "当前密码",
- "DisplayName:NewPassword": "新密码",
- "DisplayName:NewPasswordConfirm": "确认新密码",
- "PasswordChangedMessage": "你已成功更改密码.",
- "PersonalSettingsSavedMessage": "你的个人设置保存成功."
- }
- }
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/cs.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/cs.json
similarity index 52%
rename from modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/cs.json
rename to modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/cs.json
index f6fdea467d..0f87bec5e5 100644
--- a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/cs.json
+++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/cs.json
@@ -1,6 +1,40 @@
{
"culture": "cs",
"texts": {
+ "Menu:IdentityManagement": "Správa identit",
+ "Users": "Uživatelé",
+ "NewUser": "Nový uživatel",
+ "UserName": "Uživatelské jméno",
+ "EmailAddress": "Email",
+ "PhoneNumber": "Telefonní číslo",
+ "UserInformations": "Uživatelské informace",
+ "DisplayName:IsDefault": "Výchozí",
+ "DisplayName:IsStatic": "Statické",
+ "DisplayName:IsPublic": "Veřejné",
+ "Roles": "Role",
+ "Password": "Heslo",
+ "PersonalInfo": "Můj profil",
+ "PersonalSettings": "Osobní nastavení",
+ "UserDeletionConfirmationMessage": "Uživatel '{0}' bude smazán. Jste si jistí?",
+ "RoleDeletionConfirmationMessage": "Role '{0}' bude smazána. Jste si jistí?",
+ "DisplayName:RoleName": "Název role",
+ "DisplayName:UserName": "Uživatelské jméno",
+ "DisplayName:Name": "Jméno",
+ "DisplayName:Surname": "Příjmení",
+ "DisplayName:Password": "Heslo",
+ "DisplayName:Email": "Email",
+ "DisplayName:PhoneNumber": "Telefonní číslo",
+ "DisplayName:TwoFactorEnabled": "Dvoufázové ověřování",
+ "DisplayName:LockoutEnabled": "Zamčení účtu po neúspěšných pokusech",
+ "NewRole": "Nová role",
+ "RoleName": "Název role",
+ "CreationTime": "Vytvořeno",
+ "Permissions": "Oprávnění",
+ "DisplayName:CurrentPassword": "Stávající heslo",
+ "DisplayName:NewPassword": "Nové heslo",
+ "DisplayName:NewPasswordConfirm": "Potvrzení nového hesla",
+ "PasswordChangedMessage": "Vaše heslo bylo úspěšně změněno.",
+ "PersonalSettingsSavedMessage": "Vaše osobní nastavení bylo úspěšně uloženo.",
"Identity.DefaultError": "Došlo k neznámé chybě.",
"Identity.ConcurrencyFailure": "Selhání optimistické souběžnosti, objekt byl změněn.",
"Identity.DuplicateEmail": "Email '{0}' již existuje.",
@@ -28,6 +62,15 @@
"Identity.UserNotInRole": "Uživatel není v roli '{0}'.",
"Identity.PasswordConfirmationFailed": "Heslo nesouhlasí s potvrzovacím heslem.",
"Identity.StaticRoleRenamingErrorMessage": "Statické role nemohou být přejmenovány.",
- "Identity.StaticRoleDeletionErrorMessage": "Statické role nemohou být smazány."
+ "Identity.StaticRoleDeletionErrorMessage": "Statické role nemohou být smazány.",
+ "Volo.Abp.Identity:010001": "Nemůžete smazat svůj vlastní účet!",
+ "Permission:IdentityManagement": "Správa identit",
+ "Permission:RoleManagement": "Správa rolí",
+ "Permission:Create": "Vytvořit",
+ "Permission:Edit": "Upravit",
+ "Permission:Delete": "Smazat",
+ "Permission:ChangePermissions": "Změnit oprávnění",
+ "Permission:UserManagement": "Správa uživatelů",
+ "Permission:UserLookup": "Vyhledání uživatele"
}
}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/en.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json
similarity index 51%
rename from modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/en.json
rename to modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json
index 6ecf7122c6..5b5927b9a1 100644
--- a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/en.json
+++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json
@@ -1,6 +1,40 @@
{
"culture": "en",
"texts": {
+ "Menu:IdentityManagement": "Identity management",
+ "Users": "Users",
+ "NewUser": "New user",
+ "UserName": "User name",
+ "EmailAddress": "Email address",
+ "PhoneNumber": "Phone number",
+ "UserInformations": "User informations",
+ "DisplayName:IsDefault": "Default",
+ "DisplayName:IsStatic": "Static",
+ "DisplayName:IsPublic": "Public",
+ "Roles": "Roles",
+ "Password": "Password",
+ "PersonalInfo": "My profile",
+ "PersonalSettings": "Personal settings",
+ "UserDeletionConfirmationMessage": "User '{0}' will be deleted. Do you confirm that?",
+ "RoleDeletionConfirmationMessage": "Role '{0}' will be deleted. Do you confirm that?",
+ "DisplayName:RoleName": "Role name",
+ "DisplayName:UserName": "User name",
+ "DisplayName:Name": "Name",
+ "DisplayName:Surname": "Surname",
+ "DisplayName:Password": "Password",
+ "DisplayName:Email": "Email address",
+ "DisplayName:PhoneNumber": "Phone number",
+ "DisplayName:TwoFactorEnabled": "Two factor verification",
+ "DisplayName:LockoutEnabled": "Locking account after failed login attempts",
+ "NewRole": "New role",
+ "RoleName": "Role name",
+ "CreationTime": "Creation time",
+ "Permissions": "Permissions",
+ "DisplayName:CurrentPassword": "Current password",
+ "DisplayName:NewPassword": "New password",
+ "DisplayName:NewPasswordConfirm": "Confirm new password",
+ "PasswordChangedMessage": "Your password has been changed successfully.",
+ "PersonalSettingsSavedMessage": "Your personal settings has been saved successfully.",
"Identity.DefaultError": "An unknown failure has occurred.",
"Identity.ConcurrencyFailure": "Optimistic concurrency failure, object has been modified.",
"Identity.DuplicateEmail": "Email '{0}' is already taken.",
@@ -28,6 +62,15 @@
"Identity.UserNotInRole": "User is not in role '{0}'.",
"Identity.PasswordConfirmationFailed": "Password does not match the confirm password.",
"Identity.StaticRoleRenamingErrorMessage": "Static roles can not be renamed.",
- "Identity.StaticRoleDeletionErrorMessage": "Static roles can not be deleted."
+ "Identity.StaticRoleDeletionErrorMessage": "Static roles can not be deleted.",
+ "Volo.Abp.Identity:010001": "You can not delete your own account!",
+ "Permission:IdentityManagement": "Identity management",
+ "Permission:RoleManagement": "Role management",
+ "Permission:Create": "Create",
+ "Permission:Edit": "Edit",
+ "Permission:Delete": "Delete",
+ "Permission:ChangePermissions": "Change permissions",
+ "Permission:UserManagement": "User management",
+ "Permission:UserLookup": "User lookup"
}
}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/pl.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pl.json
similarity index 52%
rename from modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/pl.json
rename to modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pl.json
index 7a1011ef96..3a0896147c 100644
--- a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/pl.json
+++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pl.json
@@ -1,6 +1,40 @@
{
"culture": "pl",
"texts": {
+ "Menu:IdentityManagement": "Zarządzanie tożsamością",
+ "Users": "Użytkownicy",
+ "NewUser": "Nowy użytkownik",
+ "UserName": "Nazwa użytkownika",
+ "EmailAddress": "Adres email",
+ "PhoneNumber": "Numer telefonu",
+ "UserInformations": "Notyfikacje użytkownika",
+ "DisplayName:IsDefault": "Domyślny",
+ "DisplayName:IsStatic": "Statyczny",
+ "DisplayName:IsPublic": "Publiczny",
+ "Roles": "Role",
+ "Password": "Hasło",
+ "PersonalInfo": "Mój profil",
+ "PersonalSettings": "Ustawienia personalne",
+ "UserDeletionConfirmationMessage": "Użytkownik '{0}' zostanie usunięty. Czy na pewno?",
+ "RoleDeletionConfirmationMessage": "Rola '{0}' zostanie usunięta. Czy na pewno?",
+ "DisplayName:RoleName": "Nazwa roli",
+ "DisplayName:UserName": "Nazwa użytkownika",
+ "DisplayName:Name": "Imię",
+ "DisplayName:Surname": "Nazwisko",
+ "DisplayName:Password": "Hasło",
+ "DisplayName:Email": "Adres email",
+ "DisplayName:PhoneNumber": "Numer telefonu",
+ "DisplayName:TwoFactorEnabled": "Dwustopniowa weryfikacja",
+ "DisplayName:LockoutEnabled": "Blokowanie konta po nieudanych próbach zalogowania",
+ "NewRole": "Nowa rola",
+ "RoleName": "Nazwa roli",
+ "CreationTime": "Data utworzenia",
+ "Permissions": "Uprawnienia",
+ "DisplayName:CurrentPassword": "Aktualne hasło",
+ "DisplayName:NewPassword": "Nowe hasło",
+ "DisplayName:NewPasswordConfirm": "Powtierdź nowe hasło",
+ "PasswordChangedMessage": "Twoje hasło zostało zmienione pomyślnie.",
+ "PersonalSettingsSavedMessage": "Twoje personalne ustawienia zostały zapisane pomyślnie.",
"Identity.DefaultError": "Wystąpił niespodziewany błąd.",
"Identity.ConcurrencyFailure": "Optymistyczny błąd współbierzności, obiekt został zmodyfikowany.",
"Identity.DuplicateEmail": "Email '{0}' już istnieje.",
@@ -28,6 +62,15 @@
"Identity.UserNotInRole": "Użytkownik nie posiada roli '{0}'.",
"Identity.PasswordConfirmationFailed": "Podane hasła różnią się od siebie.",
"Identity.StaticRoleRenamingErrorMessage": "Statyczna rola nie może mieć zmienionej nazwy.",
- "Identity.StaticRoleDeletionErrorMessage": "Statyczna rola nie może zostać usunięta."
+ "Identity.StaticRoleDeletionErrorMessage": "Statyczna rola nie może zostać usunięta.",
+ "Volo.Abp.Identity:010001": "Nie możesz usunąć swojego własnego konta!",
+ "Permission:IdentityManagement": "Zarządzanie tożsamością",
+ "Permission:RoleManagement": "Zarządanie rolami",
+ "Permission:Create": "Utwórz",
+ "Permission:Edit": "Edytuj",
+ "Permission:Delete": "Usuń",
+ "Permission:ChangePermissions": "Zmień uprawnienia",
+ "Permission:UserManagement": "Zarządzanie użytkownikami",
+ "Permission:UserLookup": "Wyszukiwanie użytkownika"
}
}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/pt-BR.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pt-BR.json
similarity index 53%
rename from modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/pt-BR.json
rename to modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pt-BR.json
index 6b0f7949e2..4df719fffe 100644
--- a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/pt-BR.json
+++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pt-BR.json
@@ -1,6 +1,40 @@
{
"culture": "pt-BR",
"texts": {
+ "Menu:IdentityManagement": "Acessos",
+ "Users": "Usuários",
+ "NewUser": "Novo Usuário",
+ "UserName": "Usuário",
+ "EmailAddress": "E-mail",
+ "PhoneNumber": "Telefone",
+ "UserInformations": "Informações do Usuário",
+ "DisplayName:IsDefault": "Padrão",
+ "DisplayName:IsStatic": "Estático",
+ "DisplayName:IsPublic": "Público",
+ "Roles": "Perfis",
+ "Password": "Senha",
+ "PersonalInfo": "Meu Perfil",
+ "PersonalSettings": "Configurações Pessoais",
+ "UserDeletionConfirmationMessage": "O Usuário '{0}' será excluído. Você tem certeza?",
+ "RoleDeletionConfirmationMessage": "O Perfil '{0}' será excluído. Você tem certeza?",
+ "DisplayName:RoleName": "Perfil",
+ "DisplayName:UserName": "Usuário",
+ "DisplayName:Name": "Nome",
+ "DisplayName:Surname": "Sobrenome",
+ "DisplayName:Password": "Senha",
+ "DisplayName:Email": "E-mail",
+ "DisplayName:PhoneNumber": "Telefone",
+ "DisplayName:TwoFactorEnabled": "Verificação em dois fatores",
+ "DisplayName:LockoutEnabled": "Bloquear conta após falhas ao entrar",
+ "NewRole": "Novo Perfil",
+ "RoleName": "Perfil",
+ "CreationTime": "Data de Criação",
+ "Permissions": "Permissões",
+ "DisplayName:CurrentPassword": "Senha Atual",
+ "DisplayName:NewPassword": "Nova Senha",
+ "DisplayName:NewPasswordConfirm": "Confirmar nova senha",
+ "PasswordChangedMessage": "Sua senha foi alterada com sucesso.",
+ "PersonalSettingsSavedMessage": "Suas configurações pessoais foram salvas com sucesso.",
"Identity.DefaultError": "Ocorreu uma falha desconhecida.",
"Identity.ConcurrencyFailure": "Falha de concorrência otimista, o objeto foi modificado.",
"Identity.DuplicateEmail": "O e-mail '{0}' já está em uso.",
@@ -28,6 +62,15 @@
"Identity.UserNotInRole": "Usuário não está no perfil '{0}'.",
"Identity.PasswordConfirmationFailed": "A senha não confere com a confirmação de senha.",
"Identity.StaticRoleRenamingErrorMessage": "Perfis estáticos não podem ser renomeados.",
- "Identity.StaticRoleDeletionErrorMessage": "Perfis estáticos não podem ser excluídos."
+ "Identity.StaticRoleDeletionErrorMessage": "Perfis estáticos não podem ser excluídos.",
+ "Volo.Abp.Identity:010001": "Você não pode deletar sua própria conta!",
+ "Permission:IdentityManagement": "Acessos",
+ "Permission:RoleManagement": "Perfis",
+ "Permission:Create": "Criar",
+ "Permission:Edit": "Editar",
+ "Permission:Delete": "Excluir",
+ "Permission:ChangePermissions": "Alterar Permissões",
+ "Permission:UserManagement": "Usuários",
+ "Permission:UserLookup": "Pesquisa de usuário"
}
}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/tr.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/tr.json
new file mode 100644
index 0000000000..8b8b936c0a
--- /dev/null
+++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/tr.json
@@ -0,0 +1,76 @@
+{
+ "culture": "tr",
+ "texts": {
+ "Menu:IdentityManagement": "Kimlik yönetimi",
+ "Users": "Kullanıcılar",
+ "NewUser": "Yeni kullanıcı",
+ "UserName": "Kullanıcı adı",
+ "EmailAddress": "E-posta adresi",
+ "DisplayName:IsDefault": "Varsayılan",
+ "DisplayName:IsStatic": "Sabit",
+ "DisplayName:IsPublic": "Herkese Açık",
+ "PhoneNumber": "Telefon numarası",
+ "UserInformations": "Kullanıcı bilgileri",
+ "Roles": "Roller",
+ "Password": "Şifre",
+ "PersonalInfo": "Profilim",
+ "PersonalSettings": "Kişisel Ayarlar",
+ "UserDeletionConfirmationMessage": "{0} kullanıcısı silinecektir. Onaylıyor musunuz?",
+ "RoleDeletionConfirmationMessage": "'{0}' rolü silinecektir. Onaylıyor musunuz?",
+ "DisplayName:RoleName": "Rol adı",
+ "DisplayName:UserName": "Kullanıcı adı",
+ "DisplayName:Name": "Adı",
+ "DisplayName:Surname": "Soyadı",
+ "DisplayName:Password": "Şifre",
+ "DisplayName:Email": "E-posta adresi",
+ "DisplayName:PhoneNumber": "Telefon numarası",
+ "DisplayName:TwoFactorEnabled": "İki aşamalı doğrulama",
+ "DisplayName:LockoutEnabled": "Başarısız giriş denemeleri sonrası hesabı kilitleme",
+ "NewRole": "Yeni rol",
+ "RoleName": "Rol adı",
+ "CreationTime": "Oluşturma zamanı",
+ "Permissions": "İzinler",
+ "DisplayName:CurrentPassword": "Mevcut şifre",
+ "DisplayName:NewPassword": "Yeni şifre",
+ "DisplayName:NewPasswordConfirm": "Yeni şifre (tekrar)",
+ "PasswordChangedMessage": "Şifreniz başarıyla değiştirildi.",
+ "PersonalSettingsSavedMessage": "Kişisel bilgileriniz başarıyla kaydedildi.",
+ "Identity.StaticRoleRenamingErrorMessage": "Bir Sabit rolün ismi değiştirilemez.",
+ "Identity.StaticRoleDeletionErrorMessage": "Bir Sabit rol silinemez.",
+ "Identity.DefaultError": "Bilinmeyen bir hata oluştu.",
+ "Identity.ConcurrencyFailure": "İyimser eşzamanlılık hatası. Nesne değiştirilmiş.",
+ "Identity.DuplicateEmail": "'{0}' email adresi zaten alınmış.",
+ "Identity.DuplicateRoleName": "'{0}' rol ismi zaten alınmış.",
+ "Identity.DuplicateUserName": "'{0}' kullanıcı adı zaten alınmış.",
+ "Identity.InvalidEmail": "'{0}' email adresi hatalı.",
+ "Identity.InvalidPasswordHasherCompatibilityMode": "Belirtilen PasswordHasherCompatibilityMode geçersiz.",
+ "Identity.InvalidPasswordHasherIterationCount": "Iterasyon sayısı sıfırdan büyük bir sayı olmalı.",
+ "Identity.InvalidRoleName": "'{0}' rol ismi geçersizdir.",
+ "Identity.InvalidToken": "Geçersiz token.",
+ "Identity.InvalidUserName": "'{0}' kullanıcı adı geçersiz, sadece harf ve rakamlardan oluşmalı.",
+ "Identity.LoginAlreadyAssociated": "Bu giriş bilgilerine sahip bir kullanıcı zaten var.",
+ "Identity.PasswordMismatch": "Hatalı şifre.",
+ "Identity.PasswordRequiresDigit": "Şifre en az bir sayı içermeli ('0'-'9').",
+ "Identity.PasswordRequiresLower": "Şifre en az bir küçük harf içermeli ('a'-'z').",
+ "Identity.PasswordRequiresNonAlphanumeric": "Şifre en az bir sayı ya da harf olmayan karakter içermeli.",
+ "Identity.PasswordRequiresUpper": "Şifre en az bir büyük harf içermeli ('A'-'Z').",
+ "Identity.PasswordTooShort": "Şifre en az {0} karakter uzunluğunda olmalı.",
+ "Identity.RoleNotFound": "{0} rolü bulunamadı.",
+ "Identity.UserAlreadyHasPassword": "Kullanıcının zaten bir şifresi var.",
+ "Identity.UserAlreadyInRole": "Kullanıcı zaten '{0}' rolünde.",
+ "Identity.UserLockedOut": "Kullanıcı hesabı kilitlenmiş.",
+ "Identity.UserLockoutNotEnabled": "Bu kullanıcı için hesap kilitleme etkin değil.",
+ "Identity.UserNameNotFound": "{0} kullanıcısı bulunamadı.",
+ "Identity.UserNotInRole": "Kullanıcı '{0}' rolünde değil.",
+ "Identity.PasswordConfirmationFailed": "Yeni şifre ile onay şifresi uyuşmuyor.",
+ "Volo.Abp.Identity:010001": "Kendi hesabınızı silemezsiniz!",
+ "Permission:IdentityManagement": "Kimlik yönetimi",
+ "Permission:RoleManagement": "Rol yönetimi",
+ "Permission:Create": "Oluşturma",
+ "Permission:Edit": "Düzenleme",
+ "Permission:Delete": "Silme",
+ "Permission:ChangePermissions": "İzinleri değiştirme",
+ "Permission:UserManagement": "Kullanıcı yönetimi",
+ "Permission:UserLookup": "Kullanıcı sorgulama"
+ }
+}
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/vi.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/vi.json
similarity index 52%
rename from modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/vi.json
rename to modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/vi.json
index 7546865cfc..64690959b7 100644
--- a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/vi.json
+++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/vi.json
@@ -1,6 +1,40 @@
{
"culture": "vi",
"texts": {
+ "Menu:IdentityManagement": "Quản lý danh tính",
+ "Users": "Người dùng",
+ "NewUser": "Tạo người dùng mới",
+ "UserName": "Tên đăng nhập",
+ "EmailAddress": "Địa chỉ email",
+ "PhoneNumber": "Số điện thoại",
+ "UserInformations": "Thông tin người dùng",
+ "DisplayName:IsDefault": "Mặc định",
+ "DisplayName:IsStatic": "Cố định",
+ "DisplayName:IsPublic": "Công khai",
+ "Roles": "Vai trò",
+ "Password": "Mật khẩu",
+ "PersonalInfo": "Thông tin của tôi",
+ "PersonalSettings": "Thiết lập cá nhân",
+ "UserDeletionConfirmationMessage": "Người '{0}' sẽ bị xóa. Bạn có xác nhận điều này không?",
+ "RoleDeletionConfirmationMessage": "vai trò '{0}' sẽ bị xóa. Bạn có xác nhận điều này không?",
+ "DisplayName:RoleName": "Tên vai trò",
+ "DisplayName:UserName": "Tên người dùng",
+ "DisplayName:Name": "Tên",
+ "DisplayName:Surname": "Họ",
+ "DisplayName:Password": "mật khẩu",
+ "DisplayName:Email": "Địa chỉ email",
+ "DisplayName:PhoneNumber": "Số điện thoại",
+ "DisplayName:TwoFactorEnabled": "Xác thực hai yếu tố",
+ "DisplayName:LockoutEnabled": "Khóa tài khoản sau những lần đăng nhập thất bại",
+ "NewRole": "Vai trò mới",
+ "RoleName": "Tên vai trò",
+ "CreationTime": "Thời gian tạo",
+ "Permissions": "Quyền",
+ "DisplayName:CurrentPassword": "Mật khẩu hiện tại",
+ "DisplayName:NewPassword": "Mật khẩu mới",
+ "DisplayName:NewPasswordConfirm": "Xác nhận mật khẩu",
+ "PasswordChangedMessage": "Mật khẩu của bạn đã được thay đổi thành công.",
+ "PersonalSettingsSavedMessage": "Thiết lập của bạn đã được lưu lại thành công.",
"Identity.DefaultError": "Một thất bại chưa biết đã xảy ra.",
"Identity.ConcurrencyFailure": "Thất bại đồng thời lạc quan, đối tượng đã được sửa đổi.",
"Identity.DuplicateEmail": "Email '{0}' đã được sử dụng.",
@@ -28,6 +62,15 @@
"Identity.UserNotInRole": "Người dùng không có vai trò '{0}'.",
"Identity.PasswordConfirmationFailed": "Mật khẩu không khớp với mật khẩu xác nhận.",
"Identity.StaticRoleRenamingErrorMessage": "Vai trò này là cố định không được phép đổi tên.",
- "Identity.StaticRoleDeletionErrorMessage": "Vai trò này là cố định không được phép xóa."
+ "Identity.StaticRoleDeletionErrorMessage": "Vai trò này là cố định không được phép xóa.",
+ "Volo.Abp.Identity:010001": "Bạn không thể xóa tài khoản của riêng bạn!",
+ "Permission:IdentityManagement": "Quản lý danh tính",
+ "Permission:RoleManagement": "Quản lý vai trò",
+ "Permission:Create": "Tạo",
+ "Permission:Edit": "Sửa",
+ "Permission:Delete": "Xóa",
+ "Permission:ChangePermissions": "Thay đổi quyền",
+ "Permission:UserManagement": "Quản lý người dùng",
+ "Permission:UserLookup": "Tra cứu người dùng"
}
}
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hans.json b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hans.json
new file mode 100644
index 0000000000..732dc1aad0
--- /dev/null
+++ b/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hans.json
@@ -0,0 +1,76 @@
+{
+ "culture": "zh-Hans",
+ "texts": {
+ "Menu:IdentityManagement": "身份认证管理",
+ "Users": "用户",
+ "NewUser": "新用户",
+ "UserName": "用户名称",
+ "EmailAddress": "邮箱地址",
+ "PhoneNumber": "手机号",
+ "UserInformations": "用户信息",
+ "DisplayName:IsDefault": "默认",
+ "DisplayName:IsStatic": "静态",
+ "DisplayName:IsPublic": "公开",
+ "Roles": "角色",
+ "Password": "密码",
+ "PersonalInfo": " 个人信息",
+ "PersonalSettings": "个人设置",
+ "UserDeletionConfirmationMessage": "用户 '{0}' 将被删除. 你确定吗?",
+ "RoleDeletionConfirmationMessage": "角色 '{0}' 将被删除. 你确定吗?",
+ "DisplayName:RoleName": "角色名称",
+ "DisplayName:UserName": "用户名称",
+ "DisplayName:Name": "名",
+ "DisplayName:Surname": "姓",
+ "DisplayName:Password": "密码",
+ "DisplayName:Email": "邮箱地址",
+ "DisplayName:PhoneNumber": "手机号码",
+ "DisplayName:TwoFactorEnabled": "二次认证",
+ "DisplayName:LockoutEnabled": "登录失败,账户被锁定",
+ "NewRole": "新角色",
+ "RoleName": "角色名称",
+ "CreationTime": "创建时间",
+ "Permissions": "权限",
+ "DisplayName:CurrentPassword": "当前密码",
+ "DisplayName:NewPassword": "新密码",
+ "DisplayName:NewPasswordConfirm": "确认新密码",
+ "PasswordChangedMessage": "你已成功更改密码.",
+ "PersonalSettingsSavedMessage": "你的个人设置保存成功.",
+ "Identity.DefaultError": "发生了一个未知错误.",
+ "Identity.ConcurrencyFailure": "对象已被修改,乐观并发失败.",
+ "Identity.DuplicateEmail": "邮箱 '{0}' 已存在.",
+ "Identity.DuplicateRoleName": "角色名 '{0}' 已存在.",
+ "Identity.DuplicateUserName": "用户名 '{0}' 已存在.",
+ "Identity.InvalidEmail": "邮箱 '{0}' 无效.",
+ "Identity.InvalidPasswordHasherCompatibilityMode": "提供的 PasswordHasherCompatibilityMode 无效.",
+ "Identity.InvalidPasswordHasherIterationCount": "迭代计数必须是正整数.",
+ "Identity.InvalidRoleName": "角色名 '{0}' 无效.",
+ "Identity.InvalidToken": "token无效.",
+ "Identity.InvalidUserName": "用户名 '{0}' 无效, 只能包含字母或数字.",
+ "Identity.LoginAlreadyAssociated": "此登录名的用户已存在.",
+ "Identity.PasswordMismatch": "密码错误.",
+ "Identity.PasswordRequiresDigit": "密码至少包含一位数字 ('0'-'9').",
+ "Identity.PasswordRequiresLower": "密码至少包含一位小写字母 ('a'-'z').",
+ "Identity.PasswordRequiresNonAlphanumeric": "密码至少包含一位非字母数字字符.",
+ "Identity.PasswordRequiresUpper": "密码至少包含一位大写字母 ('A'-'Z').",
+ "Identity.PasswordTooShort": "密码至少为{0}个字符.",
+ "Identity.RoleNotFound": "角色 {0} 不存在.",
+ "Identity.UserAlreadyHasPassword": "用户已设置密码.",
+ "Identity.UserAlreadyInRole": "用户已具有角色 '{0}'.",
+ "Identity.UserLockedOut": "用户被锁定.",
+ "Identity.UserLockoutNotEnabled": "该用户未启用锁定.",
+ "Identity.UserNameNotFound": "用户 {0} 不存在.",
+ "Identity.UserNotInRole": "用户不具有 '{0}' 角色.",
+ "Identity.PasswordConfirmationFailed": "密码或确认密码不一致.",
+ "Identity.StaticRoleRenamingErrorMessage": "无法重命名静态角色.",
+ "Identity.StaticRoleDeletionErrorMessage": "无法删除静态角色.",
+ "Volo.Abp.Identity:010001": "您无法删除自己的帐户!",
+ "Permission:IdentityManagement": "身份标识管理",
+ "Permission:RoleManagement": "角色管理",
+ "Permission:Create": "创建",
+ "Permission:Edit": "编辑",
+ "Permission:Delete": "删除",
+ "Permission:ChangePermissions": "更改权限",
+ "Permission:UserManagement": "用户管理",
+ "Permission:UserLookup": "用户查询"
+ }
+ }
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain/Volo.Abp.Identity.Domain.csproj b/modules/identity/src/Volo.Abp.Identity.Domain/Volo.Abp.Identity.Domain.csproj
index b0cff474c1..0919140b8c 100644
--- a/modules/identity/src/Volo.Abp.Identity.Domain/Volo.Abp.Identity.Domain.csproj
+++ b/modules/identity/src/Volo.Abp.Identity.Domain/Volo.Abp.Identity.Domain.csproj
@@ -13,10 +13,6 @@
-
-
-
-
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs b/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs
index 067c0b43c9..304662a99c 100644
--- a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs
+++ b/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs
@@ -21,18 +21,6 @@ namespace Volo.Abp.Identity
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
- Configure(options =>
- {
- options.FileSets.AddEmbedded();
- });
-
- Configure(options =>
- {
- options.Resources
- .Get()
- .AddVirtualJson("/Volo/Abp/Identity/Localization/Domain");
- });
-
Configure(options =>
{
options.EtoMappings.Add();
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/tr.json b/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/tr.json
deleted file mode 100644
index 96cf510ff8..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/tr.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "culture": "tr",
- "texts": {
- "Identity.DefaultError": "Bilinmeyen bir hata oluştu.",
- "Identity.ConcurrencyFailure": "İyimser eşzamanlılık hatası. Nesne değiştirilmiş.",
- "Identity.DuplicateEmail": "'{0}' email adresi zaten alınmış.",
- "Identity.DuplicateRoleName": "'{0}' rol ismi zaten alınmış.",
- "Identity.DuplicateUserName": "'{0}' kullanıcı adı zaten alınmış.",
- "Identity.InvalidEmail": "'{0}' email adresi hatalı.",
- "Identity.InvalidPasswordHasherCompatibilityMode": "Belirtilen PasswordHasherCompatibilityMode geçersiz.",
- "Identity.InvalidPasswordHasherIterationCount": "Iterasyon sayısı sıfırdan büyük bir sayı olmalı.",
- "Identity.InvalidRoleName": "'{0}' rol ismi geçersizdir.",
- "Identity.InvalidToken": "Geçersiz token.",
- "Identity.InvalidUserName": "'{0}' kullanıcı adı geçersiz, sadece harf ve rakamlardan oluşmalı.",
- "Identity.LoginAlreadyAssociated": "Bu giriş bilgilerine sahip bir kullanıcı zaten var.",
- "Identity.PasswordMismatch": "Hatalı şifre.",
- "Identity.PasswordRequiresDigit": "Şifre en az bir sayı içermeli ('0'-'9').",
- "Identity.PasswordRequiresLower": "Şifre en az bir küçük harf içermeli ('a'-'z').",
- "Identity.PasswordRequiresNonAlphanumeric": "Şifre en az bir sayı ya da harf olmayan karakter içermeli.",
- "Identity.PasswordRequiresUpper": "Şifre en az bir büyük harf içermeli ('A'-'Z').",
- "Identity.PasswordTooShort": "Şifre en az {0} karakter uzunluğunda olmalı.",
- "Identity.RoleNotFound": "{0} rolü bulunamadı.",
- "Identity.UserAlreadyHasPassword": "Kullanıcının zaten bir şifresi var.",
- "Identity.UserAlreadyInRole": "Kullanıcı zaten '{0}' rolünde.",
- "Identity.UserLockedOut": "Kullanıcı hesabı kilitlenmiş.",
- "Identity.UserLockoutNotEnabled": "Bu kullanıcı için hesap kilitleme etkin değil.",
- "Identity.UserNameNotFound": "{0} kullanıcısı bulunamadı.",
- "Identity.UserNotInRole": "Kullanıcı '{0}' rolünde değil.",
- "Identity.PasswordConfirmationFailed": "Yeni şifre ile onay şifresi uyuşmuyor."
- }
-}
\ No newline at end of file
diff --git a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/zh-Hans.json b/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/zh-Hans.json
deleted file mode 100644
index cb285fc6eb..0000000000
--- a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/zh-Hans.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "culture": "zh-Hans",
- "texts": {
- "Identity.DefaultError": "发生了一个未知错误.",
- "Identity.ConcurrencyFailure": "对象已被修改,乐观并发失败.",
- "Identity.DuplicateEmail": "邮箱 '{0}' 已存在.",
- "Identity.DuplicateRoleName": "角色名 '{0}' 已存在.",
- "Identity.DuplicateUserName": "用户名 '{0}' 已存在.",
- "Identity.InvalidEmail": "邮箱 '{0}' 无效.",
- "Identity.InvalidPasswordHasherCompatibilityMode": "提供的 PasswordHasherCompatibilityMode 无效.",
- "Identity.InvalidPasswordHasherIterationCount": "迭代计数必须是正整数.",
- "Identity.InvalidRoleName": "角色名 '{0}' 无效.",
- "Identity.InvalidToken": "token无效.",
- "Identity.InvalidUserName": "用户名 '{0}' 无效, 只能包含字母或数字.",
- "Identity.LoginAlreadyAssociated": "此登录名的用户已存在.",
- "Identity.PasswordMismatch": "密码错误.",
- "Identity.PasswordRequiresDigit": "密码至少包含一位数字 ('0'-'9').",
- "Identity.PasswordRequiresLower": "密码至少包含一位小写字母 ('a'-'z').",
- "Identity.PasswordRequiresNonAlphanumeric": "密码至少包含一位非字母数字字符.",
- "Identity.PasswordRequiresUpper": "密码至少包含一位大写字母 ('A'-'Z').",
- "Identity.PasswordTooShort": "密码至少为{0}个字符.",
- "Identity.RoleNotFound": "角色 {0} 不存在.",
- "Identity.UserAlreadyHasPassword": "用户已设置密码.",
- "Identity.UserAlreadyInRole": "用户已具有角色 '{0}'.",
- "Identity.UserLockedOut": "用户被锁定.",
- "Identity.UserLockoutNotEnabled": "该用户未启用锁定.",
- "Identity.UserNameNotFound": "用户 {0} 不存在.",
- "Identity.UserNotInRole": "用户不具有 '{0}' 角色.",
- "Identity.PasswordConfirmationFailed": "密码或确认密码不一致.",
- "Identity.StaticRoleRenamingErrorMessage": "无法重命名静态角色.",
- "Identity.StaticRoleDeletionErrorMessage": "无法删除静态角色."
- }
- }
\ No newline at end of file
diff --git a/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/Localization_Tests.cs b/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/Localization_Tests.cs
new file mode 100644
index 0000000000..2a3c870eb3
--- /dev/null
+++ b/modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/Localization_Tests.cs
@@ -0,0 +1,25 @@
+using Microsoft.Extensions.Localization;
+using Shouldly;
+using Volo.Abp.Identity;
+using Volo.Abp.Identity.Localization;
+using Xunit;
+
+namespace Volo.Abp.TenantManagement
+{
+ public class Localization_Tests : AbpIdentityDomainTestBase
+ {
+ private readonly IStringLocalizer _stringLocalizer;
+
+ public Localization_Tests()
+ {
+ _stringLocalizer = GetRequiredService>();
+ }
+
+ [Fact]
+ public void Test()
+ {
+ _stringLocalizer["PersonalSettingsSavedMessage"].Value
+ .ShouldBe("Your personal settings has been saved successfully.");
+ }
+ }
+}
\ No newline at end of file