summaryrefslogtreecommitdiff
path: root/i18npool/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-11-27 20:32:10 +0100
committerEike Rathke <erack@redhat.com>2012-11-27 20:35:32 +0100
commitb1d3900317bba8f3d0ab773e517a40b40934e0f7 (patch)
tree663f1e0ab37b79cf6e6926ddbfa42b58ec492c02 /i18npool/inc
parent201a3b83d0868c8b0a884a17779b6a4838ed0615 (diff)
do not resolve LANGUAGE_NONE in MsLangId::getRealLanguage()
LANGUAGE_NONE was resolved to UI language, don't do that, if desired use LANGUAGE_HID_HUMAN_INTERFACE_DEVICE instead. Change-Id: I4a45653c9dfef7cc2cddb941ea1174189708cea2
Diffstat (limited to 'i18npool/inc')
-rw-r--r--i18npool/inc/i18npool/mslangid.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/i18npool/inc/i18npool/mslangid.hxx b/i18npool/inc/i18npool/mslangid.hxx
index eba15ad944d9..c1682c3dd2c8 100644
--- a/i18npool/inc/i18npool/mslangid.hxx
+++ b/i18npool/inc/i18npool/mslangid.hxx
@@ -68,11 +68,11 @@ public:
application's configuration.
@returns
- case LANGUAGE_PROCESS_OR_USER_DEFAULT : configured or system language
- case LANGUAGE_SYSTEM_DEFAULT : configured or system language
- case LANGUAGE_SYSTEM : configured or system language
- case LANGUAGE_NONE : configured or system UI language
- case LANGUAGE_DONTKNOW : LANGUAGE_ENGLISH_US
+ case LANGUAGE_PROCESS_OR_USER_DEFAULT : configured or system language
+ case LANGUAGE_SYSTEM_DEFAULT : configured or system language
+ case LANGUAGE_SYSTEM : configured or system language
+ case LANGUAGE_HID_HUMAN_INTERFACE_DEVICE : configured or system UI language
+ case LANGUAGE_DONTKNOW : LANGUAGE_ENGLISH_US
else: nLang
In case the configured language is LANGUAGE_SYSTEM, which is also