From a7f9440dfa7d70afe2f8eaad10b214422cf3c072 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:11:07 +0000 Subject: Make new Strings translatable git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@180 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../java/at/asit/pdfover/gui/composites/PositioningComposite.java | 5 +++-- .../src/main/resources/at/asit/pdfover/gui/messages.properties | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'pdf-over-gui/src/main') 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 here 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 -- cgit v1.2.3