Kaydet (Commit) c9af6320 authored tarafından Aleksandr Andreev's avatar Aleksandr Andreev Kaydeden (comit) Eike Rathke

tdf#90802 add Church Slavic [cu-RU] locale

Change-Id: Id8322661f79f4d500fd59c19fc04b13e82c7126d
Reviewed-on: https://gerrit.libreoffice.org/15540Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
üst 59adad74
......@@ -648,6 +648,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_FRENCH_NIGER, "fr", "NE", 0 },
{ LANGUAGE_USER_FRENCH_TOGO, "fr", "TG", 0 },
{ LANGUAGE_USER_KVEN_FINNISH, "fkv", "NO", 0 },
{ LANGUAGE_USER_CHURCH_SLAVIC, "cu", "RU", 0 },
{ LANGUAGE_MULTIPLE, "mul", "" , 0 }, // multiple languages, many languages are used
{ LANGUAGE_UNDETERMINED, "und", "" , 0 }, // undetermined language, language cannot be identified
{ LANGUAGE_NONE, "zxx", "" , 0 }, // added to ISO 639-2 on 2006-01-11: Used to declare the absence of linguistic information
......
......@@ -11,6 +11,7 @@ $(eval $(call gb_CustomTarget_CustomTarget,i18npool/collator))
i18npool_CODIR := $(call gb_CustomTarget_get_workdir,i18npool/collator)
i18npool_COTXTS := \
cu_charset.txt \
$(call gb_Helper_optional_locale,ca, \
ca_charset.txt) \
$(call gb_Helper_optional_locale,dz, \
......
......@@ -37,6 +37,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,localedata_others,\
CustomTarget/i18npool/localedata/localedata_bo_CN \
CustomTarget/i18npool/localedata/localedata_bo_IN \
CustomTarget/i18npool/localedata/localedata_bvx_CG \
CustomTarget/i18npool/localedata/localedata_cu_RU \
CustomTarget/i18npool/localedata/localedata_dde_CG \
CustomTarget/i18npool/localedata/localedata_dz_BT \
CustomTarget/i18npool/localedata/localedata_ebo_CG \
......
......@@ -64,6 +64,7 @@ extern "C" {
// get_zh_pinyin for instance.
const sal_uInt8* get_collator_data_ca_charset();
const sal_uInt8* get_collator_data_cu_charset();
const sal_uInt8* get_collator_data_dz_charset();
const sal_uInt8* get_collator_data_hu_charset();
const sal_uInt8* get_collator_data_ja_charset();
......@@ -85,6 +86,7 @@ const sal_uInt8* get_collator_data_zh_stroke();
const sal_uInt8* get_collator_data_zh_zhuyin();
size_t get_collator_data_ca_charset_length();
size_t get_collator_data_cu_charset_length();
size_t get_collator_data_dz_charset_length();
size_t get_collator_data_hu_charset_length();
size_t get_collator_data_ja_charset_length();
......@@ -198,6 +200,14 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang::
funclen = get_collator_data_ca_charset_length;
}
#endif
#if WITH_LOCALE_ALL || WITH_LOCALE_cu
} else if ( rLocale.language == "cu" ) {
if ( rAlgorithm == "charset" )
{
func = get_collator_data_cu_charset;
funclen = get_collator_data_cu_charset_length;
}
#endif
#if WITH_LOCALE_ALL || WITH_LOCALE_dz
} else if ( rLocale.Language == "dz" || rLocale.Language == "bo" ) {
// 'bo' Tibetan uses the same collation rules as 'dz' Dzongkha
......
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#
# Collation of Church Slavic letters
#
[caseLevel on]
[caseFirst upper]
[backwards 2]
& [first primary ignorable] = \; = \: = \\ = \. = \- = \, = \* = – = — = \_ = ꙳ = ҂ = ⃝ = ҈ = ҉= ꙰= ꙱= ꙲ = ✠
& [first secondary ignorable] = ҇ = ꙼ = ꙾ << ҅ << ҆ << ́ << ̀ << ̑ << ҃ << ̆ << ̈ = ̏ << ⷶ << ⷠ << ⷡ << ⷢ << ⷣ << ⷷ << ꙴ << ⷤ << ⷥ << ꙵ << ꙶ << ⷦ << ⷧ << ⷨ << ⷩ << ⷪ << ꙻ << ⷫ << ⷬ << ⷭ << ⷮ << ⷹ << ꙷ << ꚞ << ⷯ << ⷰ << ⷱ << ⷲ << ⷳ << ̾ = ꙸ = ⸯ << ꙹ << ꙿ = ꙽ = ꙺ << ⷺ << ⷻ << ⷾ << ⷼ << ⷽ << ⷴ
& ⷭⷮ = ⷵ
& д = ᲁ
& е <<< Е <<< є <<< Є
& ж <<< Ж < ѕ <<< Ѕ < з = ꙁ <<< З = Ꙁ
& и <<< И < і <<< І
& и = й / ̆
& И = Й / ̆
& і = ї / ̈
& І = Ї / ̈
& н <<< Н < ѻ <<< Ѻ <<< о = ᲂ <<< О <<< ѡ <<< Ѡ <<< ꙍ <<< Ꙍ
& Ꙍ҆̑ = Ѽ
& ꙍ҆̑ = ѽ
& Ѡт = Ѿ
& ѡт = ѿ
& т <<< Т < ѹ = оу = ᲂу <<< Ѹ = Оу = ОУ <<< ꙋ <<< Ꙋ <<< у <<< У
& э <<< Э < ѣ <<< Ѣ
& ю <<< Ю < ѫ <<< Ѫ < я <<< Я < ꙗ <<< Ꙗ <<< ѧ <<< Ѧ < ѯ <<< Ѯ < ѱ <<< Ѱ < ѳ <<< Ѳ < ѵ <<< Ѵ
& ѵ = ѷ / ̏
& Ѵ = Ѷ / ̏
& 🕀 < 🕁 < 🕂 < 🕃 < 🕄
This diff is collapsed.
......@@ -299,7 +299,8 @@ static const struct {
{ "bm_ML", lcl_DATA_OTHERS },
{ "pui_CO", lcl_DATA_OTHERS },
{ "lgr_SB", lcl_DATA_OTHERS },
{ "mos_BF", lcl_DATA_OTHERS }
{ "mos_BF", lcl_DATA_OTHERS },
{ "cu_RU", lcl_DATA_OTHERS }
};
#else
......
......@@ -702,6 +702,7 @@ typedef unsigned short LanguageType;
#define LANGUAGE_USER_FRENCH_NIGER 0x880C /* makeLangID( 0x22, getPrimaryLanguage( LANGUAGE_FRENCH)) */
#define LANGUAGE_USER_FRENCH_TOGO 0x8C0C /* makeLangID( 0x23, getPrimaryLanguage( LANGUAGE_FRENCH)) */
#define LANGUAGE_USER_KVEN_FINNISH 0x0693
#define LANGUAGE_USER_CHURCH_SLAVIC 0x0694
/* Primary language ID range for on-the-fly assignment. */
......
......@@ -76,6 +76,7 @@ StringArray STR_ARR_SVT_LANGUAGE_TABLE
< "Chinese (Hong Kong)" ; LANGUAGE_CHINESE_HONGKONG ; > ;
< "Chinese (Singapore)" ; LANGUAGE_CHINESE_SINGAPORE ; > ;
< "Chinese (Macau)" ; LANGUAGE_CHINESE_MACAU ; > ;
< "Church Slavic" ; LANGUAGE_USER_CHURCH_SLAVIC ; > ;
< "Croatian" ; LANGUAGE_CROATIAN ; > ;
< "Czech" ; LANGUAGE_CZECH ; > ;
< "Danish" ; LANGUAGE_DANISH ; > ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment