From d74af1ef52fd83886acb3d1c0f9ab0e5536e52ed Mon Sep 17 00:00:00 2001 From: Xorus Date: Sat, 29 Jul 2023 13:59:34 +0200 Subject: [PATCH] add zh translation support --- EngageTimer.csproj | 4 ++-- Ui/Translator.cs | 1 + packages.lock.json | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/EngageTimer.csproj b/EngageTimer.csproj index 7034ae0..eed40c3 100644 --- a/EngageTimer.csproj +++ b/EngageTimer.csproj @@ -8,7 +8,7 @@ true false false - 2.2.5.5 + 2.2.5.6 false true true @@ -51,7 +51,7 @@ - + diff --git a/Ui/Translator.cs b/Ui/Translator.cs index 8c42669..6b15ded 100644 --- a/Ui/Translator.cs +++ b/Ui/Translator.cs @@ -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"); diff --git a/packages.lock.json b/packages.lock.json index 1d85e8c..6e4cbb8 100644 --- a/packages.lock.json +++ b/packages.lock.json @@ -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",