Changed Things

This commit is contained in:
Michael-Jouanneau 2016-11-16 17:39:44 +01:00
parent 11f4b70151
commit 25e20a9dbd

View File

@ -205,9 +205,10 @@ public class Main extends Application {
}
public static void main(String[] args) throws Exception{
Localization l = new Localization(new File(Main.class.getResource("/assets/lang").getFile())); // Create a localization with aggressive loading
// TODO: Fix this code
/* Localization l = new Localization(new File(Main.class.getResource("@/assets/lang").getFile())); // Create a localization with aggressive loading
System.out.println(Arrays.toString(l.getLanguageNames()));
System.out.println("Success: "+l.get("du_label"));
System.out.println("Success: "+l.get("du_label")); */
Main.args = args;
if (args.length > 0) {
File f = new File(args[0]);