[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - i18npool/Library_localedata_euro.mk i18npool/source

Andras Timar andras.timar at collabora.com
Tue Oct 7 13:23:48 PDT 2014


 i18npool/Library_localedata_euro.mk                |    1 
 i18npool/source/localedata/data/ca_ES_valencia.xml |   43 +++++++++++++++++++++
 i18npool/source/localedata/localedata.cxx          |    1 
 3 files changed, 45 insertions(+)

New commits:
commit 3512b229b51a6536209702b3e2ac895d15c3b125
Author: Andras Timar <andras.timar at collabora.com>
Date:   Thu Oct 2 23:10:13 2014 +0200

    fdo#83292 add stub locale data for Catalan (Valencian)
    
    Change-Id: I569d203178668a2d63f4a53baca51ac16bf2361a
    Reviewed-on: https://gerrit.libreoffice.org/11776
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>
    (cherry picked from commit 99fa3b7df7c97b7adc97092baf3f147e165d8576)

diff --git a/i18npool/Library_localedata_euro.mk b/i18npool/Library_localedata_euro.mk
index d199466..7150ba1 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 0000000..96a34c2
--- /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 212b626..b3a8dea 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 },


More information about the Libreoffice-commits mailing list