[Libreoffice-commits] .: i18npool/source

Jesús Corrius jcorrius at kemper.freedesktop.org
Sun Jan 30 06:01:25 PST 2011


 i18npool/source/collator/data/ca_charset.txt    |    4 ++++
 i18npool/source/collator/data/collator_data.map |    1 +
 i18npool/source/localedata/data/ca_ES.xml       |    7 ++++++-
 3 files changed, 11 insertions(+), 1 deletion(-)

New commits:
commit affa15b894b66b3d12d00ab1ad3c567ade88800e
Author: Jesús Corrius <jesus at softcatala.org>
Date:   Sun Jan 30 15:00:14 2011 +0100

    Fix wrong collation for Catalan language

diff --git a/i18npool/source/collator/data/ca_charset.txt b/i18npool/source/collator/data/ca_charset.txt
new file mode 100755
index 0000000..1cd90a1
--- /dev/null
+++ b/i18npool/source/collator/data/ca_charset.txt
@@ -0,0 +1,4 @@
+#
+# Collation of Catalan letters
+#
+& L << ŀ = l· <<< Ŀ = L·
diff --git a/i18npool/source/collator/data/collator_data.map b/i18npool/source/collator/data/collator_data.map
index 412635f..86b874e 100644
--- a/i18npool/source/collator/data/collator_data.map
+++ b/i18npool/source/collator/data/collator_data.map
@@ -19,6 +19,7 @@ global:
     get_hu_charset;
     get_ln_charset;
     get_my_dictionary;
+    get_ca_charset;
 
 local:
     *;
diff --git a/i18npool/source/localedata/data/ca_ES.xml b/i18npool/source/localedata/data/ca_ES.xml
index 42fd55f..b73579a 100644
--- a/i18npool/source/localedata/data/ca_ES.xml
+++ b/i18npool/source/localedata/data/ca_ES.xml
@@ -176,7 +176,12 @@
       <FormatCode>DD/MM/YYYY HH:MM:SS</FormatCode>
     </FormatElement>
   </LC_FORMAT>
-  <LC_COLLATION ref="en_US" />
+  <LC_COLLATION>
+    <Collator unoid="charset" default="true"/>
+    <CollationOptions>
+      <TransliterationModules>IGNORE_CASE</TransliterationModules>
+    </CollationOptions>
+  </LC_COLLATION>
   <LC_SEARCH ref="en_US"/>
   <LC_INDEX ref="en_US"/>
   <LC_CALENDAR>


More information about the Libreoffice-commits mailing list