[Libreoffice-commits] .: i18npool/inc i18npool/source svtools/source

Eike Rathke erack at kemper.freedesktop.org
Wed Jun 20 01:56:12 PDT 2012


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

New commits:
commit bb6fec1bd39be9f6d660623abd2b25400a34b9ac
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Jun 20 10:40:43 2012 +0200

    fdo#38731 added Papiamento (Curaçao) [pap-CW] and (Bonaire) [pap-BQ]
    
    Added Papiamento (Curaçao) [pap-CW] and Papiamento (Bonaire) [pap-BQ] to
    language list. The locales are selectable for character attribution and
    spell-checking.
    
    Change-Id: I300029e2e60e196c989596f3a7d4f4a888e17af3

diff --git a/i18npool/inc/i18npool/lang.h b/i18npool/inc/i18npool/lang.h
index a74b3ef..2bc8020 100644
--- a/i18npool/inc/i18npool/lang.h
+++ b/i18npool/inc/i18npool/lang.h
@@ -544,6 +544,8 @@ typedef unsigned short LanguageType;
 #define LANGUAGE_USER_ENGLISH_MALAWI        0x8809  /* makeLangID( 0x22, getPrimaryLanguage( LANGUAGE_ENGLISH_UK)) */
 #define LANGUAGE_USER_ERZYA                 0x066C
 #define LANGUAGE_USER_MARI_MEADOW           0x066D
+#define LANGUAGE_USER_PAPIAMENTU_CURACAO    0x8479  /* makeLangID( 0x21, getPrimaryLanguage( LANGUAGE_PAPIAMENTU)) */
+#define LANGUAGE_USER_PAPIAMENTU_BONAIRE    0x8879  /* makeLangID( 0x22, getPrimaryLanguage( LANGUAGE_PAPIAMENTU)) */
 
 #endif /* INCLUDED_I18NPOOL_LANG_H */
 
diff --git a/i18npool/source/isolang/isolang.cxx b/i18npool/source/isolang/isolang.cxx
index 0509079..092d5cd 100644
--- a/i18npool/source/isolang/isolang.cxx
+++ b/i18npool/source/isolang/isolang.cxx
@@ -350,6 +350,8 @@ static MsLangId::IsoLangEntry const aImplIsoLangEntries[] =
     { LANGUAGE_SOMALI,                      "so", "SO" },
     { LANGUAGE_PAPIAMENTU,                 "pap", "AN" },
     { LANGUAGE_USER_PAPIAMENTU_ARUBA,      "pap", "AW" },
+    { LANGUAGE_USER_PAPIAMENTU_CURACAO,    "pap", "CW" },
+    { LANGUAGE_USER_PAPIAMENTU_BONAIRE,    "pap", "BQ" },
     { LANGUAGE_ENGLISH_SINGAPORE,           "en", "SG" },
     { LANGUAGE_USER_YIDDISH_US,             "yi", "US" },
     { LANGUAGE_YIDDISH,                     "yi", "IL" },   // new: old was "ji"
diff --git a/svtools/source/misc/langtab.src b/svtools/source/misc/langtab.src
index 6ddac9e..0882cf2 100644
--- a/svtools/source/misc/langtab.src
+++ b/svtools/source/misc/langtab.src
@@ -350,6 +350,8 @@ StringArray STR_ARR_SVT_LANGUAGE_TABLE
         < "English (Malawi)" ; LANGUAGE_USER_ENGLISH_MALAWI ; > ;
         < "Erzya" ; LANGUAGE_USER_ERZYA ; > ;
         < "Mari, Meadow" ; LANGUAGE_USER_MARI_MEADOW ; > ;
+        < "Papiamento (Curaçao)" ; LANGUAGE_USER_PAPIAMENTU_CURACAO ; > ;
+        < "Papiamento (Bonaire)" ; LANGUAGE_USER_PAPIAMENTU_BONAIRE ; > ;
     };
 };
 


More information about the Libreoffice-commits mailing list