Skip to content

Commit

Permalink
add Abkhaz (ab) langaugepack
Browse files Browse the repository at this point in the history
Change-Id: I100b6c5b34d9c377ab2458dda1cf9af14767c6f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179892
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <[email protected]>
  • Loading branch information
cloph committed Jan 12, 2025
1 parent 02a20c0 commit 2d92871
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
2 changes: 2 additions & 0 deletions i18nlangtag/source/isolang/isolang.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_SARAIKI, "skr", "PK", k0 },
{ LANGUAGE_USER_MORISYEN, "mfe", "MU", k0 },
{ LANGUAGE_USER_FRENCH_GUINEA, "fr", "GN", k0 },
{ LANGUAGE_USER_ABKHAZ, "ab", "" , k0 },
// Add new languages ^^^ there.
{ LANGUAGE_MULTIPLE, "mul", "" , k0 }, // multiple languages, many languages are used
{ LANGUAGE_UNDETERMINED, "und", "" , k0 }, // undetermined language, language cannot be identified
Expand Down Expand Up @@ -1183,6 +1184,7 @@ css::lang::Locale MsLangId::Conversion::lookupFallbackLocale(
{
if (rEntry.mnLang.anyOf(
// These are known to have no country assigned.
LANGUAGE_USER_ABKHAZ,
LANGUAGE_USER_ESPERANTO,
LANGUAGE_USER_INTERLINGUA,
LANGUAGE_USER_INTERLINGUE,
Expand Down
2 changes: 1 addition & 1 deletion include/i18nlangtag/lang.h
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ namespace o3tl
#define LANGUAGE_USER_MORISYEN LanguageType(0x06B2)
#define LANGUAGE_USER_SANTALI_OLCHIKI_INDIA LanguageType(0x06B3)
#define LANGUAGE_USER_FRENCH_GUINEA LanguageType(0x940C) /* makeLangID( 0x25, getPrimaryLanguage( LANGUAGE_FRENCH)) */

#define LANGUAGE_USER_ABKHAZ LanguageType(0x06B4)

/* XXX Add new user defined LCIDs ^^^ there.
* Note that we run out of IDs with sublanguage ID 0x01 after 0x07DF ... */
Expand Down
1 change: 1 addition & 0 deletions l10ntools/source/ulfconv/msi-encodinglist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# 2nd field used to be the ANSI codepage,
# but now we are using UTF-8 everywhere.
# comment lines begin with hash
ab 0 1716 # Abkhaz, fake LCID
af 0 1078 # Afrikaans
am 0 1118 # Amharic
ar 0 1025
Expand Down
6 changes: 6 additions & 0 deletions scp2/source/ooo/module_langpack.ulf
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,12 @@ en-US = "Zulu"
[STR_DESC_MODULE_LANGPACK_ZU]
en-US = "Installs the Zulu user interface"

[STR_NAME_MODULE_LANGPACK_AB]
en-US = "Abkhaz"

[STR_DESC_MODULE_LANGPACK_AB]
en-US = "Installs the Abkhazian user interface"

[STR_NAME_MODULE_LANGPACK_AF]
en-US = "Afrikaans"

Expand Down
3 changes: 2 additions & 1 deletion solenv/inc/langlist.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
#

# Complete list of all supported localizations (ISO codes)
completelangiso=af \
completelangiso=ab \
af \
am \
ar \
as \
Expand Down
3 changes: 2 additions & 1 deletion svtools/inc/langtab.hrc
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ const std::pair<TranslateId, LanguageType> STR_ARR_SVT_LANGUAGE_TABLE[] =
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Rohingya Hanifi") , LANGUAGE_USER_ROHINGYA_HANIFI },
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Morisyen") , LANGUAGE_USER_MORISYEN },
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Santali, Ol Chiki") , LANGUAGE_USER_SANTALI_OLCHIKI_INDIA },
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "French (Republic of Guinea)") , LANGUAGE_USER_FRENCH_GUINEA }
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "French (Republic of Guinea)") , LANGUAGE_USER_FRENCH_GUINEA },
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Abkhaz") , LANGUAGE_USER_ABKHAZ }
};


Expand Down

0 comments on commit 2d92871

Please sign in to comment.