mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 07:38:05 -05:00
Fix language translation fetch by name
wrong method was called, specify file by exact name Closes #1127
This commit is contained in:
@@ -20,7 +20,8 @@ internal static void TranslateInterface(Control form, string lang)
|
||||
rawlist = File.ReadAllLines(externalLangPath);
|
||||
else
|
||||
{
|
||||
rawlist = Util.getStringList("lang", lang);
|
||||
var file = "lang_" + lang;
|
||||
rawlist = Util.getStringList(file);
|
||||
if (rawlist.Length == 0)
|
||||
{
|
||||
// Translation file does not exist as a resource; abort this function and don't translate UI.
|
||||
|
||||
Reference in New Issue
Block a user