summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-02-16 21:58:54 +0100
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-02-16 21:58:54 +0100
commit1fad1b9d59531948f5e8ac13adb16905016dbaf3 (patch)
tree39060c4efd5244ede01f113d19722d28e2ecdcbe /pdf-over-gui/src/main/java/at
parent753c44f991bed48d5e8c38dc3b865a347f71c053 (diff)
downloadpdf-over-1fad1b9d59531948f5e8ac13adb16905016dbaf3.tar.gz
pdf-over-1fad1b9d59531948f5e8ac13adb16905016dbaf3.tar.bz2
pdf-over-1fad1b9d59531948f5e8ac13adb16905016dbaf3.zip
display language options in currently-selected language; closes #66
Diffstat (limited to 'pdf-over-gui/src/main/java/at')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AdvancedConfigurationComposite.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AdvancedConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AdvancedConfigurationComposite.java
index 48b10a4b..fb4252b3 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AdvancedConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AdvancedConfigurationComposite.java
@@ -347,7 +347,7 @@ public class AdvancedConfigurationComposite extends ConfigurationCompositeBase {
this.cmbLocaleAuswahl = new Combo(this.grpLocaleAuswahl, SWT.READ_ONLY);
ConfigurationCompositeBase.anchor(cmbLocaleAuswahl).right(100,-5).top(0).left(0,5).set();
ConfigurationCompositeBase.setFontHeight(cmbLocaleAuswahl, Constants.TEXT_SIZE_NORMAL);;
- this.cmbLocaleAuswahl.setItems(Arrays.stream(Constants.SUPPORTED_LOCALES).map(l -> l.getDisplayLanguage(l)).toArray(String[]::new));
+ this.cmbLocaleAuswahl.setItems(Arrays.stream(Constants.SUPPORTED_LOCALES).map(l -> l.getDisplayLanguage()).toArray(String[]::new));
this.cmbLocaleAuswahl.addSelectionListener(new SelectionAdapter() {
@Override