Skip to content

Commit

Permalink
add zh translation support
Browse files Browse the repository at this point in the history
  • Loading branch information
xorus committed Jul 29, 2023
1 parent 9248f32 commit d74af1e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions EngageTimer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
<AssemblyVersion>2.2.5.5</AssemblyVersion>
<AssemblyVersion>2.2.5.6</AssemblyVersion>
<Deterministic>false</Deterministic>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down Expand Up @@ -51,7 +51,7 @@
<ItemGroup>
<PackageReference Include="DalamudPackager" Version="2.1.11" />
<PackageReference Include="EmbedIO" Version="3.5.2" />
<PackageReference Include="JetBrains.Annotations" Version="2022.3.1" />
<PackageReference Include="JetBrains.Annotations" Version="2023.2.0" />
<!-- required for Unosquare.Swan.Lite (implicit dependency of EmbedIO) -->
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="Unosquare.Swan.Lite" Version="3.1.0" />
Expand Down
1 change: 1 addition & 0 deletions Ui/Translator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ private void ConfigureLanguage(string langCode = null)
"fr" => "fr",
"de" => "de",
"ja" => "ja",
"zh" => "zh",
_ => "en"
};
Resources.Culture = new CultureInfo(lang ?? "en");
Expand Down
6 changes: 3 additions & 3 deletions packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
},
"JetBrains.Annotations": {
"type": "Direct",
"requested": "[2022.3.1, )",
"resolved": "2022.3.1",
"contentHash": "11nsS3+lFICGkztVs9PP2NRItxf9fF+qD6xEW/T0YGto52zj07wseUeBdMAU1ah9HNVTDZyRC1u4NWdtJScwhw=="
"requested": "[2023.2.0, )",
"resolved": "2023.2.0",
"contentHash": "dvO//8aLmLRsCVVgoc/7qBqi2/y4BTyRcg20LCBWtK4n6E9Um06Zp7jF1n0hOE+yqBHwcrDzAjWvCaM3qH8flg=="
},
"System.ValueTuple": {
"type": "Direct",
Expand Down

0 comments on commit d74af1e

Please sign in to comment.