diff options
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 1 | ||||
-rw-r--r-- | i18nlangtag/source/isolang/mslangid.cxx | 2 | ||||
-rw-r--r-- | include/i18nlangtag/lang.h | 1 | ||||
-rw-r--r-- | svtools/inc/langtab.hrc | 3 |
4 files changed, 6 insertions, 1 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index e9b140f447ff..192f979dcc0b 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -778,6 +778,7 @@ IsoLanguageScriptCountryEntry const aImplIsoLangScriptEntries[] = { LANGUAGE_KAZAKH_CYRILLIC_LSO, "kk-Cyrl", "" , k0 }, // MS reserved { LANGUAGE_KANURI_NIGERIA, "kr-Latn", "NG", k0 }, // macrolanguage code; MS since rev.15 { LANGUAGE_TAMAZIGHT_ARABIC_MOROCCO, "tzm-Arab", "MA", k0 }, // MS since rev.15, was reserved + { LANGUAGE_USER_ROHINGYA_HANIFI, "rhg-Rhog", "MM", k0 }, }; Bcp47CountryEntry const aImplBcp47CountryEntries[] = diff --git a/i18nlangtag/source/isolang/mslangid.cxx b/i18nlangtag/source/isolang/mslangid.cxx index caa983416a3d..aa913a7f7ff4 100644 --- a/i18nlangtag/source/isolang/mslangid.cxx +++ b/i18nlangtag/source/isolang/mslangid.cxx @@ -260,6 +260,7 @@ bool MsLangId::isRightToLeft( LanguageType nLang ) LANGUAGE_USER_KURDISH_SOUTHERN_IRAQ, LANGUAGE_USER_HUNGARIAN_ROVAS, LANGUAGE_USER_MALAY_ARABIC_MALAYSIA, + LANGUAGE_USER_ROHINGYA_HANIFI, LANGUAGE_USER_MALAY_ARABIC_BRUNEI)) { return true; @@ -382,6 +383,7 @@ sal_Int16 MsLangId::getScriptType( LanguageType nLang ) LANGUAGE_USER_XIBE, LANGUAGE_USER_MALAY_ARABIC_MALAYSIA, LANGUAGE_USER_MALAY_ARABIC_BRUNEI, + LANGUAGE_USER_ROHINGYA_HANIFI, LANGUAGE_USER_PALI_THAI)) { nScript = css::i18n::ScriptType::COMPLEX; diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h index 5a724644dcb4..6dcff976fa9a 100644 --- a/include/i18nlangtag/lang.h +++ b/include/i18nlangtag/lang.h @@ -783,6 +783,7 @@ namespace o3tl #define LANGUAGE_USER_CATALAN_ITALY LanguageType(0x8C03) /* makeLangID( 0x23, getPrimaryLanguage( LANGUAGE_CATALAN)) */ #define LANGUAGE_USER_ENGLISH_ANTIGUA_BARBUDA LanguageType(0xB809) /* makeLangID( 0x2E, getPrimaryLanguage( LANGUAGE_ENGLISH_UK)) */ #define LANGUAGE_USER_SARAIKI LanguageType(0x06B0) +#define LANGUAGE_USER_ROHINGYA_HANIFI LanguageType(0x06B1) /* XXX Add new user defined LCIDs ^^^ there. diff --git a/svtools/inc/langtab.hrc b/svtools/inc/langtab.hrc index a6c411bab910..b605e0ef061f 100644 --- a/svtools/inc/langtab.hrc +++ b/svtools/inc/langtab.hrc @@ -440,7 +440,8 @@ const std::pair<TranslateId, LanguageType> STR_ARR_SVT_LANGUAGE_TABLE[] = { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Interslavic Cyrillic") , LANGUAGE_USER_INTERSLAVIC_CYRILLIC }, { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Pennsylvania Dutch") , LANGUAGE_USER_PENNSYLVANIA_DUTCH }, { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Portuguese (Mozambique)") , LANGUAGE_USER_PORTUGUESE_MOZAMBIQUE }, - { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Saraiki") , LANGUAGE_USER_SARAIKI } + { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Saraiki") , LANGUAGE_USER_SARAIKI }, + { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Rohingya Hanifi") , LANGUAGE_USER_ROHINGYA_HANIFI } }; |