Fixed locales not being in the jar #561

This commit is contained in:
Rsl1122 2018-04-13 22:49:23 +03:00
parent c67d57e5e9
commit 01431cf4aa
3 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,7 @@
<include>**/*.html</include>
<include>**/*.js</include>
<include>**/*.css</include>
<include>locale/*.txt</include>
</includes>
<excludes>
<exclude>licence.yml</exclude>

View File

@ -148,6 +148,7 @@
<include>**/*.html</include>
<include>**/*.js</include>
<include>**/*.css</include>
<include>locale/*.txt</include>
</includes>
<excludes>
<exclude>licence.yml</exclude>

View File

@ -71,7 +71,7 @@ public class Locale {
} else if (locale.equals("DEFAULT")) {
Log.info("Using Locale: Default (EN)");
} else {
loadFromResource("locale_" + locale + ".txt");
loadFromResource("locale/locale_" + locale + ".txt");
}
} catch (IOException e) {
Log.toLog(this.getClass(), e);