Skip to content

Commit

Permalink
fixed resource loaded in the LocalizeUtility class.
Browse files Browse the repository at this point in the history
  • Loading branch information
besley committed May 15, 2020
1 parent 954c73a commit 519b940
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
Binary file not shown.
Binary file removed NETCORE/Slickflow/Source/DLL/Slickflow.Graph.dll
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@ static LocalizeUtility()
dictLangDesigner[LangTypeEnum.en] = "Slickflow.Module.Localize.Designer.en.json";
dictLangDesigner[LangTypeEnum.zh] = "Slickflow.Module.Localize.Designer.zh.json";
ReadProjectJSONResourceFromFile(ProjectTypeEnum.Designer, dictLangDesigner);

//WebTest Localize Language
var dictLangWebTest = new Dictionary<LangTypeEnum, string>();
dictLangWebTest[LangTypeEnum.en] = "Slickflow.Module.Localize.WebTest.en.json";
dictLangWebTest[LangTypeEnum.zh] = "Slickflow.Module.Localize.WebTest.zh.json";
ReadProjectJSONResourceFromFile(ProjectTypeEnum.WebTest, dictLangWebTest);

//Scheduler Localize Language
//var dictLangScheduler = new Dictionary<LangTypeEnum, string>();
//dictLangScheduler[LangTypeEnum.en] = "Slickflow.Module.Localize.Schduler.en.json";
//dictLangScheduler[LangTypeEnum.zh] = "Slickflow.Module.Localize.Scheduler.zh.json";
//ReadProjectJSONResourceFromFile(ProjectTypeEnum.Scheduler, dictLangScheduler);
}

static void ReadProjectJSONResourceFromFile(ProjectTypeEnum project, Dictionary<LangTypeEnum, string> jsonFile)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@
<ProjectReference Include="..\Slickflow.BizAppService\Slickflow.BizAppService.csproj" />
<ProjectReference Include="..\Slickflow.Data\Slickflow.Data.csproj" />
<ProjectReference Include="..\Slickflow.Engine\Slickflow.Engine.csproj" />
<ProjectReference Include="..\Slickflow.Module.Localize\Slickflow.Module.Localize.csproj" />
<ProjectReference Include="..\Slickflow.Module.Resource\Slickflow.Module.Resource.csproj" />
<ProjectReference Include="..\Slickflow.Module\Slickflow.Module.csproj" />
<ProjectReference Include="..\SlickOne.WebUtility\SlickOne.WebUtility.csproj" />
Expand Down

0 comments on commit 519b940

Please sign in to comment.