diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:36:13 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:36:13 +0000 |
commit | d6de3b8d165b29ba6f6a0a629dc83ca01b60dde1 (patch) | |
tree | a4a9f3482bb0895d43b816bb528afb5d1f0efdcd /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow | |
parent | 5698134700d2d13ca5021f7f0516b9cd9ebfe852 (diff) | |
download | mocca-d6de3b8d165b29ba6f6a0a629dc83ca01b60dde1.tar.gz mocca-d6de3b8d165b29ba6f6a0a629dc83ca01b60dde1.tar.bz2 mocca-d6de3b8d165b29ba6f6a0a629dc83ca01b60dde1.zip |
Handle argument help localization correctly
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@406 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigProviderImpl.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigProviderImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigProviderImpl.java index e9fbe1c2..ec0be92d 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigProviderImpl.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigProviderImpl.java @@ -103,17 +103,17 @@ public class ConfigProviderImpl implements ConfigProvider, ConfigManipulator, this.setDefaultOutputFolder(config .getProperty(Constants.CFG_OUTPUT_FOLDER)); - String localString = config.getProperty(Constants.CFG_LOCALE); + String localeString = config.getProperty(Constants.CFG_LOCALE); - Locale targetLocale = LocaleSerializer.parseFromString(localString); - if(targetLocale != null) { + Locale targetLocale = LocaleSerializer.parseFromString(localeString); + if (targetLocale != null) { this.setLocale(targetLocale); } String signlocalString = config.getProperty(Constants.CFG_SIGN_LOCALE); Locale signtargetLocale = LocaleSerializer.parseFromString(signlocalString); - if(signtargetLocale != null) { + if (signtargetLocale != null) { this.setSignLocale(signtargetLocale); } |