summaryrefslogtreecommitdiff
path: root/i18npool/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-12-13 13:45:14 +0100
committerEike Rathke <erack@redhat.com>2012-12-13 13:53:31 +0100
commit09bc1464ec9dde61e69cca393e65e72143bdd383 (patch)
treeafd0db867aee48322963be6224268b06c859c303 /i18npool/inc
parentb988f64d37f1e46fb5a9449758b379fc01661fa2 (diff)
introduced [mul] multiple and [und] undetermined language codes
Various places use an empty locale or string to indicate different meanings and/or variants of "this is not a real locale but I didn't know what to use else" or abuse LANGUAGE_DONTKNOW in one or the other way. In preparation of changing that awkward situation now offer the ISO 639 codes for multiple languages [mul] and language undetermined [und], mapping to LANGUAGE_MULTIPLE and LANGUAGE_UNDETERMINED. Change-Id: I687de23ffc00a9a056f2837b024e0a62658e3df2
Diffstat (limited to 'i18npool/inc')
-rw-r--r--i18npool/inc/i18npool/lang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/i18npool/inc/i18npool/lang.h b/i18npool/inc/i18npool/lang.h
index cf4ec6b6b4e8..932f92b94443 100644
--- a/i18npool/inc/i18npool/lang.h
+++ b/i18npool/inc/i18npool/lang.h
@@ -566,6 +566,8 @@ typedef unsigned short LanguageType;
#define LANGUAGE_USER_YOMBE 0x0684
#define LANGUAGE_USER_YOMBE_CONGO 0x8284 /* makeLangID( 0x20, getPrimaryLanguage( LANGUAGE_USER_YOMBE)) */
#define LANGUAGE_USER_SIDAMA 0x0685
+#define LANGUAGE_MULTIPLE 0xFFEF /* multiple languages, primary 0x3ef, sub 0x3f */
+#define LANGUAGE_UNDETERMINED 0xFFF0 /* undetermined language, primary 0x3f0, sub 0x3f */
#define LANGUAGE_USER_SYSTEM_CONFIG 0xFFFE /* not a locale, to be used only in configuration context to obtain system default, primary 0x3fe, sub 0x3f */
#endif /* INCLUDED_I18NPOOL_LANG_H */