From 5461cdaa4b5e3ab3b58e936daa243c8bde1cc966 Mon Sep 17 00:00:00 2001 From: Kurt Date: Fri, 12 May 2017 20:44:12 -0700 Subject: [PATCH] Fix language translation fetch by name wrong method was called, specify file by exact name Closes #1127 --- PKHeX.WinForms/Util/WinFormsUtil.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PKHeX.WinForms/Util/WinFormsUtil.cs b/PKHeX.WinForms/Util/WinFormsUtil.cs index 63b8d388b..c10f19a90 100644 --- a/PKHeX.WinForms/Util/WinFormsUtil.cs +++ b/PKHeX.WinForms/Util/WinFormsUtil.cs @@ -20,7 +20,8 @@ namespace PKHeX.WinForms 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.