From 96a1a5c9d04238c63247794ad9c76e5a2001b8d0 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 18:58:27 +0000 Subject: Moved Mobile BKU URL to configuration file Extracted localizable Strings git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@61 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../main/java/at/asit/pdfover/gui/cliarguments/EmblemArgument.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/EmblemArgument.java') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/EmblemArgument.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/EmblemArgument.java index 1b7260c1..a89bef78 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/EmblemArgument.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/EmblemArgument.java @@ -22,6 +22,7 @@ import java.io.FileNotFoundException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import at.asit.pdfover.gui.Messages; import at.asit.pdfover.gui.exceptions.InitializationException; import at.asit.pdfover.gui.workflow.ConfigManipulator; import at.asit.pdfover.gui.workflow.StateMachine; @@ -34,7 +35,7 @@ public class EmblemArgument extends CLIArgument { * Constructor */ public EmblemArgument() { - super(new String[] {"-e"}, "Sets the emblem file to use for the signature. Example: -e "); //$NON-NLS-1$ + super(new String[] {"-e"}, Messages.getString("argument.help.emblem")); //$NON-NLS-1$ //$NON-NLS-2$ } /** @@ -70,11 +71,11 @@ public class EmblemArgument extends CLIArgument { } catch (Exception ex) { log.error("Emblem argument invalid!", ex); //$NON-NLS-1$ throw new InitializationException( - "Emblem invalid! Use: " + this.getHelpText(), ex); + Messages.getString("argument.invalid.emblem") + this.getHelpText(), ex); //$NON-NLS-1$ } throw new InitializationException( - "Emblem argument invalid! Use: " + this.getHelpText(), null); + Messages.getString("argument.invalid.emblem") + this.getHelpText(), null); //$NON-NLS-1$ } } -- cgit v1.2.3