diff --git a/TJAPlayer3/I18N/CLang_zh.cs b/TJAPlayer3/I18N/CLang_zh.cs index 504fbe72..c396e04c 100644 --- a/TJAPlayer3/I18N/CLang_zh.cs +++ b/TJAPlayer3/I18N/CLang_zh.cs @@ -9,7 +9,7 @@ using FDK; namespace TJAPlayer3 { - internal class CLang_en : ILang + internal class CLang_zh : ILang { string ILang.GetString(int idx) { @@ -49,7 +49,7 @@ namespace TJAPlayer3 [15] = "更改所有谱面的偏移量\n" + "范围:-99~99ms\n" + "设为负值以减少输入延迟\n" + - "重新载入曲目以使此选项生效" + "重新载入曲目以使此选项生效", [16] = "布局模式", [17] = "更改选择曲目界面的布局模式\n" + "0:自上至下斜向\n" + @@ -145,7 +145,7 @@ namespace TJAPlayer3 "或通过不断尝试进行调整\n" + "注:退出设置以使此选项生效", [45] = "选择asio模式下使用的设备\n" + - "注:退出设置以使此选项生效" + "注:退出设置以使此选项生效", [46] = "开启是音符滚动会更加顺畅\n" + "但或将导致声音延迟\n" + "关闭会确保无声音延迟\n" + @@ -207,7 +207,7 @@ namespace TJAPlayer3 [79] = "升高此值会使判定区域右移\n" + "降低此值会使判定区域左移\n" + "范围:-99~99ms\n" + - "设为负值以降低输入延迟" + "设为负值以降低输入延迟", [80] = "默认难度", [81] = "选择选曲时的默认难度\n" + "除非该选项被设为里魔王" + @@ -226,7 +226,7 @@ namespace TJAPlayer3 [87] = "谱面分歧动画", [88] = "更改谱面分歧时的动画效果\n" + "A类型:第二代\n" + - "B类型:第三代" + "B类型:第三代", [89] = "幸存者模式", [90] = "此模式不可用\n" + "此模式实现了一个类似stepmania的计时器系统\n" + diff --git a/TJAPlayer3/I18N/ILang.cs b/TJAPlayer3/I18N/ILang.cs index 40bcb000..07cc9afa 100644 --- a/TJAPlayer3/I18N/ILang.cs +++ b/TJAPlayer3/I18N/ILang.cs @@ -16,6 +16,9 @@ namespace TJAPlayer3 public static void langAttach(string lang) { switch (lang) { + case "zh": + CLangManager.LangInstance = new CLang_zh(); + break; case "es": CLangManager.LangInstance = new CLang_es(); break; @@ -36,6 +39,8 @@ namespace TJAPlayer3 { switch (lang) { + case "zh": + return 4; case "es": return 3; case "fr": @@ -52,6 +57,8 @@ namespace TJAPlayer3 { switch (idx) { + case 4: + return "zh"; case 3: return "es"; case 2: @@ -64,7 +71,7 @@ namespace TJAPlayer3 } } - public static readonly string[] Languages = new string[] { "日本語", "English", "Français", "Español" }; + public static readonly string[] Languages = new string[] { "日本語", "English", "Français", "Español", "中文" }; public static ILang LangInstance { get; private set; } = new CLang_jp(); } } \ No newline at end of file diff --git a/TJAPlayer3/TJAPlayer3.csproj b/TJAPlayer3/TJAPlayer3.csproj index 931e8345..672069e7 100644 --- a/TJAPlayer3/TJAPlayer3.csproj +++ b/TJAPlayer3/TJAPlayer3.csproj @@ -131,6 +131,7 @@ + ResXFileCodeGenerator diff --git a/Test/System/SimpleStyle/Sounds/Modals/0.ogg b/Test/System/SimpleStyle/Sounds/Modals/0.ogg new file mode 100644 index 00000000..734d5a24 Binary files /dev/null and b/Test/System/SimpleStyle/Sounds/Modals/0.ogg differ diff --git a/Test/System/SimpleStyle/Sounds/Modals/1.ogg b/Test/System/SimpleStyle/Sounds/Modals/1.ogg new file mode 100644 index 00000000..bac47223 Binary files /dev/null and b/Test/System/SimpleStyle/Sounds/Modals/1.ogg differ diff --git a/Test/System/SimpleStyle/Sounds/Modals/2.ogg b/Test/System/SimpleStyle/Sounds/Modals/2.ogg new file mode 100644 index 00000000..8f35ada0 Binary files /dev/null and b/Test/System/SimpleStyle/Sounds/Modals/2.ogg differ diff --git a/Test/System/SimpleStyle/Sounds/Modals/3.ogg b/Test/System/SimpleStyle/Sounds/Modals/3.ogg new file mode 100644 index 00000000..440ec490 Binary files /dev/null and b/Test/System/SimpleStyle/Sounds/Modals/3.ogg differ diff --git a/Test/System/SimpleStyle/Sounds/Modals/4.ogg b/Test/System/SimpleStyle/Sounds/Modals/4.ogg new file mode 100644 index 00000000..9b8a3a6a Binary files /dev/null and b/Test/System/SimpleStyle/Sounds/Modals/4.ogg differ diff --git a/Test/System/SimpleStyle/Sounds/Modals/Coin.ogg b/Test/System/SimpleStyle/Sounds/Modals/Coin.ogg new file mode 100644 index 00000000..b36f8516 Binary files /dev/null and b/Test/System/SimpleStyle/Sounds/Modals/Coin.ogg differ