diff --git a/Timer.csproj b/Timer.csproj index 8ee8c44..347d21f 100644 --- a/Timer.csproj +++ b/Timer.csproj @@ -1,4 +1,4 @@ - + net6.0 true diff --git a/main.cs b/main.cs index 7ac8158..0a9005e 100644 --- a/main.cs +++ b/main.cs @@ -14,7 +14,6 @@ public partial class main : Control internal bool start=false; public override void _Ready() { - TranslationServer.SetLocale("en"); if (OS.GetLocaleLanguage() == "zh" || OS.GetLocale() == "zh_CN" || OS.GetLocale() == "zh_SG") { TranslationServer.SetLocale("zh_CN"); @@ -23,10 +22,6 @@ public override void _Ready() { TranslationServer.SetLocale("zh_TW"); } - if (OS.GetLocaleLanguage() == "ja" || OS.GetLocale() == "ja_JP") - { - TranslationServer.SetLocale("ja"); - } } public void _on_start_pause_pressed()