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/configuration/SimpleConfigurationComposite.java5
-rw-r--r--pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties1
-rw-r--r--pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties1
3 files changed, 5 insertions, 2 deletions
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 e5637fbb..2002f8dc 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
@@ -167,14 +167,12 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
this.grpSignatureProfile = new Group(this, SWT.NONE);
ConfigurationCompositeBase.anchor(grpSignatureProfile).right(100,-5).left(0,5).top(grpHandySignatur, 5).set();
- this.grpSignatureProfile.setText("Signature Profile"); // TODO: move to message
this.grpSignatureProfile.setLayout(new FormLayout());
ConfigurationCompositeBase.setFontHeight(grpSignatureProfile, Constants.TEXT_SIZE_NORMAL);
this.cmbSignatureProfiles = new Combo(this.grpSignatureProfile, SWT.READ_ONLY);
ConfigurationCompositeBase.anchor(cmbSignatureProfiles).left(0,10).right(100,-10).top(0,10).bottom(100,-10).set();
ConfigurationCompositeBase.setFontHeight(cmbSignatureProfiles, Constants.TEXT_SIZE_NORMAL);
- this.cmbSignatureProfiles.setItems(Arrays.stream(Profile.values()).map(v -> Messages.getString("simple_config."+v.name())).toArray(String[]::new));
this.cmbSignatureProfiles.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
@@ -786,5 +784,8 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
this.grpSignatureLang.setText(Messages.getString("simple_config.SigBlockLang_Title"));
this.cmbSignatureLang.setToolTipText(Messages.getString("simple_config.SigBlockLang_ToolTip"));
+
+ this.grpSignatureProfile.setText(Messages.getString("simple_config.SigProfile_Title"));
+ this.cmbSignatureProfiles.setItems(Arrays.stream(Profile.values()).map(v -> Messages.getString("simple_config."+v.name())).toArray(String[]::new));
}
}
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 52e0f956..79aba8a8 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
@@ -233,6 +233,7 @@ simple_config.Note_Tooltip=Add an optional note to display on your Signature
simple_config.PhoneNumber=Mobile number\:
simple_config.SigBlockLang_Title=Signature block lan&guage\:
simple_config.SigBlockLang_ToolTip=Select the language to be used in the signature block displayed on the signed document
+simple_config.SigProfile_Title=Signature Profile
simple_config.SIGNATURBLOCK_SMALL=Standard Signature Block
simple_config.AMTSSIGNATURBLOCK=Official Signature
simple_config.BASE_LOGO=Logo Only
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 2b0f4dd5..23540677 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
@@ -224,6 +224,7 @@ simple_config.Note_Tooltip=Ein optionaler Hinweis, der in Ihrer Signatur angezei
simple_config.PhoneNumber=Handynummer\:
simple_config.SigBlockLang_Title=Sp&rache des Signaturblocks\:
simple_config.SigBlockLang_ToolTip=W\u00E4hlen Sie eine Sprache f\u00FCr den Signaturblock, der am signierten Dokument erscheint
+simple_config.SigProfile_Title=Signatur-Profil
simple_config.SIGNATURBLOCK_SMALL=Standard Signaturblock
simple_config.AMTSSIGNATURBLOCK=Amtssignatur
simple_config.BASE_LOGO=Nur Bildmarke