Resolves: tdf#126282 add English (Sri Lanka) [en-LK] locale data

Change-Id: I0a678a3599c43e5158c843d7781a0f55a3b03261
Reviewed-on: https://gerrit.libreoffice.org/76808
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
This commit is contained in:
Eike Rathke
2019-08-01 16:27:13 +02:00
parent bfa0a2ee27
commit fe511a5068
3 changed files with 52 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,localedata_en,\
CustomTarget/i18npool/localedata/localedata_en_GM \
CustomTarget/i18npool/localedata/localedata_en_IE \
CustomTarget/i18npool/localedata/localedata_en_JM \
CustomTarget/i18npool/localedata/localedata_en_LK \
CustomTarget/i18npool/localedata/localedata_en_MW \
CustomTarget/i18npool/localedata/localedata_en_NA \
CustomTarget/i18npool/localedata/localedata_en_NZ \

View File

@@ -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>LK</CountryID>
<DefaultName>Sri Lanka</DefaultName>
</Country>
</LC_INFO>
<LC_CTYPE ref="en_GB" />
<LC_FORMAT ref="en_GB" replaceFrom="[CURRENCY]" replaceTo="[$Rs-A409]" />
<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>LKR</CurrencyID>
<CurrencySymbol>Rs</CurrencySymbol>
<BankSymbol>LKR</BankSymbol>
<CurrencyName>Sri Lankan rupee</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>

View File

@@ -79,6 +79,7 @@ static const struct {
{ "en_GM", lcl_DATA_EN },
{ "en_BW", lcl_DATA_EN },
{ "en_ZM", lcl_DATA_EN },
{ "en_LK", lcl_DATA_EN },
{ "es_ES", lcl_DATA_ES },
{ "es_AR", lcl_DATA_ES },