From 38b94d743eceb7bcc69acbed0207a51f780dbd4c Mon Sep 17 00:00:00 2001 From: Harri Pitkänen Date: Fri, 27 Jan 2012 20:28:45 +0200 Subject: Support Komi-Zyrian and Komi-Permyak as text language for spell checking --- i18npool/inc/i18npool/lang.h | 2 ++ i18npool/source/isolang/isolang.cxx | 2 ++ 2 files changed, 4 insertions(+) (limited to 'i18npool') 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 }; -- cgit