summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:58:27 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:58:27 +0000
commit96a1a5c9d04238c63247794ad9c76e5a2001b8d0 (patch)
treec0b05f0378e84e53a73cdfb62612a7d3e6ecb40a /pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls
parentb8b015d3fa3b58cb5e70b4cd2ad1b8fe2a424af9 (diff)
downloadmocca-96a1a5c9d04238c63247794ad9c76e5a2001b8d0.tar.gz
mocca-96a1a5c9d04238c63247794ad9c76e5a2001b8d0.tar.bz2
mocca-96a1a5c9d04238c63247794ad9c76e5a2001b8d0.zip
Moved Mobile BKU URL to configuration file
Extracted localizable Strings git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@61 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
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/ErrorDialog.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/ErrorDialog.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/ErrorDialog.java
index c6f7c19a..017de3ef 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/ErrorDialog.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/ErrorDialog.java
@@ -36,6 +36,8 @@ import org.eclipse.swt.widgets.Shell;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import at.asit.pdfover.gui.Messages;
+
/**
*
*/
@@ -87,7 +89,7 @@ public class ErrorDialog extends Dialog {
private boolean canRetry = false;
- private boolean doRetry = false;
+ boolean doRetry = false;
private String details = null;
@@ -140,7 +142,7 @@ public class ErrorDialog extends Dialog {
fd_group.top = new FormAttachment(lblerrorMessage, 5);
fd_group.left = new FormAttachment(lblErrorImage, 5);
group.setLayoutData(fd_group);
- group.setText("Details");
+ group.setText(Messages.getString("error.Details")); //$NON-NLS-1$
if (!this.canRetry) {
@@ -175,7 +177,7 @@ public class ErrorDialog extends Dialog {
fd_btnOk.bottom = new FormAttachment(100, -5);
fd_btnOk.right = new FormAttachment(100, -5);
btnOk.setLayoutData(fd_btnOk);
- btnOk.setText("Ok");
+ btnOk.setText(Messages.getString("common.Ok")); //$NON-NLS-1$
} else {
Button btnCancel = new Button(shell, SWT.NONE);
Button btnRetry = new Button(shell, SWT.NONE);
@@ -218,13 +220,13 @@ public class ErrorDialog extends Dialog {
fd_btnCancel.bottom = new FormAttachment(100, -5);
fd_btnCancel.right = new FormAttachment(100, -5);
btnCancel.setLayoutData(fd_btnCancel);
- btnCancel.setText("Cancel");
+ btnCancel.setText(Messages.getString("common.Cancel")); //$NON-NLS-1$
FormData fd_btnRetry = new FormData();
fd_btnRetry.bottom = new FormAttachment(100, -5);
fd_btnRetry.right = new FormAttachment(btnCancel, -10);
btnRetry.setLayoutData(fd_btnRetry);
- btnRetry.setText("Retry");
+ btnRetry.setText(Messages.getString("error.Retry")); //$NON-NLS-1$
}
shell.pack();
shell.open();