summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/pdf-over-gui/src/main')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java21
-rw-r--r--trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties14
-rw-r--r--trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties14
3 files changed, 37 insertions, 12 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
index 9070a23c..97b876b0 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
+++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
@@ -99,6 +99,7 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite {
private Group grpSignatureNote;
private Label lblSignatureNote;
Text txtSignatureNote;
+ private Button btnSignatureNoteDefault;
private Group grpProxy;
private Label lblProxyHost;
@@ -449,6 +450,24 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite {
}
});
+ Composite compSignatureNoteButtonContainer = new Composite(this.grpSignatureNote, SWT.NONE);
+ compSignatureNoteButtonContainer.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER,
+ false, false, 2, 1));
+ compSignatureNoteButtonContainer.setLayout(new FormLayout());
+
+ this.btnSignatureNoteDefault = new Button(compSignatureNoteButtonContainer, SWT.NONE);
+ FormData fd_btnSignatureNoteDefault = new FormData();
+ fd_btnSignatureNoteDefault.top = new FormAttachment(0, 0);
+ fd_btnSignatureNoteDefault.right = new FormAttachment(100, -42);
+ this.btnSignatureNoteDefault.setLayoutData(fd_btnSignatureNoteDefault);
+ this.btnSignatureNoteDefault.addSelectionListener(new SelectionAdapter() {
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ SimpleConfigurationComposite.this.txtSignatureNote.setText(
+ Messages.getString("simple_config.Note_Default")); //$NON-NLS-1$
+ }
+ });
+
this.grpProxy = new Group(this, SWT.NONE);
FormData fd_grpProxy = new FormData();
fd_grpProxy.right = new FormAttachment(100, -5);
@@ -1025,6 +1044,8 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite {
this.lblSignatureNote.setText(Messages.getString("simple_config.Note")); //$NON-NLS-1$
this.txtSignatureNote.setToolTipText(Messages
.getString("simple_config.Note_Tooltip")); //$NON-NLS-1$
+ this.btnSignatureNoteDefault.setText(Messages
+ .getString("simple_config.Note_SetDefault")); //$NON-NLS-1$
this.grpProxy.setText(Messages.getString("simple_config.Proxy_Title")); //$NON-NLS-1$
this.lblProxyHost.setText(Messages.getString("simple_config.ProxyHost")); //$NON-NLS-1$
diff --git a/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties b/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
index ebb65dcc..ed8c666f 100644
--- a/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
+++ b/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
@@ -6,20 +6,20 @@ BKU.NONE=no default
BKUSelectionComposite.btnMobile.text=MOBILE
TrustedSocketFactory.FailedToCreateSecureConnection=Failed to create secure network connection
advanced_config.AutoPosition=Automatic positioning
-advanced_config.Signature_Title=Si&gnature
+advanced_config.AutoPosition_ToolTip=Activate this option to automatically position the signature
advanced_config.BKUSelection_Title=CCE Selection
+advanced_config.BKUSelection_ToolTip=Select the default CCE to use during signature
+advanced_config.LocaleSelection_Title=Language selection
+advanced_config.LocaleSelection_ToolTip=Select the default Language
advanced_config.OutputFolder=Default output folder:
advanced_config.OutputFolder.Dialog=Select a folder
advanced_config.OutputFolder.Dialog_Title=Select Output folder
advanced_config.OutputFolder_Title=&Output location
+advanced_config.OutputFolder_ToolTip=Select the folder where the signed document will be saved automatically (clear this field to disable automatic saving)
+advanced_config.Signature_Title=Si&gnature
advanced_config.SigPHTransparency=Signature placeholder transparency
advanced_config.SigPHTransparencyMax=Opaque
advanced_config.SigPHTransparencyMin=Invisible
-advanced_config.AutoPosition_ToolTip=Activate this option to automatically position the signature
-advanced_config.OutputFolder_ToolTip=Select the folder where the signed document will be saved automatically (clear this field to disable automatic saving)
-advanced_config.BKUSelection_ToolTip=Select the default CCE to use during signature
-advanced_config.LocaleSelection_ToolTip=Select the default Language
-advanced_config.LocaleSelection_Title=Language selection
argument.error.output=is not a directory
argument.help.bku=Select the CCE to use. Values are: LOCAL, MOBILE. Example: -b <option>
argument.help.config=Defines which configuration file to use. Example: -c <config file>
@@ -107,6 +107,8 @@ simple_config.Emblem_Title=Signature &logo
simple_config.ExampleNumber=+43676123456789
simple_config.MobileBKU_Title=&Mobile signature
simple_config.Note=Text:
+simple_config.Note_Default=This document is signed with a qualified electronic signature. According to §\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to a handwritten signature.
+simple_config.Note_SetDefault=Restore default
simple_config.Note_Title=Signature &Note
simple_config.Note_Tooltip=Add an optional note to display on your Signature
simple_config.PhoneNumber=Mobile number:
diff --git a/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties b/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
index 536073c6..af4cc6c6 100644
--- a/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
+++ b/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
@@ -6,20 +6,20 @@ BKU.NONE=Keine Voreinstellung
BKUSelectionComposite.btnMobile.text=Handy
TrustedSocketFactory.FailedToCreateSecureConnection=Konnte keine sichere Verbindung erstellen
advanced_config.AutoPosition=Automatische positionierung
-advanced_config.Signature_Title=Si&gnatur
+advanced_config.AutoPosition_ToolTip=Aktivieren Sie diese Option, um die Signatur automatisch zu positionieren
advanced_config.BKUSelection_Title=BKU-Auswahl
+advanced_config.BKUSelection_ToolTip=Wählen Sie die BKU, mit der die Signatur durchgeführt werden soll
+advanced_config.LocaleSelection_Title=Sprachauswahl
+advanced_config.LocaleSelection_ToolTip=Wählen Sie die Sprache
advanced_config.OutputFolder=Standard-Ausgabeordner:
advanced_config.OutputFolder.Dialog=Wählen Sie einen Ordner
advanced_config.OutputFolder.Dialog_Title=Ausgabeordner Wählen
advanced_config.OutputFolder_Title=Ausgabe&ort
+advanced_config.OutputFolder_ToolTip=Wählen Sie einen Ordner, in dem signierte Dokumente automatisch abgelegt werden (deaktivert, wenn das Feld leer ist)
+advanced_config.Signature_Title=Si&gnatur
advanced_config.SigPHTransparency=Signaturplatzhalter-Transparenz
advanced_config.SigPHTransparencyMax=Undurchsichtig
advanced_config.SigPHTransparencyMin=Unsichtbar
-advanced_config.AutoPosition_ToolTip=Aktivieren Sie diese Option, um die Signatur automatisch zu positionieren
-advanced_config.OutputFolder_ToolTip=Wählen Sie einen Ordner, in dem signierte Dokumente automatisch abgelegt werden (deaktivert, wenn das Feld leer ist)
-advanced_config.BKUSelection_ToolTip=Wählen Sie die BKU, mit der die Signatur durchgeführt werden soll
-advanced_config.LocaleSelection_ToolTip=Wählen Sie die Sprache
-advanced_config.LocaleSelection_Title=Sprachauswahl
argument.error.output=ist kein Ordner
argument.help.bku=Wählen Sie die BKU. Gültige Werte: LOCAL, MOBILE. Bsp.: -b <bku>
argument.help.config=Auswahl der Konfigurationsdatei. Bsp.: -c <Dateiname>
@@ -107,6 +107,8 @@ simple_config.Emblem_Title=&Bildmarke
simple_config.ExampleNumber=+43676123456789
simple_config.MobileBKU_Title=&Handy-Signatur
simple_config.Note=Text:
+simple_config.Note_Default=Dieses mit einer qualifizierten elektronischen Signatur versehene Dokument ist gemäß §\u00A04 Abs.\u00A01 Signaturgesetz einem handschriftlich unterschriebenen Dokument grundsätzlich rechtlich gleichgestellt.
+simple_config.Note_SetDefault=Standard wiederherstellen
simple_config.Note_Title=Signaturhi&nweis
simple_config.Note_Tooltip=Ein optionaler Hinweis, der in Ihrer Signatur angezeigt wird
simple_config.PhoneNumber=Handynummer: