[Libreoffice-commits] core.git: i18npool/Library_localedata_others.mk i18npool/source

Eike Rathke erack at redhat.com
Mon Nov 18 15:33:30 PST 2013


 i18npool/Library_localedata_others.mk     |    2 +
 i18npool/source/localedata/data/ar_AE.xml |   41 ++++++++++++++++++++++++++++++
 i18npool/source/localedata/data/ar_KW.xml |   41 ++++++++++++++++++++++++++++++
 i18npool/source/localedata/localedata.cxx |    2 +
 4 files changed, 86 insertions(+)

New commits:
commit a0c1d96aa48906b2ebb332f6190b4bcfe9e2a161
Author: Eike Rathke <erack at redhat.com>
Date:   Tue Nov 19 00:27:26 2013 +0100

    added [ar-AE] and [ar-KW] locale data referrers, fdo#71140
    
    for AED and KWD currencies, simply referring [ar-SA] in all other
    aspects
    
    Change-Id: I2ca19d1f7d2e807406bf207babe76cae967eea81

diff --git a/i18npool/Library_localedata_others.mk b/i18npool/Library_localedata_others.mk
index f71d8d4..d1878fe 100644
--- a/i18npool/Library_localedata_others.mk
+++ b/i18npool/Library_localedata_others.mk
@@ -19,8 +19,10 @@ $(eval $(call gb_Library_add_generated_exception_objects,localedata_others,\
 	CustomTarget/i18npool/localedata/localedata_af_ZA \
 	CustomTarget/i18npool/localedata/localedata_ak_GH \
 	CustomTarget/i18npool/localedata/localedata_am_ET \
+	CustomTarget/i18npool/localedata/localedata_ar_AE \
 	CustomTarget/i18npool/localedata/localedata_ar_DZ \
 	CustomTarget/i18npool/localedata/localedata_ar_EG \
+	CustomTarget/i18npool/localedata/localedata_ar_KW \
 	CustomTarget/i18npool/localedata/localedata_ar_LB \
 	CustomTarget/i18npool/localedata/localedata_ar_OM \
 	CustomTarget/i18npool/localedata/localedata_ar_SA \
diff --git a/i18npool/source/localedata/data/ar_AE.xml b/i18npool/source/localedata/data/ar_AE.xml
new file mode 100644
index 0000000..6327373
--- /dev/null
+++ b/i18npool/source/localedata/data/ar_AE.xml
@@ -0,0 +1,41 @@
+<?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/.
+ *
+-->
+<Locale versionDTD="2.0.3" allowUpdateFromCLDR="no" version="1.0">
+  <LC_INFO>
+    <Language>
+      <LangID>ar</LangID>
+      <DefaultName>Arabic</DefaultName>
+    </Language>
+    <Country>
+      <CountryID>AE</CountryID>
+      <DefaultName>United Arab Emirates</DefaultName>
+    </Country>
+  </LC_INFO>
+  <LC_CTYPE ref="ar_SA" />
+  <LC_FORMAT ref="ar_SA" replaceFrom="[CURRENCY]" replaceTo="[$د.إ‏-3801]"/>
+  <LC_COLLATION ref="ar_SA" />
+  <LC_SEARCH ref="ar_SA"/>
+  <LC_INDEX ref="ar_SA"/>
+  <LC_CALENDAR ref="ar_SA" />
+  <LC_CURRENCY>
+    <Currency default="true" usedInCompatibleFormatCodes="true">
+      <CurrencyID>AED</CurrencyID>
+      <CurrencySymbol>د.إ‏</CurrencySymbol>
+      <BankSymbol>AED</BankSymbol>
+      <CurrencyName>AED</CurrencyName>
+      <DecimalPlaces>2</DecimalPlaces>
+    </Currency>
+  </LC_CURRENCY>
+  <LC_TRANSLITERATION ref="ar_SA"/>
+  <LC_MISC ref="ar_SA"/>
+  <LC_NumberingLevel ref="ar_SA"/>
+  <LC_OutLineNumberingLevel ref="ar_SA"/>
+</Locale>
diff --git a/i18npool/source/localedata/data/ar_KW.xml b/i18npool/source/localedata/data/ar_KW.xml
new file mode 100644
index 0000000..f3b6969
--- /dev/null
+++ b/i18npool/source/localedata/data/ar_KW.xml
@@ -0,0 +1,41 @@
+<?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/.
+ *
+-->
+<Locale versionDTD="2.0.3" allowUpdateFromCLDR="no" version="1.0">
+  <LC_INFO>
+    <Language>
+      <LangID>ar</LangID>
+      <DefaultName>Arabic</DefaultName>
+    </Language>
+    <Country>
+      <CountryID>KW</CountryID>
+      <DefaultName>Kuwait</DefaultName>
+    </Country>
+  </LC_INFO>
+  <LC_CTYPE ref="ar_SA" />
+  <LC_FORMAT ref="ar_SA" replaceFrom="[CURRENCY]" replaceTo="[$د.ك‏-3801]"/>
+  <LC_COLLATION ref="ar_SA" />
+  <LC_SEARCH ref="ar_SA"/>
+  <LC_INDEX ref="ar_SA"/>
+  <LC_CALENDAR ref="ar_SA" />
+  <LC_CURRENCY>
+    <Currency default="true" usedInCompatibleFormatCodes="true">
+      <CurrencyID>KWD</CurrencyID>
+      <CurrencySymbol>د.ك‏</CurrencySymbol>
+      <BankSymbol>KWD</BankSymbol>
+      <CurrencyName>KWD</CurrencyName>
+      <DecimalPlaces>2</DecimalPlaces>
+    </Currency>
+  </LC_CURRENCY>
+  <LC_TRANSLITERATION ref="ar_SA"/>
+  <LC_MISC ref="ar_SA"/>
+  <LC_NumberingLevel ref="ar_SA"/>
+  <LC_OutLineNumberingLevel ref="ar_SA"/>
+</Locale>
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index 75edcf7..5171b3f 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -285,6 +285,8 @@ static const struct {
     { "sid_ET", lcl_DATA_OTHERS },
     { "bo_CN",  lcl_DATA_OTHERS },
     { "bo_IN",  lcl_DATA_OTHERS },
+    { "ar_AE",  lcl_DATA_OTHERS },
+    { "ar_KW",  lcl_DATA_OTHERS },
     { "bm_ML",  lcl_DATA_OTHERS }
 };
 


More information about the Libreoffice-commits mailing list