mirror of https://github.com/abpframework/abp.git
99 changed files with 378 additions and 358 deletions
@ -1,10 +1,32 @@ |
|||||
{ |
{ |
||||
"culture": "zh-Hans", |
"culture": "zh-Hans", |
||||
"texts": { |
"texts": { |
||||
"Permission:DocumentManagement": "文档管理", |
"Permission:DocumentManagement": "文档管理", |
||||
"Permission:Projects": "项目", |
"Permission:Projects": "项目", |
||||
"Permission:Edit": "编辑", |
"Permission:Edit": "编辑", |
||||
"Permission:Delete": "删除", |
"Permission:Delete": "删除", |
||||
"Permission:Create": "创建" |
"Permission:Create": "创建", |
||||
} |
"Menu:DocumentManagement": "文档", |
||||
|
"Menu:ProjectManagement": "项目", |
||||
|
"CreateANewProject": "创建新项目", |
||||
|
"Edit": "编辑", |
||||
|
"Create": "创建", |
||||
|
"Projects": "项目", |
||||
|
"Name": "名称", |
||||
|
"ShortName": "简称", |
||||
|
"DocumentStoreType": "文件存储类型", |
||||
|
"Format": "格式", |
||||
|
"ShortNameInfoText": "将用于唯一的URL.", |
||||
|
"DisplayName:Name": "名称", |
||||
|
"DisplayName:ShortName": "简称", |
||||
|
"DisplayName:Format": "格式", |
||||
|
"DisplayName:DefaultDocumentName": "默认文档名称", |
||||
|
"DisplayName:NavigationDocumentName": "导航文档名称", |
||||
|
"DisplayName:MinimumVersion": "最低版本", |
||||
|
"DisplayName:MainWebsiteUrl": "主网站网址", |
||||
|
"DisplayName:LatestVersionBranchName": "最新版本的分支名称", |
||||
|
"DisplayName:GitHubRootUrl": "GitHub根网址", |
||||
|
"DisplayName:GitHubAccessToken": "GitHub访问令牌", |
||||
|
"DisplayName:GitHubUserAgent": "GitHub用户代理" |
||||
|
} |
||||
} |
} |
||||
@ -1,27 +0,0 @@ |
|||||
{ |
|
||||
"culture": "cs", |
|
||||
"texts": { |
|
||||
"Menu:DocumentManagement": "Dokumenty", |
|
||||
"Menu:ProjectManagement": "Projekty", |
|
||||
"CreateANewProject": "Vytvořit nový projekt", |
|
||||
"Edit": "Upravit", |
|
||||
"Create": "Vytvořit", |
|
||||
"Projects": "Projekty", |
|
||||
"Name": "Název", |
|
||||
"ShortName": "Krátký název", |
|
||||
"DocumentStoreType": "Typ uložiště dokumentu", |
|
||||
"Format": "Formát", |
|
||||
"ShortNameInfoText": "Bude použíto k unikátnímu URL.", |
|
||||
"DisplayName:Name": "Název", |
|
||||
"DisplayName:ShortName": "Krátký název", |
|
||||
"DisplayName:Format": "Formát", |
|
||||
"DisplayName:DefaultDocumentName": "Název výchozího dokumentu", |
|
||||
"DisplayName:NavigationDocumentName": "Název navigačního dokumentu", |
|
||||
"DisplayName:MinimumVersion": "Nejnižší verze", |
|
||||
"DisplayName:MainWebsiteUrl": "URL hlavních webových stránek", |
|
||||
"DisplayName:LatestVersionBranchName": "Název poslední verze odvětví", |
|
||||
"DisplayName:GitHubRootUrl": "GitHub kořenové URL", |
|
||||
"DisplayName:GitHubAccessToken": "GitHub přístupový token", |
|
||||
"DisplayName:GitHubUserAgent": "GitHub user agent" |
|
||||
} |
|
||||
} |
|
||||
@ -1,27 +0,0 @@ |
|||||
{ |
|
||||
"culture": "en", |
|
||||
"texts": { |
|
||||
"Menu:DocumentManagement": "Documents", |
|
||||
"Menu:ProjectManagement": "Projects", |
|
||||
"CreateANewProject": "Create new project", |
|
||||
"Edit": "Edit", |
|
||||
"Create": "Create", |
|
||||
"Projects": "Projects", |
|
||||
"Name": "Name", |
|
||||
"ShortName": "ShortName", |
|
||||
"DocumentStoreType": "DocumentStoreType", |
|
||||
"Format": "Format", |
|
||||
"ShortNameInfoText": "Will be used for unique URL.", |
|
||||
"DisplayName:Name": "Name", |
|
||||
"DisplayName:ShortName": "Short name", |
|
||||
"DisplayName:Format": "Format", |
|
||||
"DisplayName:DefaultDocumentName": "Default document name", |
|
||||
"DisplayName:NavigationDocumentName": "Navigation document name", |
|
||||
"DisplayName:MinimumVersion": "Minimum version", |
|
||||
"DisplayName:MainWebsiteUrl": "Main web site URL", |
|
||||
"DisplayName:LatestVersionBranchName": "Latest version branch name", |
|
||||
"DisplayName:GitHubRootUrl": "GitHub root URL", |
|
||||
"DisplayName:GitHubAccessToken": "GitHub access token", |
|
||||
"DisplayName:GitHubUserAgent": "GitHub user agent" |
|
||||
} |
|
||||
} |
|
||||
@ -1,27 +0,0 @@ |
|||||
{ |
|
||||
"culture": "pl", |
|
||||
"texts": { |
|
||||
"Menu:DocumentManagement": "Dokumenty", |
|
||||
"Menu:ProjectManagement": "Projekty", |
|
||||
"CreateANewProject": "Utwórz nowy projet", |
|
||||
"Edit": "Edytuj", |
|
||||
"Create": "Utwórz", |
|
||||
"Projects": "Projekty", |
|
||||
"Name": "Nazwa", |
|
||||
"ShortName": "Krótka nazwa", |
|
||||
"DocumentStoreType": "Typ zapisu dokumentu", |
|
||||
"Format": "Format", |
|
||||
"ShortNameInfoText": "Zostanie użyty do unikalnego URL.", |
|
||||
"DisplayName:Name": "Nazwa", |
|
||||
"DisplayName:ShortName": "Krótka nazwa", |
|
||||
"DisplayName:Format": "Format", |
|
||||
"DisplayName:DefaultDocumentName": "Domyślna nazwa dokumentu", |
|
||||
"DisplayName:NavigationDocumentName": "Nawigacyjna nazwa dokumentu", |
|
||||
"DisplayName:MinimumVersion": "Minimalna wersja", |
|
||||
"DisplayName:MainWebsiteUrl": "Adres strony głównej", |
|
||||
"DisplayName:LatestVersionBranchName": "Nazwa brancha ostatniej wersji", |
|
||||
"DisplayName:GitHubRootUrl": "Adres URL do GitHub'a", |
|
||||
"DisplayName:GitHubAccessToken": "GitHub access token", |
|
||||
"DisplayName:GitHubUserAgent": "GitHub user agent" |
|
||||
} |
|
||||
} |
|
||||
@ -1,27 +0,0 @@ |
|||||
{ |
|
||||
"culture": "pt-BR", |
|
||||
"texts": { |
|
||||
"Menu:DocumentManagement": "Documentos", |
|
||||
"Menu:ProjectManagement": "Projetos", |
|
||||
"CreateANewProject": "Criar um novo projeto", |
|
||||
"Edit": "Editar", |
|
||||
"Create": "Criar", |
|
||||
"Projects": "Projetos", |
|
||||
"Name": "Nome", |
|
||||
"ShortName": "Nome Curto", |
|
||||
"DocumentStoreType": "DocumentStoreType", |
|
||||
"Format": "Formato", |
|
||||
"ShortNameInfoText": "Será utilizado para URL única.", |
|
||||
"DisplayName:Name": "Nome", |
|
||||
"DisplayName:ShortName": "Nome Curto", |
|
||||
"DisplayName:Format": "Formatar", |
|
||||
"DisplayName:DefaultDocumentName": "Nome padrão do documento", |
|
||||
"DisplayName:NavigationDocumentName": "Nome de navegação do documento", |
|
||||
"DisplayName:MinimumVersion": "VErsão mínima", |
|
||||
"DisplayName:MainWebsiteUrl": "URL do site principal", |
|
||||
"DisplayName:LatestVersionBranchName": "Nome do branch da última versão", |
|
||||
"DisplayName:GitHubRootUrl": "URL raíz do GitHub", |
|
||||
"DisplayName:GitHubAccessToken": "Token de acesso do GitHub", |
|
||||
"DisplayName:GitHubUserAgent": "Usuário agente do GitHub" |
|
||||
} |
|
||||
} |
|
||||
@ -1,26 +0,0 @@ |
|||||
{ |
|
||||
"culture": "tr", |
|
||||
"texts": { |
|
||||
"Menu:DocumentManagement": "Dökümanlar", |
|
||||
"Menu:ProjectManagement": "Projeler", |
|
||||
"CreateANewProject": "Yeni proje oluştur", |
|
||||
"Edit": "Düzenle", |
|
||||
"Create": "Yeni oluştur", |
|
||||
"Projects": "Projeler", |
|
||||
"Name": "İsim", |
|
||||
"ShortName": "Kısa isim", |
|
||||
"DocumentStoreType": "Döküman saklama tipi", |
|
||||
"Format": "Format", |
|
||||
"ShortNameInfoText": "URL oluştururken kullanılacak.", |
|
||||
"DisplayName:Name": "Adı", |
|
||||
"DisplayName:ShortName": "Kısa adı", |
|
||||
"DisplayName:Format": "Format", |
|
||||
"DisplayName:DefaultDocumentName": "Varsayılan döküman adı", |
|
||||
"DisplayName:NavigationDocumentName": "Navigasyon dökümanı adı", |
|
||||
"DisplayName:MinimumVersion": "Minimum versiyon", |
|
||||
"DisplayName:MainWebsiteUrl": "Ana web site URL", |
|
||||
"DisplayName:LatestVersionBranchName": "Son versiyon Branch adı", |
|
||||
"DisplayName:GitHubRootUrl": "GitHub kök adresi", |
|
||||
"DisplayName:GitHubAccessToken": "GitHub erişim token" |
|
||||
} |
|
||||
} |
|
||||
@ -1,27 +0,0 @@ |
|||||
{ |
|
||||
"culture": "vi", |
|
||||
"texts": { |
|
||||
"Menu:DocumentManagement": "Tài liệu", |
|
||||
"Menu:ProjectManagement": "Dự án", |
|
||||
"CreateANewProject": "Tạo dự án mới", |
|
||||
"Edit": "Sửa", |
|
||||
"Create": "Tạo", |
|
||||
"Projects": "Dự án", |
|
||||
"Name": "Tên", |
|
||||
"ShortName": "Tên rút gọn", |
|
||||
"DocumentStoreType": "DocumentStoreType", |
|
||||
"Format": "Định dạng", |
|
||||
"ShortNameInfoText": "Sẽ được sử dụng cho URL duy nhất..", |
|
||||
"DisplayName:Name": "Tên", |
|
||||
"DisplayName:ShortName": "Tên rút gọn", |
|
||||
"DisplayName:Format": "Định dạng", |
|
||||
"DisplayName:DefaultDocumentName": "Tên tài liệu mặc định", |
|
||||
"DisplayName:NavigationDocumentName": "Tên tài liệu điều hướng", |
|
||||
"DisplayName:MinimumVersion": "Phiên bản tối thiểu", |
|
||||
"DisplayName:MainWebsiteUrl": "URL trang web chính", |
|
||||
"DisplayName:LatestVersionBranchName": "Tên nhánh phiên bản mới nhất", |
|
||||
"DisplayName:GitHubRootUrl": "URL gốc của GitHub", |
|
||||
"DisplayName:GitHubAccessToken": "GitHub access token", |
|
||||
"DisplayName:GitHubUserAgent": "GitHub user agent" |
|
||||
} |
|
||||
} |
|
||||
@ -1,27 +0,0 @@ |
|||||
{ |
|
||||
"culture": "zh-Hans", |
|
||||
"texts": { |
|
||||
"Menu:DocumentManagement": "文档", |
|
||||
"Menu:ProjectManagement": "项目", |
|
||||
"CreateANewProject": "创建新项目", |
|
||||
"Edit": "编辑", |
|
||||
"Create": "创建", |
|
||||
"Projects": "项目", |
|
||||
"Name": "名称", |
|
||||
"ShortName": "简称", |
|
||||
"DocumentStoreType": "文件存储类型", |
|
||||
"Format": "格式", |
|
||||
"ShortNameInfoText": "将用于唯一的URL.", |
|
||||
"DisplayName:Name": "名称", |
|
||||
"DisplayName:ShortName": "简称", |
|
||||
"DisplayName:Format": "格式", |
|
||||
"DisplayName:DefaultDocumentName": "默认文档名称", |
|
||||
"DisplayName:NavigationDocumentName": "导航文档名称", |
|
||||
"DisplayName:MinimumVersion": "最低版本", |
|
||||
"DisplayName:MainWebsiteUrl": "主网站网址", |
|
||||
"DisplayName:LatestVersionBranchName": "最新版本的分支名称", |
|
||||
"DisplayName:GitHubRootUrl": "GitHub根网址", |
|
||||
"DisplayName:GitHubAccessToken": "GitHub访问令牌", |
|
||||
"DisplayName:GitHubUserAgent": "GitHub用户代理" |
|
||||
} |
|
||||
} |
|
||||
@ -1,6 +0,0 @@ |
|||||
{ |
|
||||
"culture": "cs", |
|
||||
"texts": { |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
@ -1,6 +0,0 @@ |
|||||
{ |
|
||||
"culture": "en", |
|
||||
"texts": { |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
@ -1,6 +0,0 @@ |
|||||
{ |
|
||||
"culture": "pl", |
|
||||
"texts": { |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
@ -1,6 +0,0 @@ |
|||||
{ |
|
||||
"culture": "pt-BR", |
|
||||
"texts": { |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
@ -1,6 +0,0 @@ |
|||||
{ |
|
||||
"culture": "vi", |
|
||||
"texts": { |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
@ -1,6 +0,0 @@ |
|||||
{ |
|
||||
"culture": "zh-Hans", |
|
||||
"texts": { |
|
||||
|
|
||||
} |
|
||||
} |
|
||||
@ -1,11 +1,24 @@ |
|||||
using Volo.Abp.AspNetCore.Mvc; |
using Volo.Abp.AspNetCore.Mvc; |
||||
|
using Volo.Abp.Identity.Localization; |
||||
|
using Volo.Abp.Localization; |
||||
using Volo.Abp.Modularity; |
using Volo.Abp.Modularity; |
||||
|
using Localization.Resources.AbpUi; |
||||
|
|
||||
namespace Volo.Abp.Identity |
namespace Volo.Abp.Identity |
||||
{ |
{ |
||||
[DependsOn(typeof(AbpIdentityApplicationContractsModule), typeof(AbpAspNetCoreMvcModule))] |
[DependsOn(typeof(AbpIdentityApplicationContractsModule), typeof(AbpAspNetCoreMvcModule))] |
||||
public class AbpIdentityHttpApiModule : AbpModule |
public class AbpIdentityHttpApiModule : AbpModule |
||||
{ |
{ |
||||
|
public override void ConfigureServices(ServiceConfigurationContext context) |
||||
|
{ |
||||
|
Configure<AbpLocalizationOptions>(options => |
||||
|
{ |
||||
|
options.Resources |
||||
|
.Get<IdentityResource>() |
||||
|
.AddBaseTypes( |
||||
|
typeof(AbpUiResource) |
||||
|
); |
||||
|
}); |
||||
|
} |
||||
} |
} |
||||
} |
} |
||||
@ -1,9 +1,27 @@ |
|||||
using Volo.Abp.Modularity; |
using Volo.Abp.Modularity; |
||||
|
using Volo.Abp.Localization; |
||||
|
using Volo.Abp.SettingManagement.Localization; |
||||
|
|
||||
namespace Volo.Abp.SettingManagement |
namespace Volo.Abp.SettingManagement |
||||
{ |
{ |
||||
|
[DependsOn(typeof(AbpLocalizationModule))] |
||||
public class AbpSettingManagementDomainSharedModule : AbpModule |
public class AbpSettingManagementDomainSharedModule : AbpModule |
||||
{ |
{ |
||||
|
|
||||
|
public override void ConfigureServices(ServiceConfigurationContext context) |
||||
|
{ |
||||
|
Configure<AbpLocalizationOptions>(options => |
||||
|
{ |
||||
|
options.Resources |
||||
|
.Add<AbpSettingManagementResource>("en"); |
||||
|
}); |
||||
|
|
||||
|
Configure<AbpLocalizationOptions>(options => |
||||
|
{ |
||||
|
options.Resources |
||||
|
.Get<AbpSettingManagementResource>() |
||||
|
.AddVirtualJson("/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement"); |
||||
|
}); |
||||
|
} |
||||
} |
} |
||||
} |
} |
||||
|
|||||
@ -1,14 +1,30 @@ |
|||||
using Volo.Abp.AspNetCore.Mvc; |
using Localization.Resources.AbpUi; |
||||
|
using Volo.Abp.AspNetCore.Mvc; |
||||
|
using Volo.Abp.FeatureManagement; |
||||
|
using Volo.Abp.FeatureManagement.Localization; |
||||
|
using Volo.Abp.Localization; |
||||
using Volo.Abp.Modularity; |
using Volo.Abp.Modularity; |
||||
|
using Volo.Abp.TenantManagement.Localization; |
||||
|
|
||||
namespace Volo.Abp.TenantManagement |
namespace Volo.Abp.TenantManagement |
||||
{ |
{ |
||||
[DependsOn( |
[DependsOn( |
||||
typeof(AbpTenantManagementApplicationContractsModule), |
typeof(AbpTenantManagementApplicationContractsModule), |
||||
|
typeof(AbpFeatureManagementHttpApiModule), |
||||
typeof(AbpAspNetCoreMvcModule) |
typeof(AbpAspNetCoreMvcModule) |
||||
)] |
)] |
||||
public class AbpTenantManagementHttpApiModule : AbpModule |
public class AbpTenantManagementHttpApiModule : AbpModule |
||||
{ |
{ |
||||
|
public override void ConfigureServices(ServiceConfigurationContext context) |
||||
|
{ |
||||
|
Configure<AbpLocalizationOptions>(options => |
||||
|
{ |
||||
|
options.Resources |
||||
|
.Get<AbpTenantManagementResource>() |
||||
|
.AddBaseTypes( |
||||
|
typeof(AbpFeatureManagementResource), |
||||
|
typeof(AbpUiResource)); |
||||
|
}); |
||||
|
} |
||||
} |
} |
||||
} |
} |
||||
Loading…
Reference in new issue