summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:11:07 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:11:07 +0000
commita7f9440dfa7d70afe2f8eaad10b214422cf3c072 (patch)
tree46d02063eeddbf558c56a7e7f6a980c76c0e08ff
parent29d1862f4fd178e3885b6998e199f4619c62b2dc (diff)
downloadmocca-a7f9440dfa7d70afe2f8eaad10b214422cf3c072.tar.gz
mocca-a7f9440dfa7d70afe2f8eaad10b214422cf3c072.tar.bz2
mocca-a7f9440dfa7d70afe2f8eaad10b214422cf3c072.zip
Make new Strings translatable
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@180 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java5
-rw-r--r--pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties2
2 files changed, 5 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java
index e9bc275a..ff708e93 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java
@@ -46,6 +46,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import at.asit.pdfover.gui.Constants;
+import at.asit.pdfover.gui.Messages;
import at.asit.pdfover.gui.workflow.states.State;
import at.asit.pdfover.signator.SignaturePosition;
@@ -98,7 +99,7 @@ public class PositioningComposite extends StateComposite {
bottomBar.setLayout(new FormLayout());
Button btnSign = new Button(bottomBar, SWT.NONE);
- btnSign.setText("Sign");
+ btnSign.setText(Messages.getString("positioning.sign")); //$NON-NLS-1$
FormData fd_btnSign = new FormData();
fd_btnSign.right = new FormAttachment(100);
fd_btnSign.top = new FormAttachment(0);
@@ -111,7 +112,7 @@ public class PositioningComposite extends StateComposite {
fd_lblPage.bottom = new FormAttachment(100);
this.lblPage.setLayoutData(fd_lblPage);
- this.mainArea = new Composite(this, SWT.BORDER | SWT.EMBEDDED | SWT.V_SCROLL);
+ this.mainArea = new Composite(this, SWT.EMBEDDED | SWT.V_SCROLL);
FormData fd_mainArea = new FormData();
fd_mainArea.left = new FormAttachment(0);
fd_mainArea.right = new FormAttachment(100);
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 a594a7dc..4542acc4 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
@@ -93,6 +93,8 @@ mobileBKU.password=Password:
output.link_open_message=You can open the signed file <a>here</a>
output.link_save_message=You can save the signed file
output.success_message=Signature was successful
+positioning.sign=Sign
+positioning.page=Page %d of %d
simple_config.EmblemEmpty=Drag and Drop an image here\nor use the browse button \nto select a signature logo.
simple_config.Emblem_Title=Signature logo
simple_config.ExampleNumber=+43676123456789