This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 466e82c310 Additional changes for Ligurian
466e82c310 is described below
commit 466e82c31075fcb3120b15f595428cffac87405f
Author: mseidel <[email protected]>
AuthorDate: Tue Oct 7 11:47:06 2025 +0200
Additional changes for Ligurian
---
main/i18npool/inc/i18npool/lang.h | 4 ++--
main/i18npool/source/isolang/isolang.cxx | 5 +++--
main/svtools/source/misc/langtab.src | 3 +--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/main/i18npool/inc/i18npool/lang.h
b/main/i18npool/inc/i18npool/lang.h
index 074de5325b..9948c5a6b7 100644
--- a/main/i18npool/inc/i18npool/lang.h
+++ b/main/i18npool/inc/i18npool/lang.h
@@ -409,7 +409,7 @@ typedef unsigned short LanguageType;
* 0xFA00 to 0xFBFF with sublanguage ID 0x3E
* 0xFE00 to 0xFFFF with sublanguage ID 0x3F
*
- * Obsolete OOo user defines now have other values assigned by MS, and
+ * Obsolete AOO user defines now have other values assigned by MS, and
* different name. Mapping an obsolete value to ISO code should work provided
* that such a mapping exists in i18npool/source/isolang/isolang.cxx, but
* mapping ISO back to LANGID will return the new value.
@@ -519,6 +519,6 @@ typedef unsigned short LanguageType;
#define LANGUAGE_USER_KABYLE 0x0659
#define LANGUAGE_USER_HAITIAN 0x065A
#define LANGUAGE_USER_VENETAN 0x065B
-
+#define LANGUAGE_USER_LIGURIAN 0x065C
#endif /* INCLUDED_I18NPOOL_LANG_H */
diff --git a/main/i18npool/source/isolang/isolang.cxx
b/main/i18npool/source/isolang/isolang.cxx
index 54ec03edb4..f27266e00f 100644
--- a/main/i18npool/source/isolang/isolang.cxx
+++ b/main/i18npool/source/isolang/isolang.cxx
@@ -19,8 +19,6 @@
*
*************************************************************/
-
-
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_i18nisolang.hxx"
#include <rtl/ustring.hxx>
@@ -464,6 +462,7 @@ static MsLangId::IsoLangEntry const aImplIsoLangEntries[] =
{ LANGUAGE_USER_KABYLE, "kab", "DZ" },
{ LANGUAGE_USER_HAITIAN, "ht", "HT" },
{ LANGUAGE_USER_VENETAN, "vec", "IT" },
+ { LANGUAGE_USER_LIGURIAN, "lij", "IT" },
{ LANGUAGE_FRENCH_HAITI, "fr", "HT" },
{ LANGUAGE_NONE, "zxx", "" }, // added to ISO
639-2 on 2006-01-11: Used to declare the absence of linguistic information
{ LANGUAGE_DONTKNOW, "", "" } // marks end of
table
@@ -1109,3 +1108,5 @@ const MsLangId::IsoLangEntry* MsLangId::getIsoLangEntry(
size_t nIndex )
return &aImplIsoLangEntries[ nIndex];
return 0;
}
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/svtools/source/misc/langtab.src
b/main/svtools/source/misc/langtab.src
index 04ff600f13..0ba5bd00f8 100644
--- a/main/svtools/source/misc/langtab.src
+++ b/main/svtools/source/misc/langtab.src
@@ -19,8 +19,6 @@
*
*************************************************************/
-
-
// include ---------------------------------------------------------------
#include <svtools/svtools.hrc>
@@ -326,6 +324,7 @@ StringArray STR_ARR_SVT_LANGUAGE_TABLE
< "Kabyle" ; LANGUAGE_USER_KABYLE ; > ;
< "Haitian" ; LANGUAGE_USER_HAITIAN ; > ;
< "Venetan" ; LANGUAGE_USER_VENETAN ; > ;
+ < "Ligurian" ; LANGUAGE_USER_LIGURIAN ; > ;
};
};