summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-04 12:01:57 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-04 12:01:57 +0200
commit9aa77463452825ebaf542a42984f8aa14478b729 (patch)
tree4f40090a596e799a839f028315b04563671fcfe1 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration
parentff345952fc56b38bc27bb66f27f41073a0c46748 (diff)
downloadpdf-over-9aa77463452825ebaf542a42984f8aa14478b729.tar.gz
pdf-over-9aa77463452825ebaf542a42984f8aa14478b729.tar.bz2
pdf-over-9aa77463452825ebaf542a42984f8aa14478b729.zip
batch replace v2
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/AdvancedConfigurationComposite.java6
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java1
2 files changed, 3 insertions, 4 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 1deb0cf1..4d0bd3c5 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
@@ -299,9 +299,9 @@ public class AdvancedConfigurationComposite extends ConfigurationCompositeBase {
// Set the initial filter path according
// to anything they've selected or typed in
dlg.setFilterPath(AdvancedConfigurationComposite.this.txtOutputFolder.getText());
-
+
// Change the title bar text
- dlg.setText(Messages.getString("advanced_config.OutputFolder.Dialog_Title"));
+ SWTUtils.setLocalizedText(dlg, "advanced_config.OutputFolder.Dialog_Title");
// Customizable message displayed in the dialog
dlg.setMessage(Messages.getString("advanced_config.OutputFolder.Dialog"));
@@ -318,7 +318,7 @@ public class AdvancedConfigurationComposite extends ConfigurationCompositeBase {
});
this.lblSaveFilePostFix = new Label(this.grpSpeicherort, SWT.NONE);
- lblSaveFilePostFix.setText(Messages.getString("AdvancedConfigurationComposite.lblSaveFilePostFix.text"));
+ SWTUtils.setLocalizedText(lblSaveFilePostFix, "AdvancedConfigurationComposite.lblSaveFilePostFix.text");
SWTUtils.setFontHeight(lblSaveFilePostFix, Constants.TEXT_SIZE_NORMAL);
this.txtSaveFilePostFix = new Text(this.grpSpeicherort, SWT.BORDER);
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
index 5e5895ff..03ba7b60 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
@@ -18,7 +18,6 @@ package at.asit.pdfover.gui.composites.configuration;
import java.awt.image.BufferedImage;
// Imports
import java.io.File;
-import java.io.IOException;
import java.util.Arrays;
import java.util.Locale;