summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2024-11-18 18:59:59 +0100
committerEike Rathke <erack@redhat.com>2024-11-18 22:45:45 +0100
commit6acaa433762624b29eaeca39c5a60eb7824788d6 (patch)
tree7a6951c9e990fbe82ff294a8956940da478ce574
parent7a1ab3f0a3c4545b35cf4cc4e3d71b791053350d (diff)
Related: tdf#163903 Add French (Republic of Guinea) {fr-GN} [0x940C]
Change-Id: I2ebea83a757533088fc49a3c849e6b7890277d1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176734 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
-rw-r--r--i18nlangtag/source/isolang/isolang.cxx1
-rw-r--r--include/i18nlangtag/lang.h1
-rw-r--r--svtools/inc/langtab.hrc3
3 files changed, 4 insertions, 1 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index 1ce95c43c731..88521f1587c5 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -682,6 +682,7 @@ IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_ENGLISH_ANTIGUA_BARBUDA,"en", "AG", k0 },
{ LANGUAGE_USER_SARAIKI, "skr", "PK", k0 },
{ LANGUAGE_USER_MORISYEN, "mfe", "MU", k0 },
+ { LANGUAGE_USER_FRENCH_GUINEA, "fr", "GN", 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
diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h
index 524b9243e00d..d37c8bbe7090 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -792,6 +792,7 @@ namespace o3tl
#define LANGUAGE_USER_ROHINGYA_HANIFI LanguageType(0x06B1)
#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)) */
/* XXX Add new user defined LCIDs ^^^ there.
diff --git a/svtools/inc/langtab.hrc b/svtools/inc/langtab.hrc
index eba0db6d1b3a..e2a3e82d016a 100644
--- a/svtools/inc/langtab.hrc
+++ b/svtools/inc/langtab.hrc
@@ -445,7 +445,8 @@ const std::pair<TranslateId, LanguageType> STR_ARR_SVT_LANGUAGE_TABLE[] =
{ NC_("STR_ARR_SVT_LANGUAGE_TABLE", "Saraiki") , LANGUAGE_USER_SARAIKI },
{ 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", "Santali, Ol Chiki") , LANGUAGE_USER_SANTALI_OLCHIKI_INDIA },
+ { NC_("STR_ARR_SVT_LANGUAGE_TABLE", "French (Republic of Guinea)") , LANGUAGE_USER_FRENCH_GUINEA }
};