summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorHarri Pitkänen <hatapitk@iki.fi>2012-01-27 20:28:45 +0200
committerEike Rathke <erack@redhat.com>2012-02-01 00:44:02 +0100
commit38b94d743eceb7bcc69acbed0207a51f780dbd4c (patch)
treebbb6b4f07aca0a56b1f0f1c167d0845d99489108 /i18npool
parent8d2ec1da0449271888d8912306ad8e8a9220c5a2 (diff)
Support Komi-Zyrian and Komi-Permyak as text language for spell checking
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/inc/i18npool/lang.h2
-rw-r--r--i18npool/source/isolang/isolang.cxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/i18npool/inc/i18npool/lang.h b/i18npool/inc/i18npool/lang.h
index 177d2a753095..502afddceefb 100644
--- a/i18npool/inc/i18npool/lang.h
+++ b/i18npool/inc/i18npool/lang.h
@@ -538,6 +538,8 @@ typedef unsigned short LanguageType;
#define LANGUAGE_USER_KEYID 0x0666 /* key id pseudolanguage */
#define LANGUAGE_USER_PALI_LATIN 0x0667
#define LANGUAGE_USER_KYRGYZ_CHINA 0x0668 /* not derived from LANGUAGE_KIRGHIZ as these may be different scripts, see http://www.omniglot.com/writing/kirghiz.htm */
+#define LANGUAGE_USER_KOMI_ZYRIAN 0x0669
+#define LANGUAGE_USER_KOMI_PERMYAK 0x0A69
#endif /* INCLUDED_I18NPOOL_LANG_H */
diff --git a/i18npool/source/isolang/isolang.cxx b/i18npool/source/isolang/isolang.cxx
index 610ea7fe5540..00af58c579cd 100644
--- a/i18npool/source/isolang/isolang.cxx
+++ b/i18npool/source/isolang/isolang.cxx
@@ -483,6 +483,8 @@ static MsLangId::IsoLangEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_KEYID, "qtz", "" }, // key id pseudolanguage used for UI testing
{ LANGUAGE_USER_PALI_LATIN, "pli", "" }, // Pali with Latin script
{ LANGUAGE_USER_KYRGYZ_CHINA, "ky", "CN" },
+ { LANGUAGE_USER_KOMI_ZYRIAN, "kpv", "" },
+ { LANGUAGE_USER_KOMI_PERMYAK, "koi", "" },
{ LANGUAGE_NONE, "zxx", "" }, // added to ISO 639-2 on 2006-01-11: Used to declare the absence of linguistic information
{ LANGUAGE_DONTKNOW, "", "" } // marks end of table
};