diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/AbpAccountWebOpenIddictModule.cs b/aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/AbpAccountWebOpenIddictModule.cs index 81a6cb805..66b4779f2 100644 --- a/aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/AbpAccountWebOpenIddictModule.cs +++ b/aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/AbpAccountWebOpenIddictModule.cs @@ -34,7 +34,7 @@ public class AbpAccountWebOpenIddictModule : AbpModule { Configure(options => { - options.FileSets.AddEmbedded(); + options.FileSets.AddEmbedded("LINGYUN.Abp.Account.Web.OpenIddict"); }); Configure(options => @@ -52,7 +52,7 @@ public class AbpAccountWebOpenIddictModule : AbpModule { options.Resources .Get() - .AddVirtualJson("/Localization/Resources"); + .AddVirtualJson("/Localization/Resources/OpenIddict"); }); Configure(options => diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/Localization/Resources/en.json b/aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/Localization/Resources/OpenIddict/en.json similarity index 100% rename from aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/Localization/Resources/en.json rename to aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/Localization/Resources/OpenIddict/en.json diff --git a/aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/Localization/Resources/zh-Hans.json b/aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/Localization/Resources/OpenIddict/zh-Hans.json similarity index 100% rename from aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/Localization/Resources/zh-Hans.json rename to aspnet-core/modules/account/LINGYUN.Abp.Account.Web.OpenIddict/Localization/Resources/OpenIddict/zh-Hans.json diff --git a/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/AbpElsaDesignerModule.cs b/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/AbpElsaDesignerModule.cs index e02572cfd..45e0b64aa 100644 --- a/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/AbpElsaDesignerModule.cs +++ b/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/AbpElsaDesignerModule.cs @@ -34,14 +34,14 @@ public class AbpElsaDesignerModule : AbpModule { Configure(options => { - options.FileSets.AddEmbedded(); + options.FileSets.AddEmbedded("LINGYUN.Abp.Elsa.Designer"); }); Configure(options => { options.Resources .Get() - .AddVirtualJson("/Localization/Resources"); + .AddVirtualJson("/Localization/Resources/ElsaDesigner"); }); Configure(options => diff --git a/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Localization/Resources/en.json b/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Localization/Resources/ElsaDesigner/en.json similarity index 100% rename from aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Localization/Resources/en.json rename to aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Localization/Resources/ElsaDesigner/en.json diff --git a/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Localization/Resources/zh-Hans.json b/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Localization/Resources/ElsaDesigner/zh-Hans.json similarity index 100% rename from aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Localization/Resources/zh-Hans.json rename to aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Localization/Resources/ElsaDesigner/zh-Hans.json diff --git a/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Pages/Elsa/Index.cshtml b/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Pages/Elsa/Index.cshtml index 7d1ec89e9..c022de8b6 100644 --- a/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Pages/Elsa/Index.cshtml +++ b/aspnet-core/modules/elsa/LINGYUN.Abp.Elsa.Designer/Pages/Elsa/Index.cshtml @@ -46,6 +46,6 @@ // Some components publish DOM events that we can handle directly: elsaStudioRoot.addEventListener('workflow-changed', e => { - console.log('Workflow model changed! New model: ${e.detail}'); + console.log(`Workflow model changed! New model: ${e.detail}`); }) \ No newline at end of file