1
0
mirror of synced 2024-11-14 19:07:36 +01:00

(Micro-fix) Make static class CLangManager attributes safer

This commit is contained in:
0aubsq 2021-10-25 12:13:24 +02:00
parent 03351c60af
commit 85323c04ff

View File

@ -57,7 +57,7 @@ namespace TJAPlayer3
}
}
public static string[] Languages = new string[] { "日本語", "English", "Français" };
public static ILang LangInstance = new CLang_jp();
public static readonly string[] Languages = new string[] { "日本語", "English", "Français" };
public static ILang LangInstance { get; private set; } = new CLang_jp();
}
}