Integrate WHMHammer's CLang_zh file
This commit is contained in:
parent
c5ea735e74
commit
a2e8d1ee67
@ -9,7 +9,7 @@ using FDK;
|
|||||||
|
|
||||||
namespace TJAPlayer3
|
namespace TJAPlayer3
|
||||||
{
|
{
|
||||||
internal class CLang_en : ILang
|
internal class CLang_zh : ILang
|
||||||
{
|
{
|
||||||
string ILang.GetString(int idx)
|
string ILang.GetString(int idx)
|
||||||
{
|
{
|
||||||
@ -49,7 +49,7 @@ namespace TJAPlayer3
|
|||||||
[15] = "更改所有谱面的偏移量\n" +
|
[15] = "更改所有谱面的偏移量\n" +
|
||||||
"范围:-99~99ms\n" +
|
"范围:-99~99ms\n" +
|
||||||
"设为负值以减少输入延迟\n" +
|
"设为负值以减少输入延迟\n" +
|
||||||
"重新载入曲目以使此选项生效"
|
"重新载入曲目以使此选项生效",
|
||||||
[16] = "布局模式",
|
[16] = "布局模式",
|
||||||
[17] = "更改选择曲目界面的布局模式\n" +
|
[17] = "更改选择曲目界面的布局模式\n" +
|
||||||
"0:自上至下斜向\n" +
|
"0:自上至下斜向\n" +
|
||||||
@ -145,7 +145,7 @@ namespace TJAPlayer3
|
|||||||
"或通过不断尝试进行调整\n" +
|
"或通过不断尝试进行调整\n" +
|
||||||
"注:退出设置以使此选项生效",
|
"注:退出设置以使此选项生效",
|
||||||
[45] = "选择asio模式下使用的设备\n" +
|
[45] = "选择asio模式下使用的设备\n" +
|
||||||
"注:退出设置以使此选项生效"
|
"注:退出设置以使此选项生效",
|
||||||
[46] = "开启是音符滚动会更加顺畅\n" +
|
[46] = "开启是音符滚动会更加顺畅\n" +
|
||||||
"但或将导致声音延迟\n" +
|
"但或将导致声音延迟\n" +
|
||||||
"关闭会确保无声音延迟\n" +
|
"关闭会确保无声音延迟\n" +
|
||||||
@ -207,7 +207,7 @@ namespace TJAPlayer3
|
|||||||
[79] = "升高此值会使判定区域右移\n" +
|
[79] = "升高此值会使判定区域右移\n" +
|
||||||
"降低此值会使判定区域左移\n" +
|
"降低此值会使判定区域左移\n" +
|
||||||
"范围:-99~99ms\n" +
|
"范围:-99~99ms\n" +
|
||||||
"设为负值以降低输入延迟"
|
"设为负值以降低输入延迟",
|
||||||
[80] = "默认难度",
|
[80] = "默认难度",
|
||||||
[81] = "选择选曲时的默认难度\n" +
|
[81] = "选择选曲时的默认难度\n" +
|
||||||
"除非该选项被设为里魔王" +
|
"除非该选项被设为里魔王" +
|
||||||
@ -226,7 +226,7 @@ namespace TJAPlayer3
|
|||||||
[87] = "谱面分歧动画",
|
[87] = "谱面分歧动画",
|
||||||
[88] = "更改谱面分歧时的动画效果\n" +
|
[88] = "更改谱面分歧时的动画效果\n" +
|
||||||
"A类型:第二代\n" +
|
"A类型:第二代\n" +
|
||||||
"B类型:第三代"
|
"B类型:第三代",
|
||||||
[89] = "幸存者模式",
|
[89] = "幸存者模式",
|
||||||
[90] = "此模式不可用\n" +
|
[90] = "此模式不可用\n" +
|
||||||
"此模式实现了一个类似stepmania的计时器系统\n" +
|
"此模式实现了一个类似stepmania的计时器系统\n" +
|
||||||
|
@ -16,6 +16,9 @@ namespace TJAPlayer3
|
|||||||
public static void langAttach(string lang)
|
public static void langAttach(string lang)
|
||||||
{
|
{
|
||||||
switch (lang) {
|
switch (lang) {
|
||||||
|
case "zh":
|
||||||
|
CLangManager.LangInstance = new CLang_zh();
|
||||||
|
break;
|
||||||
case "es":
|
case "es":
|
||||||
CLangManager.LangInstance = new CLang_es();
|
CLangManager.LangInstance = new CLang_es();
|
||||||
break;
|
break;
|
||||||
@ -36,6 +39,8 @@ namespace TJAPlayer3
|
|||||||
{
|
{
|
||||||
switch (lang)
|
switch (lang)
|
||||||
{
|
{
|
||||||
|
case "zh":
|
||||||
|
return 4;
|
||||||
case "es":
|
case "es":
|
||||||
return 3;
|
return 3;
|
||||||
case "fr":
|
case "fr":
|
||||||
@ -52,6 +57,8 @@ namespace TJAPlayer3
|
|||||||
{
|
{
|
||||||
switch (idx)
|
switch (idx)
|
||||||
{
|
{
|
||||||
|
case 4:
|
||||||
|
return "zh";
|
||||||
case 3:
|
case 3:
|
||||||
return "es";
|
return "es";
|
||||||
case 2:
|
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();
|
public static ILang LangInstance { get; private set; } = new CLang_jp();
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -131,6 +131,7 @@
|
|||||||
<Compile Include="I18N\CLang_fr.cs" />
|
<Compile Include="I18N\CLang_fr.cs" />
|
||||||
<Compile Include="I18N\CLang_en.cs" />
|
<Compile Include="I18N\CLang_en.cs" />
|
||||||
<Compile Include="I18N\CLang_jp.cs" />
|
<Compile Include="I18N\CLang_jp.cs" />
|
||||||
|
<Compile Include="I18N\CLang_zh.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<EmbeddedResource Include="Properties\Discord.resx">
|
<EmbeddedResource Include="Properties\Discord.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
BIN
Test/System/SimpleStyle/Sounds/Modals/0.ogg
Normal file
BIN
Test/System/SimpleStyle/Sounds/Modals/0.ogg
Normal file
Binary file not shown.
BIN
Test/System/SimpleStyle/Sounds/Modals/1.ogg
Normal file
BIN
Test/System/SimpleStyle/Sounds/Modals/1.ogg
Normal file
Binary file not shown.
BIN
Test/System/SimpleStyle/Sounds/Modals/2.ogg
Normal file
BIN
Test/System/SimpleStyle/Sounds/Modals/2.ogg
Normal file
Binary file not shown.
BIN
Test/System/SimpleStyle/Sounds/Modals/3.ogg
Normal file
BIN
Test/System/SimpleStyle/Sounds/Modals/3.ogg
Normal file
Binary file not shown.
BIN
Test/System/SimpleStyle/Sounds/Modals/4.ogg
Normal file
BIN
Test/System/SimpleStyle/Sounds/Modals/4.ogg
Normal file
Binary file not shown.
BIN
Test/System/SimpleStyle/Sounds/Modals/Coin.ogg
Normal file
BIN
Test/System/SimpleStyle/Sounds/Modals/Coin.ogg
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user