From 6acaa433762624b29eaeca39c5a60eb7824788d6 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 18 Nov 2024 18:59:59 +0100 Subject: [PATCH] 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 --- i18nlangtag/source/isolang/isolang.cxx | 1 + include/i18nlangtag/lang.h | 1 + svtools/inc/langtab.hrc | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) 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 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 } };