summaryrefslogtreecommitdiff
path: root/pdf-over-gui
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java6
-rw-r--r--pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties2
-rw-r--r--pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties2
3 files changed, 10 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java
index be20c05c..077099ff 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java
@@ -124,6 +124,7 @@ public class MobileBKUEnterNumberComposite extends StateComposite {
Button btn_ok;
Button btn_cancel;
+ Button btn_remember;
/**
* @return the errorMessage
@@ -206,6 +207,8 @@ public class MobileBKUEnterNumberComposite extends StateComposite {
this.lbl_error = new Label(containerComposite, SWT.WRAP | SWT.NATIVE );
StateComposite.anchor(lbl_error).top(87, -15).bottom(103, -20).left(5, 0).right(btn_cancel, -10).set();
+ this.btn_remember = new Button(containerComposite, SWT.CHECK);
+ StateComposite.anchor(btn_remember).right(100, -10).top(0, 5).set();
}
@Override
@@ -282,8 +285,11 @@ public class MobileBKUEnterNumberComposite extends StateComposite {
public void reloadResources() {
StateComposite.setLocalizedText(lbl_number, "mobileBKU.number");
StateComposite.setLocalizedText(lbl_password, "mobileBKU.password");
+ StateComposite.setLocalizedText(btn_remember, "mobileBKU.rememberPassword");
StateComposite.setLocalizedText(btn_ok, "common.Ok");
StateComposite.setLocalizedText(btn_cancel, "common.Cancel");
+
+ this.btn_remember.setToolTipText(Messages.getString("mobileBKU.rememberPasswordNote"));
}
}
diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
index 060023e0..2423d621 100644
--- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
+++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
@@ -211,6 +211,8 @@ mobileBKU.show=<a>Show signature data</a>
mobileBKU.show_tooltip=Shows the data to be signed
mobileBKU.tan_tries_exceeded=TAN tries exceeded, request a new TAN?
mobileBKU.wrong_tan=TAN not accepted
+mobileBKU.rememberPassword=Re&member
+mobileBKU.rememberPasswordNote=If you check this, you will not be prompted for your password again until you re-start PDF-Over
output.file_ask_overwrite=File %s already exists, do you want to overwrite it?
output.link_open_message=You can open the signed file <a>here</a>.
output.link_save_message=You can save the signed file
diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
index 15b7f337..3ef421c0 100644
--- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
+++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
@@ -202,6 +202,8 @@ mobileBKU.show=<a>Signaturdaten anzeigen</a>
mobileBKU.show_tooltip=Zeigt die zu signierenden Daten an
mobileBKU.tan_tries_exceeded=Zu viele TAN-Versuche, neue TAN anfordern?
mobileBKU.wrong_tan=TAN nicht akzeptiert
+mobileBKU.rememberPassword=Daten &merken
+mobileBKU.rememberPasswordNote=Wählen Sie diese Box aus, um bis zum nächsten Start von PDF-Over nicht erneut gefragt zu werden
output.file_ask_overwrite=Datei %s existiert bereits, wollen Sie sie überschreiben?
output.link_open_message=Sie können das signierte Dokument <a>hier</a> öffnen.
output.link_save_message=Sie können das signierte Dokument speichern