1
0
mirror of synced 2025-02-21 21:00:33 +01:00

Change "jp" lang string to "ja" to fit language code

This commit is contained in:
0auBSQ 2022-11-07 15:37:57 +09:00
parent d1a7eff7f5
commit 0ff2764a67
2 changed files with 5 additions and 5 deletions

View File

@ -1457,7 +1457,7 @@ namespace TJAPlayer3
this.BoxFontName = "MS UI Gothic";
this.ApplyLoudnessMetadata = true;
this.bEnableCountdownTimer = true;
this.sLang = "jp";
this.sLang = "ja";
this.nLayoutType = 1;
// 2018-08-28 twopointzero:

View File

@ -14,7 +14,7 @@ namespace TJAPlayer3
{
// Cheap factory-like design pattern
public static (string, int) DefaultLanguage = ("jp", 0);
public static (string, int) DefaultLanguage = ("ja", 0);
public static void langAttach(string lang)
{
switch (lang) {
@ -30,7 +30,7 @@ namespace TJAPlayer3
case "en":
CLangManager.LangInstance = new CLang_en();
break;
case "jp":
case "ja":
default:
CLangManager.LangInstance = new CLang_jp();
break;
@ -49,7 +49,7 @@ namespace TJAPlayer3
return 2;
case "en":
return 1;
case "jp":
case "ja":
default:
return DefaultLanguage.Item2;
}
@ -58,7 +58,7 @@ namespace TJAPlayer3
public static string fetchLang()
{
if (LangInstance is CLang_jp)
return "jp";
return "ja";
else if (LangInstance is CLang_en)
return "en";
else if (LangInstance is CLang_fr)