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/controls | |
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/controls')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/InputDialog.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/InputDialog.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/InputDialog.java index 15625539..4845863f 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/InputDialog.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/InputDialog.java @@ -28,7 +28,7 @@ import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; -import at.asit.pdfover.commons.Messages; +import at.asit.pdfover.gui.utils.SWTUtils; /** * @@ -134,7 +134,7 @@ public class InputDialog extends org.eclipse.swt.widgets.Dialog { data.horizontalSpan = 2; text.setLayoutData(data); Button ok = new Button(shell, SWT.PUSH); - ok.setText(Messages.getString("common.Ok")); + SWTUtils.setLocalizedText(ok, "common.Ok"); data = new GridData(GridData.FILL_HORIZONTAL); ok.setLayoutData(data); ok.addSelectionListener(new SelectionAdapter() { @@ -145,7 +145,7 @@ public class InputDialog extends org.eclipse.swt.widgets.Dialog { } }); Button cancel = new Button(shell, SWT.PUSH); - cancel.setText(Messages.getString("common.Cancel")); + SWTUtils.setLocalizedText(cancel, "common.Cancel"); data = new GridData(GridData.FILL_HORIZONTAL); cancel.setLayoutData(data); cancel.addSelectionListener(new SelectionAdapter() { |