summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui/src/main
diff options
context:
space:
mode:
authortkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:37:03 +0000
committertkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:37:03 +0000
commited1c8c73a53855920a3e91fb70334f49b7888138 (patch)
tree747af9751b7a80195a31ec52ddb31b95618086b3 /trunk/pdf-over-gui/src/main
parentc4d6bce56755d7d200de626376bcf4308d5a56a2 (diff)
downloadpdf-over-ed1c8c73a53855920a3e91fb70334f49b7888138.tar.gz
pdf-over-ed1c8c73a53855920a3e91fb70334f49b7888138.tar.bz2
pdf-over-ed1c8c73a53855920a3e91fb70334f49b7888138.zip
Make new Strings translatable
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12766 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-gui/src/main')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java5
-rw-r--r--trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties2
2 files changed, 5 insertions, 2 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java
index e9bc275a..ff708e93 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/PositioningComposite.java
+++ b/trunk/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/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 a594a7dc..4542acc4 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
@@ -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