mirror of https://github.com/abpframework/abp.git
35 changed files with 92 additions and 161 deletions
@ -1,28 +1,13 @@ |
|||||
using Volo.Abp.Application; |
using Volo.Abp.Application; |
||||
using Volo.Abp.Localization; |
|
||||
using Volo.Abp.Modularity; |
using Volo.Abp.Modularity; |
||||
using Volo.Abp.TenantManagement.Localization; |
|
||||
using Volo.Abp.VirtualFileSystem; |
|
||||
|
|
||||
namespace Volo.Abp.TenantManagement |
namespace Volo.Abp.TenantManagement |
||||
{ |
{ |
||||
[DependsOn(typeof(AbpDddApplicationModule))] |
[DependsOn( |
||||
[DependsOn(typeof(AbpTenantManagementDomainSharedModule))] |
typeof(AbpDddApplicationModule), |
||||
|
typeof(AbpTenantManagementDomainSharedModule))] |
||||
public class AbpTenantManagementApplicationContractsModule : AbpModule |
public class AbpTenantManagementApplicationContractsModule : AbpModule |
||||
{ |
{ |
||||
public override void ConfigureServices(ServiceConfigurationContext context) |
|
||||
{ |
|
||||
Configure<VirtualFileSystemOptions>(options => |
|
||||
{ |
|
||||
options.FileSets.AddEmbedded<AbpTenantManagementApplicationContractsModule>(); |
|
||||
}); |
|
||||
|
|
||||
Configure<AbpLocalizationOptions>(options => |
|
||||
{ |
|
||||
options.Resources |
|
||||
.Get<AbpTenantManagementResource>() |
|
||||
.AddVirtualJson("/Volo/Abp/TenantManagement/Localization/ApplicationContracts"); |
|
||||
}); |
|
||||
} |
|
||||
} |
} |
||||
} |
} |
||||
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"culture": "cs", |
|
||||
"texts": { |
|
||||
"Permission:TenantManagement": "Správa tenantů", |
|
||||
"Permission:Create": "Vytvořit", |
|
||||
"Permission:Edit": "Upravit", |
|
||||
"Permission:Delete": "Smazat", |
|
||||
"Permission:ManageConnectionStrings": "Spravovat connection stringy", |
|
||||
"Permission:ManageFeatures": "Spravovat funkce" |
|
||||
} |
|
||||
} |
|
||||
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"culture": "en", |
|
||||
"texts": { |
|
||||
"Permission:TenantManagement": "Tenant management", |
|
||||
"Permission:Create": "Create", |
|
||||
"Permission:Edit": "Edit", |
|
||||
"Permission:Delete": "Delete", |
|
||||
"Permission:ManageConnectionStrings": "Manage connection strings", |
|
||||
"Permission:ManageFeatures": "Manage features" |
|
||||
} |
|
||||
} |
|
||||
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"culture": "pl", |
|
||||
"texts": { |
|
||||
"Permission:TenantManagement": "Zarządzanie tenantami", |
|
||||
"Permission:Create": "Utwórz", |
|
||||
"Permission:Edit": "Edytuj", |
|
||||
"Permission:Delete": "Usuń", |
|
||||
"Permission:ManageConnectionStrings": "Zarządzaj connection string'ami", |
|
||||
"Permission:ManageFeatures": "Zarządzaj fukcjami" |
|
||||
} |
|
||||
} |
|
||||
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"culture": "pt-BR", |
|
||||
"texts": { |
|
||||
"Permission:TenantManagement": "Inquilinos", |
|
||||
"Permission:Create": "Criar", |
|
||||
"Permission:Edit": "Editar", |
|
||||
"Permission:Delete": "Excluir", |
|
||||
"Permission:ManageConnectionStrings": "Gerenciar conexões (connection strings)", |
|
||||
"Permission:ManageFeatures": "Gerenciar Funcionalidades" |
|
||||
} |
|
||||
} |
|
||||
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"culture": "tr", |
|
||||
"texts": { |
|
||||
"Permission:TenantManagement": "Müşteri yönetimi", |
|
||||
"Permission:Create": "Oluşturma", |
|
||||
"Permission:Edit": "Düzenleme", |
|
||||
"Permission:Delete": "Silme", |
|
||||
"Permission:ManageConnectionStrings": "Bağlantı cümlelerini yönet", |
|
||||
"Permission:ManageFeatures": "Özellikleri yönet" |
|
||||
} |
|
||||
} |
|
||||
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"culture": "vi", |
|
||||
"texts": { |
|
||||
"Permission:TenantManagement": "Quản lý khách thuê", |
|
||||
"Permission:Create": "Tạo", |
|
||||
"Permission:Edit": "Sửa", |
|
||||
"Permission:Delete": "Xóa", |
|
||||
"Permission:ManageConnectionStrings": "Quản lý chuỗi kết nối", |
|
||||
"Permission:ManageFeatures": "Quản lý các tính năng" |
|
||||
} |
|
||||
} |
|
||||
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"culture": "zh-Hans", |
|
||||
"texts": { |
|
||||
"Permission:TenantManagement": "租户管理", |
|
||||
"Permission:Create": "创建", |
|
||||
"Permission:Edit": "编辑", |
|
||||
"Permission:Delete": "删除", |
|
||||
"Permission:ManageConnectionStrings": "管理连接字符串", |
|
||||
"Permission:ManageFeatures": "管理功能" |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue