X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fde%2Ftodesbaum%2Fjsite%2Fmain%2FMain.java;h=0e2d54616a36de61a46c76555c352c39283c4a70;hb=88dd82a605dd50f7dcc8cf6009e1d85d84747b4b;hp=8a4f905318535e7e8e9ba1aa0fde7b6ce994ee55;hpb=51e6f03e54282c282d98da944049c7bbe4525e94;p=jSite.git diff --git a/src/main/java/de/todesbaum/jsite/main/Main.java b/src/main/java/de/todesbaum/jsite/main/Main.java index 8a4f905..0e2d546 100644 --- a/src/main/java/de/todesbaum/jsite/main/Main.java +++ b/src/main/java/de/todesbaum/jsite/main/Main.java @@ -1,5 +1,5 @@ /* - * jSite - Main.java - Copyright © 2006–2012 David Roden + * jSite - Main.java - Copyright © 2006–2014 David Roden * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -122,7 +122,13 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen } /** The supported locales. */ - private static final Locale[] SUPPORTED_LOCALES = new Locale[] { Locale.ENGLISH, Locale.GERMAN, Locale.FRENCH, new Locale("pl") }; + private static final Locale[] SUPPORTED_LOCALES = new Locale[] { + Locale.ENGLISH, + Locale.GERMAN, + Locale.FRENCH, + new Locale("pl"), + new Locale("fi") + }; /** The actions that switch the language. */ private Map languageActions = new HashMap(); @@ -195,7 +201,6 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen updateChecker.start(); webOfTrustInterface = new WebOfTrustInterface(freenetInterface); - webOfTrustInterface.start(); initPages(); showPage(PageType.PAGE_PROJECTS); @@ -506,7 +511,6 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen */ private void quit() { updateChecker.stop(); - webOfTrustInterface.stop(); System.exit(0); }