aboutsummaryrefslogtreecommitdiff
path: root/id
diff options
context:
space:
mode:
authorBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-04-02 15:22:18 +0200
committerBojan Suzic <bojan.suzic@iaik.tugraz.at>2014-04-02 15:22:18 +0200
commit5d1bbe135b0d8d9ff0d8934f9d0a4311b61f46fb (patch)
tree753187ec6b23b2ed6f9bb63b9246b321d0193368 /id
parentf6b93dda9852534fe672cad65e978191d3aff5e3 (diff)
downloadmoa-id-spss-5d1bbe135b0d8d9ff0d8934f9d0a4311b61f46fb.tar.gz
moa-id-spss-5d1bbe135b0d8d9ff0d8934f9d0a4311b61f46fb.tar.bz2
moa-id-spss-5d1bbe135b0d8d9ff0d8934f9d0a4311b61f46fb.zip
language+
Diffstat (limited to 'id')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/helper/LanguageHelper.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/helper/LanguageHelper.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/helper/LanguageHelper.java
index b207e7118..c743036aa 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/helper/LanguageHelper.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/helper/LanguageHelper.java
@@ -46,10 +46,9 @@ public class LanguageHelper {
try {
ConfigurationProvider configurationProvider = ConfigurationProvider.getInstance();
if (configurationProvider.getDefaultLanguage().equals("en")) {
- Logger.trace("Returning EN error message");
return errorRes_EN.getString(code);
} else {
- Logger.trace("Returning DE error message");
+ return errorRes_DE.getString(code);
}
} catch (ConfigurationException e) {
Logger.error("Configuration exception while getting ConfigurationProvider instance");
@@ -59,7 +58,6 @@ public class LanguageHelper {
Logger.error("General exception while returning translated message");
return errorRes_DE.getString(code);
}
- return errorRes_DE.getString(code);
}
private static String guiLanguage(String code) {
@@ -67,10 +65,8 @@ public class LanguageHelper {
try {
ConfigurationProvider configurationProvider = ConfigurationProvider.getInstance();
if (configurationProvider.getDefaultLanguage().equals("en")) {
- Logger.trace("Returning EN gui message: " + guiRes_EN.getString(code));
return guiRes_EN.getString(code);
} else {
- Logger.trace("Returning DE gui message: " + guiRes_DE.getString(code) + " /en>" + guiRes_EN.getString(code));
return guiRes_DE.getString(code);
}
} catch (ConfigurationException e) {