summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-10-02 23:10:13 +0200
committerEike Rathke <erack@redhat.com>2014-10-07 20:01:50 +0000
commit99fa3b7df7c97b7adc97092baf3f147e165d8576 (patch)
treed1be88587ce87c7781b20e5ca95a67c4e7c98d04 /i18npool
parent1e09d294f443f015e51c601d1b02f19389fb90ac (diff)
fdo#83292 add stub locale data for Catalan (Valencian)
Change-Id: I569d203178668a2d63f4a53baca51ac16bf2361a Reviewed-on: https://gerrit.libreoffice.org/11776 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/Library_localedata_euro.mk1
-rw-r--r--i18npool/source/localedata/data/ca_ES_valencia.xml43
-rw-r--r--i18npool/source/localedata/localedata.cxx1
3 files changed, 45 insertions, 0 deletions
diff --git a/i18npool/Library_localedata_euro.mk b/i18npool/Library_localedata_euro.mk
index d19946655601..7150ba1faef3 100644
--- a/i18npool/Library_localedata_euro.mk
+++ b/i18npool/Library_localedata_euro.mk
@@ -22,6 +22,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,localedata_euro,\
CustomTarget/i18npool/localedata/localedata_br_FR \
CustomTarget/i18npool/localedata/localedata_bs_BA \
CustomTarget/i18npool/localedata/localedata_ca_ES \
+ CustomTarget/i18npool/localedata/localedata_ca_ES_valencia \
CustomTarget/i18npool/localedata/localedata_cs_CZ \
CustomTarget/i18npool/localedata/localedata_cv_RU \
CustomTarget/i18npool/localedata/localedata_cy_GB \
diff --git a/i18npool/source/localedata/data/ca_ES_valencia.xml b/i18npool/source/localedata/data/ca_ES_valencia.xml
new file mode 100644
index 000000000000..96a34c2e8f65
--- /dev/null
+++ b/i18npool/source/localedata/data/ca_ES_valencia.xml
@@ -0,0 +1,43 @@
+<?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>qlt</LangID>
+ <DefaultName>Catalan (Valencian)</DefaultName>
+ </Language>
+ <Country>
+ <CountryID>ES</CountryID>
+ <DefaultName>Spain</DefaultName>
+ </Country>
+ <Variant>ca-ES-valencia</Variant>
+ </LC_INFO>
+ <LC_CTYPE ref="ca_ES"/>
+ <LC_FORMAT ref="ca_ES" replaceFrom="[CURRENCY]" replaceTo="[$₧-803]"/>
+ <LC_COLLATION ref="ca_ES"/>
+ <LC_SEARCH ref="en_US"/>
+ <LC_INDEX ref="en_US"/>
+ <LC_CALENDAR ref="ca_ES"/>
+ <LC_CURRENCY ref="ca_ES"/>
+ <LC_TRANSLITERATION ref="en_US"/>
+ <LC_MISC ref="ca_ES"/>
+ <LC_NumberingLevel ref="en_US"/>
+ <LC_OutLineNumberingLevel ref="en_US"/>
+</Locale>
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index 944cc5f536ca..f223026aa17f 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -113,6 +113,7 @@ static const struct {
{ "sv_SE", lcl_DATA_EURO },
{ "sv_FI", lcl_DATA_EURO },
{ "ca_ES", lcl_DATA_EURO },
+ { "ca_ES_valencia", lcl_DATA_EURO },
{ "cs_CZ", lcl_DATA_EURO },
{ "sk_SK", lcl_DATA_EURO },
{ "da_DK", lcl_DATA_EURO },