Changed Things

This commit is contained in:
Michael-Jouanneau 2016-11-17 06:53:49 +01:00
parent a99aee933c
commit 57d1acab00

View File

@ -38,6 +38,7 @@ import javafx.stage.StageStyle;
import javafx.util.Duration;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@ -216,9 +217,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: Try and fix this code please
/* 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]);