From a6ed9f537260ec510f8e1cc73d1de7aabfa2b573 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:15:27 +0000 Subject: Use respective locale for lang strings git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@225 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java index b5537ba0..1c403c59 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java @@ -47,7 +47,6 @@ import at.asit.pdfover.gui.controls.ErrorDialog; import at.asit.pdfover.gui.controls.ErrorDialog.ERROR_BUTTONS; import at.asit.pdfover.gui.exceptions.OutputfolderDontExistException; import at.asit.pdfover.gui.exceptions.OutputfolderNotADirectoryException; -import at.asit.pdfover.gui.utils.LocaleSerializer; import at.asit.pdfover.gui.workflow.ConfigurationContainer; import at.asit.pdfover.gui.workflow.states.State; import at.asit.pdfover.signator.BKUs; @@ -396,7 +395,7 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite { String[] localeStrings = new String[Constants.SUPPORTED_LOCALES.length]; for (int i = 0; i < Constants.SUPPORTED_LOCALES.length; ++i) { - localeStrings[i] = Constants.SUPPORTED_LOCALES[i].getDisplayLanguage(); + localeStrings[i] = Constants.SUPPORTED_LOCALES[i].getDisplayLanguage(Constants.SUPPORTED_LOCALES[i]); } this.cmbLocaleAuswahl.setItems(localeStrings); -- cgit v1.2.3