mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-26 02:57:52 +01:00
Fixed locales not being in the jar #561
This commit is contained in:
parent
c67d57e5e9
commit
01431cf4aa
@ -19,6 +19,7 @@
|
||||
<include>**/*.html</include>
|
||||
<include>**/*.js</include>
|
||||
<include>**/*.css</include>
|
||||
<include>locale/*.txt</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>licence.yml</exclude>
|
||||
|
@ -148,6 +148,7 @@
|
||||
<include>**/*.html</include>
|
||||
<include>**/*.js</include>
|
||||
<include>**/*.css</include>
|
||||
<include>locale/*.txt</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>licence.yml</exclude>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user