[Libreoffice-commits] core.git: i18npool/Library_localedata_en.mk i18npool/source
Eike Rathke (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 20 20:12:19 UTC 2019
i18npool/Library_localedata_en.mk | 1
i18npool/source/localedata/data/en_NG.xml | 50 ++++++++++++++++++++++++++++++
i18npool/source/localedata/localedata.cxx | 1
3 files changed, 52 insertions(+)
New commits:
commit e51bf749af8b881d6a0df214b84642f093471c54
Author: Eike Rathke <erack at redhat.com>
AuthorDate: Tue Aug 20 20:35:11 2019 +0200
Commit: Eike Rathke <erack at redhat.com>
CommitDate: Tue Aug 20 22:11:21 2019 +0200
Resolves: tdf#127011 add English (Nigeria) [en-NG] locale data
Change-Id: Ia2e34a90fd7dc2a0ef648b8457412f1a393441e4
Co-authored-by: Benjamin Chiagoziem Livinus <chilivb23 at gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/77856
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Jenkins
diff --git a/i18npool/Library_localedata_en.mk b/i18npool/Library_localedata_en.mk
index 2b0a77a42f0e..86a9178bf4ed 100644
--- a/i18npool/Library_localedata_en.mk
+++ b/i18npool/Library_localedata_en.mk
@@ -22,6 +22,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,localedata_en,\
CustomTarget/i18npool/localedata/localedata_en_LK \
CustomTarget/i18npool/localedata/localedata_en_MW \
CustomTarget/i18npool/localedata/localedata_en_NA \
+ CustomTarget/i18npool/localedata/localedata_en_NG \
CustomTarget/i18npool/localedata/localedata_en_NZ \
CustomTarget/i18npool/localedata/localedata_en_PH \
CustomTarget/i18npool/localedata/localedata_en_TT \
diff --git a/i18npool/source/localedata/data/en_NG.xml b/i18npool/source/localedata/data/en_NG.xml
new file mode 100644
index 000000000000..028b99e38b61
--- /dev/null
+++ b/i18npool/source/localedata/data/en_NG.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE Locale SYSTEM "locale.dtd">
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
+<Locale versionDTD="2.0.3" allowUpdateFromCLDR="no" version="1.2">
+ <LC_INFO>
+ <Language>
+ <LangID>en</LangID>
+ <DefaultName>English</DefaultName>
+ </Language>
+ <Country>
+ <CountryID>NG</CountryID>
+ <DefaultName>Nigeria</DefaultName>
+ </Country>
+ </LC_INFO>
+ <LC_CTYPE ref="en_GB"/>
+ <LC_FORMAT ref="en_GB" replaceFrom="[CURRENCY]" replaceTo="[$₦-A809]"/>
+ <LC_COLLATION ref="en_GB"/>
+ <LC_SEARCH ref="en_GB"/>
+ <LC_INDEX ref="en_GB"/>
+ <LC_CALENDAR ref="en_GB"/>
+ <LC_CURRENCY>
+ <Currency default="true" usedInCompatibleFormatCodes="true">
+ <CurrencyID>NGN</CurrencyID>
+ <CurrencySymbol>₦</CurrencySymbol>
+ <BankSymbol>NGN</BankSymbol>
+ <CurrencyName>Naira</CurrencyName>
+ <DecimalPlaces>2</DecimalPlaces>
+ </Currency>
+ </LC_CURRENCY>
+ <LC_TRANSLITERATION ref="en_GB"/>
+ <LC_MISC ref="en_GB"/>
+ <LC_NumberingLevel ref="en_GB"/>
+ <LC_OutLineNumberingLevel ref="en_GB"/>
+</Locale>
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index 4a46025aa2f0..d09f65772c60 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -80,6 +80,7 @@ static const struct {
{ "en_BW", lcl_DATA_EN },
{ "en_ZM", lcl_DATA_EN },
{ "en_LK", lcl_DATA_EN },
+ { "en_NG", lcl_DATA_EN },
{ "es_ES", lcl_DATA_ES },
{ "es_AR", lcl_DATA_ES },
More information about the Libreoffice-commits
mailing list