[Libreoffice-commits] core.git: i18nlangtag/source include/i18nlangtag svtools/source

Harri Pitkänen hatapitk at iki.fi
Mon Jul 1 08:05:42 PDT 2013


 i18nlangtag/source/isolang/isolang.cxx |    2 ++
 include/i18nlangtag/lang.h             |    2 ++
 svtools/source/misc/langtab.src        |    2 ++
 3 files changed, 6 insertions(+)

New commits:
commit 30213582c73f2dec6d4a980560192720f2f426ab
Author: Harri Pitkänen <hatapitk at iki.fi>
Date:   Wed Jun 19 10:07:32 2013 +0300

    Add Cornish and Pite Sami to the list of spelling languages
    
    Add Cornish (kw-UK) and Pite Sami (sje-SE) to the list of
    available spell checking languages to support spell checkers
    that are being currently developed:
    
      https://victorio.uit.no/langtech/trunk/langs/cor
      https://victorio.uit.no/langtech/trunk/langs/sje
    
    Change-Id: I2f95fe5339e7cc31d64fa13cf2f74268b159215e
    Reviewed-on: https://gerrit.libreoffice.org/4609
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index c830673..a27331f 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -514,6 +514,8 @@ static MsLangId::IsoLangEntry const aImplIsoLangEntries[] =
     { LANGUAGE_USER_SIDAMA,                "sid", "ET" },
     { LANGUAGE_USER_NKO,                   "nqo", "GN" },
     { LANGUAGE_USER_UDMURT,                "udm", "RU" },
+    { LANGUAGE_USER_CORNISH,               "kw",  "UK" },
+    { LANGUAGE_USER_SAMI_PITE_SWEDEN,      "sje", "SE" },
     { LANGUAGE_MULTIPLE,                   "mul", ""   },   // multiple languages, many languages are used
     { LANGUAGE_UNDETERMINED,               "und", ""   },   // undetermined language, language cannot be identified
     { LANGUAGE_NONE,                       "zxx", ""   },   // added to ISO 639-2 on 2006-01-11: Used to declare the absence of linguistic information
diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h
index 53724c9..c2281cb 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -557,6 +557,8 @@ typedef unsigned short LanguageType;
 #define LANGUAGE_USER_NKO                   0x0686
 #define LANGUAGE_USER_UDMURT                0x0687
 #define LANGUAGE_USER_TIBETAN_INDIA         0x8051  /* makeLangID( 0x20, getPrimaryLanguage( LANGUAGE_TIBETAN)) */
+#define LANGUAGE_USER_CORNISH               0x0688
+#define LANGUAGE_USER_SAMI_PITE_SWEDEN      0x843B  /* makeLangID( 0x21, getPrimaryLanguage( LANGUAGE_SAMI_NORTHERN_NORWAY)) */
 
 #define LANGUAGE_USER_PRIV_JOKER            0xFFEB  /* privateuse "*" (sic! bad! nasty!), primary 0x3eb, sub 0x3f */
 #define LANGUAGE_USER_PRIV_COMMENT          0xFFEC  /* privateuse "x-comment", primary 0x3ec, sub 0x3f */
diff --git a/svtools/source/misc/langtab.src b/svtools/source/misc/langtab.src
index f85ef6a..15abc14 100644
--- a/svtools/source/misc/langtab.src
+++ b/svtools/source/misc/langtab.src
@@ -363,6 +363,8 @@ StringArray STR_ARR_SVT_LANGUAGE_TABLE
         < "N'ko" ; LANGUAGE_USER_NKO ; > ;
         < "Udmurt" ; LANGUAGE_USER_UDMURT ; > ;
         < "Tibetan (India)" ; LANGUAGE_USER_TIBETAN_INDIA ; > ;
+        < "Cornish" ; LANGUAGE_USER_CORNISH ; > ;
+        < "Sami, Pite (Sweden)" ; LANGUAGE_USER_SAMI_PITE_SWEDEN ; > ;
     };
 };
 


More information about the Libreoffice-commits mailing list