Browse Source

fixed identity localization

pull/1574/head
Yunus Emre Kalkan 7 years ago
parent
commit
1de30a8ba6
  1. 4
      modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo.Abp.Identity.Application.Contracts.csproj
  2. 20
      modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/AbpIdentityApplicationContractsModule.cs
  3. 14
      modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/cs.json
  4. 14
      modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/en.json
  5. 14
      modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/pl.json
  6. 14
      modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/pt-BR.json
  7. 14
      modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/tr.json
  8. 14
      modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/vi.json
  9. 14
      modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/zh-Hans.json
  10. 4
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo.Abp.Identity.Domain.Shared.csproj
  11. 8
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/AbpIdentityDomainSharedModule.cs
  12. 39
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/cs.json
  13. 39
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/en.json
  14. 39
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/pl.json
  15. 39
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/pt-BR.json
  16. 41
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/tr.json
  17. 39
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/vi.json
  18. 39
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/zh-Hans.json
  19. 45
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/cs.json
  20. 45
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json
  21. 45
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pl.json
  22. 45
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pt-BR.json
  23. 76
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/tr.json
  24. 45
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/vi.json
  25. 76
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hans.json
  26. 4
      modules/identity/src/Volo.Abp.Identity.Domain/Volo.Abp.Identity.Domain.csproj
  27. 12
      modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs
  28. 31
      modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/tr.json
  29. 33
      modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/zh-Hans.json
  30. 25
      modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/Localization_Tests.cs

4
modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo.Abp.Identity.Application.Contracts.csproj

@ -13,10 +13,6 @@
<RootNamespace />
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Volo\Abp\Identity\Localization\ApplicationContracts\*.json" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Volo.Abp.Identity.Domain.Shared\Volo.Abp.Identity.Domain.Shared.csproj" />
<ProjectReference Include="..\..\..\permission-management\src\Volo.Abp.PermissionManagement.Application.Contracts\Volo.Abp.PermissionManagement.Application.Contracts.csproj" />

20
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<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<AbpIdentityApplicationContractsModule>();
});
Configure<AbpLocalizationOptions>(options =>
{
options.Resources
.Get<IdentityResource>()
.AddVirtualJson("/Volo/Abp/Identity/Localization/ApplicationContracts");
});
Configure<ExceptionLocalizationOptions>(options =>
{
options.MapCodeNamespace("Volo.Abp.Identity", typeof(IdentityResource));
});
}
}
}

14
modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/cs.json

@ -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"
}
}

14
modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/en.json

@ -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"
}
}

14
modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/pl.json

@ -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"
}
}

14
modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/pt-BR.json

@ -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"
}
}

14
modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/tr.json

@ -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"
}
}

14
modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/vi.json

@ -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"
}
}

14
modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/Localization/ApplicationContracts/zh-Hans.json

@ -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": "用户查询"
}
}

4
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo.Abp.Identity.Domain.Shared.csproj

@ -14,11 +14,11 @@
</PropertyGroup>
<ItemGroup>
<content Remove="Volo\Abp\Identity\Localization\Domain\*.json" />
<EmbeddedResource Include="Volo\Abp\Identity\Localization\*.json" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Volo\Abp\Identity\Localization\Domain\*.json" />
<Content Remove="Volo\Abp\Identity\Localization\*.json" />
</ItemGroup>
<ItemGroup>

8
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<IdentityResource>("en")
.AddBaseTypes(
typeof(AbpValidationResource)
).AddVirtualJson("/Volo/Abp/Identity/Localization/Domain");
).AddVirtualJson("/Volo/Abp/Identity/Localization");
});
Configure<ExceptionLocalizationOptions>(options =>
{
options.MapCodeNamespace("Volo.Abp.Identity", typeof(IdentityResource));
});
}
}

39
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/cs.json

@ -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."
}
}

39
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/en.json

@ -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."
}
}

39
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/pl.json

@ -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."
}
}

39
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/pt-BR.json

@ -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."
}
}

41
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/tr.json

@ -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."
}
}

39
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/vi.json

@ -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."
}
}

39
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/Domain/zh-Hans.json

@ -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": "你的个人设置保存成功."
}
}

45
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/cs.json → 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"
}
}

45
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/en.json → 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"
}
}

45
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/pl.json → 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"
}
}

45
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/pt-BR.json → 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"
}
}

76
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"
}
}

45
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/vi.json → 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"
}
}

76
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": "用户查询"
}
}

4
modules/identity/src/Volo.Abp.Identity.Domain/Volo.Abp.Identity.Domain.csproj

@ -13,10 +13,6 @@
<RootNamespace />
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Volo\Abp\Identity\Localization\Domain\*.json" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Volo\Abp\Permissions\**" />
<EmbeddedResource Remove="Volo\Abp\Permissions\**" />

12
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<VirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<AbpIdentityDomainModule>();
});
Configure<AbpLocalizationOptions>(options =>
{
options.Resources
.Get<IdentityResource>()
.AddVirtualJson("/Volo/Abp/Identity/Localization/Domain");
});
Configure<DistributedEventBusOptions>(options =>
{
options.EtoMappings.Add<IdentityUser, UserEto>();

31
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/tr.json

@ -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."
}
}

33
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/Localization/Domain/zh-Hans.json

@ -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": "无法删除静态角色."
}
}

25
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<IdentityResource> _stringLocalizer;
public Localization_Tests()
{
_stringLocalizer = GetRequiredService<IStringLocalizer<IdentityResource>>();
}
[Fact]
public void Test()
{
_stringLocalizer["PersonalSettingsSavedMessage"].Value
.ShouldBe("Your personal settings has been saved successfully.");
}
}
}
Loading…
Cancel
Save