mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 22:10:21 +00:00
Fix language translation fetch by name
wrong method was called, specify file by exact name Closes #1127
This commit is contained in:
parent
a70a4d5e3f
commit
5461cdaa4b
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ namespace PKHeX.WinForms
|
||||||
rawlist = File.ReadAllLines(externalLangPath);
|
rawlist = File.ReadAllLines(externalLangPath);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rawlist = Util.getStringList("lang", lang);
|
var file = "lang_" + lang;
|
||||||
|
rawlist = Util.getStringList(file);
|
||||||
if (rawlist.Length == 0)
|
if (rawlist.Length == 0)
|
||||||
{
|
{
|
||||||
// Translation file does not exist as a resource; abort this function and don't translate UI.
|
// Translation file does not exist as a resource; abort this function and don't translate UI.
|
||||||
|
|
Loading…
Reference in a new issue