diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-04 12:01:57 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-04 12:01:57 +0200 |
commit | 9aa77463452825ebaf542a42984f8aa14478b729 (patch) | |
tree | 4f40090a596e799a839f028315b04563671fcfe1 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration | |
parent | ff345952fc56b38bc27bb66f27f41073a0c46748 (diff) | |
download | pdf-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')
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; |