Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
name: .NET Core Desktop

on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
Expand Down
4 changes: 4 additions & 0 deletions Diffusion.Toolkit/Diffusion.Toolkit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<None Remove="Localization\default.json" />
<None Remove="Localization\es-ES.json" />
<None Remove="Localization\fr-FR.json" />
<None Remove="Localization\zh-CN.json" />
<None Remove="Release Notes\What%27s New v1.0.md" />
<None Remove="Release Notes\What%27s New v1.1.md" />
<None Remove="Release Notes\What%27s New v1.10.0.md" />
Expand Down Expand Up @@ -103,6 +104,9 @@
<EmbeddedResource Include="Localization\fr-FR.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Include="Localization\zh-CN.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Include="Localization\default.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
Expand Down
3 changes: 2 additions & 1 deletion Diffusion.Toolkit/Localization/languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"French": "fr-FR",
"Spanish": "es-ES",
"German": "de-DE",
"Japanese 日本語": "ja-JP"
"Japanese 日本語": "ja-JP",
"简体中文": "zh-CN"
}
1 change: 1 addition & 0 deletions Diffusion.Toolkit/Localization/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ def update_json(file1_path, file2_path, output_path):
update_json('default.json', 'es-ES.json', 'es-ES.json')
update_json('default.json', 'fr-FR.json', 'fr-FR.json')
update_json('default.json', 'ja-JP.json', 'ja-JP.json')
update_json('default.json', 'zh-CN.json', 'zh-CN.json')
Loading