From b247e5f77d23e5cc43ea7e176a5dc01e6b30f17d Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 2 Jun 2014 20:17:21 +0200 Subject: [PATCH] add LANGUAGE_USER_FRENCH_TOGO 0x8C0C [fr-TG] French (Togo), fdo#79353 Change-Id: Id1e127a3652d4bef280327c2a62d95c17c012656 --- i18nlangtag/source/isolang/isolang.cxx | 1 + include/i18nlangtag/lang.h | 1 + svtools/source/misc/langtab.src | 1 + 3 files changed, 3 insertions(+) diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 3fcb4f7f877c..141d9133aff6 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -646,6 +646,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] = { LANGUAGE_USER_LENGO, "lgr", "SB", 0 }, { LANGUAGE_USER_FRENCH_BENIN, "fr", "BJ", 0 }, { LANGUAGE_USER_FRENCH_NIGER, "fr", "NE", 0 }, + { LANGUAGE_USER_FRENCH_TOGO, "fr", "TG", 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 diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h index 9a487ac9751c..1c47be7a897b 100644 --- a/include/i18nlangtag/lang.h +++ b/include/i18nlangtag/lang.h @@ -700,6 +700,7 @@ typedef unsigned short LanguageType; #define LANGUAGE_USER_LENGO 0x0692 #define LANGUAGE_USER_FRENCH_BENIN 0x840C /* makeLangID( 0x21, getPrimaryLanguage( LANGUAGE_FRENCH)) */ #define LANGUAGE_USER_FRENCH_NIGER 0x880C /* makeLangID( 0x22, getPrimaryLanguage( LANGUAGE_FRENCH)) */ +#define LANGUAGE_USER_FRENCH_TOGO 0x8C0C /* makeLangID( 0x23, getPrimaryLanguage( LANGUAGE_FRENCH)) */ /* Primary language ID range for on-the-fly assignment. */ diff --git a/svtools/source/misc/langtab.src b/svtools/source/misc/langtab.src index eba2d7125dd8..67fcfd38ebcd 100644 --- a/svtools/source/misc/langtab.src +++ b/svtools/source/misc/langtab.src @@ -387,6 +387,7 @@ StringArray STR_ARR_SVT_LANGUAGE_TABLE < "French (Senegal)" ; LANGUAGE_FRENCH_SENEGAL ; > ; < "French (Benin)" ; LANGUAGE_USER_FRENCH_BENIN ; > ; < "French (Niger)" ; LANGUAGE_USER_FRENCH_NIGER ; > ; + < "French (Togo)" ; LANGUAGE_USER_FRENCH_TOGO ; > ; }; };