aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'id/ConfigWebTool/src/main/java/at')
-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) {