From 89ac04963c6781065a5342e219396bbd73bdf6e9 Mon Sep 17 00:00:00 2001 From: tkellner Date: Mon, 1 Oct 2012 08:30:45 +0000 Subject: Moved Mobile BKU URL to configuration file Extracted localizable Strings git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12542 3a0b52a2-8410-0410-bc02-ff6273a87459 --- .../java/at/asit/pdfover/gui/cliarguments/ProxyPortArgument.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/ProxyPortArgument.java') diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/ProxyPortArgument.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/ProxyPortArgument.java index aa0d5d81..51ef7554 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/ProxyPortArgument.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/cliarguments/ProxyPortArgument.java @@ -19,6 +19,7 @@ package at.asit.pdfover.gui.cliarguments; 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.exceptions.InvalidPortException; import at.asit.pdfover.gui.workflow.ConfigManipulator; @@ -32,7 +33,7 @@ public class ProxyPortArgument extends CLIArgument { * Constructor */ public ProxyPortArgument() { - super(new String[] {"-proxyport"}, "Sets the proxy port to use. Example: -proxyport "); //$NON-NLS-1$ + super(new String[] {"-proxyport"}, Messages.getString("argument.help.proxyport")); //$NON-NLS-1$ //$NON-NLS-2$ } /** @@ -68,11 +69,11 @@ public class ProxyPortArgument extends CLIArgument { } catch (Exception ex) { log.error("Proxy port argument invalid!", ex); //$NON-NLS-1$ throw new InitializationException( - "Proxy port argument invalid! Use: " + this.getHelpText(), ex); + Messages.getString("argument.invalid.proxyport") + this.getHelpText(), ex); //$NON-NLS-1$ } throw new InitializationException( - "Proxy port argument invalid! Use: " + this.getHelpText(), null); + Messages.getString("argument.invalid.proxyport") + this.getHelpText(), null); //$NON-NLS-1$ } } -- cgit v1.2.3