summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-06-30 11:16:14 +0200
committerEike Rathke <erack@redhat.com>2015-06-30 11:18:19 +0200
commit7c769c7bfc4a9d8b64c7d562aba5c1ad27cd0664 (patch)
treef3ae19f0d5ab675dde05d887273ddf7b042a5a5f
parent07ec1e8cb83b56d82e811eccc169007beeca7651 (diff)
add English (Gambia) [en-GM] locale data, tdf#92442
All derived from en-GB with currency GMD symbol D Change-Id: I33d8688f73342322c816f4cfe8923bf3a2db85be
-rw-r--r--i18npool/Library_localedata_en.mk1
-rw-r--r--i18npool/source/localedata/data/en_GM.xml50
-rw-r--r--i18npool/source/localedata/localedata.cxx1
3 files changed, 52 insertions, 0 deletions
diff --git a/i18npool/Library_localedata_en.mk b/i18npool/Library_localedata_en.mk
index 5fe3fc2a171a..20691f502944 100644
--- a/i18npool/Library_localedata_en.mk
+++ b/i18npool/Library_localedata_en.mk
@@ -19,6 +19,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,localedata_en,\
CustomTarget/i18npool/localedata/localedata_en_CA \
CustomTarget/i18npool/localedata/localedata_en_GB \
CustomTarget/i18npool/localedata/localedata_en_GH \
+ CustomTarget/i18npool/localedata/localedata_en_GM \
CustomTarget/i18npool/localedata/localedata_en_IE \
CustomTarget/i18npool/localedata/localedata_en_JM \
CustomTarget/i18npool/localedata/localedata_en_MW \
diff --git a/i18npool/source/localedata/data/en_GM.xml b/i18npool/source/localedata/data/en_GM.xml
new file mode 100644
index 000000000000..58ad2d421f82
--- /dev/null
+++ b/i18npool/source/localedata/data/en_GM.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.0">
+ <LC_INFO>
+ <Language>
+ <LangID>en</LangID>
+ <DefaultName>English</DefaultName>
+ </Language>
+ <Country>
+ <CountryID>GM</CountryID>
+ <DefaultName>Gambia</DefaultName>
+ </Country>
+ </LC_INFO>
+ <LC_CTYPE ref="en_GB" />
+ <LC_FORMAT ref="en_GB" replaceFrom="[CURRENCY]" replaceTo="[$D-9009]" />
+ <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>GMD</CurrencyID>
+ <CurrencySymbol>D</CurrencySymbol>
+ <BankSymbol>GMD</BankSymbol>
+ <CurrencyName>Dalasi</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 c7d4e2e6374e..a62fe94d0f30 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -69,6 +69,7 @@ static const struct {
{ "en_NA", lcl_DATA_EN },
{ "en_GH", lcl_DATA_EN },
{ "en_MW", lcl_DATA_EN },
+ { "en_GM", lcl_DATA_EN },
{ "es_ES", lcl_DATA_ES },
{ "es_AR", lcl_DATA_ES },