[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/genstaticheader.pl | 83 ++ 1 file changed, 83 insertions(+) New commits: commit 815cee8bd2d96b40b018f96cf3a9096c7691ed7b Author: Tor Lillqvist Date: Wed Apr 18 08:18:35 2012 +0300 Add the genstaticheader.pl script diff --git a/i18npool/source/localedata/genstaticheader.pl b/i18npool/source/localedata/genstaticheader.pl new file mode 100644 index 000..adba340 --- /dev/null +++ b/i18npool/source/localedata/genstaticheader.pl @@ -0,0 +1,83 @@ +#!/usr/bin/perl -w # -*- tab-width: 4; indent-tabs-mode: nil; + +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2012 Tor Lillqvist (initial developer) +# Copyright (C) 2012 SUSE Linux http://suse.com (initial developer's employer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable + +my @FUNCS = qw( +getAllCalendars +getAllCurrencies +getAllFormats0 +getBreakIteratorRules +getCollationOptions +getCollatorImplementation +getContinuousNumberingLevels +getDateAcceptancePatterns +getFollowPageWords +getForbiddenCharacters +getIndexAlgorithm +getLCInfo +getLocaleItem +getOutlineNumberingLevels +getReservedWords +getSearchOptions +getTransliterations +getUnicodeScripts +); + +print 'extern "C" { + +'; + +foreach my $lang (@ARGV) { +foreach my $func (@FUNCS) { + printf("void %s_%s();\n", $func, $lang); +} +} + +print ' +static const struct { +const char *pLocale; +'; +foreach my $func (@FUNCS) { +printf("void (*%s)();\n", $func); +} +print '} aLibTable[] = { +'; + +foreach my $lang (@ARGV) { +printf("{\n"); +printf("\"%s\",\n", $lang); +foreach my $func (@FUNCS) { + printf("%s_%s,\n", $func, $lang); +} +printf("}%s\n", ($lang ne $ARGV[$#ARGV]) ? ',' : ''); +} + +print '}; + +} +'; + +# vim:set shiftwidth=4 softtabstop=4 expandtab: ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/breakiterator/data/char.txt|1 - i18npool/source/breakiterator/data/char_in.txt |3 --- 2 files changed, 4 deletions(-) New commits: commit 0c08a84c04b166ab6479716e2c33cd444d7e3dbe Author: Arfrever Frehtes Taifersar Arahesis Date: Mon Apr 2 18:46:32 2012 +0200 Make ICU build with icu-49 by removing no-longer used variables. Signed-off-by: Tomas Chvatal diff --git a/i18npool/source/breakiterator/data/char.txt b/i18npool/source/breakiterator/data/char.txt index 8e49a56..acb932e 100644 --- a/i18npool/source/breakiterator/data/char.txt +++ b/i18npool/source/breakiterator/data/char.txt @@ -16,7 +16,6 @@ $CR = [\p{Grapheme_Cluster_Break = CR}]; $LF = [\p{Grapheme_Cluster_Break = LF}]; $Control = [\p{Grapheme_Cluster_Break = Control}]; -$Prepend = [\p{Grapheme_Cluster_Break = Prepend}]; $Extend = [\p{Grapheme_Cluster_Break = Extend}]; $SpacingMark = [\p{Grapheme_Cluster_Break = SpacingMark}]; # True Indic wants to move by syllables. Break up SpacingMark. This based on Unicode 6.0 data diff --git a/i18npool/source/breakiterator/data/char_in.txt b/i18npool/source/breakiterator/data/char_in.txt index 5e1ed67..5ad12a7 100644 --- a/i18npool/source/breakiterator/data/char_in.txt +++ b/i18npool/source/breakiterator/data/char_in.txt @@ -15,7 +15,6 @@ $CR = [\p{Grapheme_Cluster_Break = CR}]; $LF = [\p{Grapheme_Cluster_Break = LF}]; $Control = [\p{Grapheme_Cluster_Break = Control}]; -$Prepend = [\p{Grapheme_Cluster_Break = Prepend}]; $Extend = [\p{Grapheme_Cluster_Break = Extend}]; $SpacingMark = [\p{Grapheme_Cluster_Break = SpacingMark}]; $BengaliLetter = [\u0985-\u09B9 \u09CE \u09DC-\u09E1 \u09F0-\u09F1]; @@ -72,7 +71,6 @@ $L ($L | $V | $LV | $LVT); [^$Control $CR $LF] $Extend; [^$Control $CR $LF] $SpacingMark; -$Prepend [^$Control $CR $LF]; ## - @@ -94,7 +92,6 @@ $T ($LVT | $T); $Extend [^$Control $CR $LF]; $SpacingMark [^$Control $CR $LF]; -[^$Control $CR $LF] $Prepend; ## - ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/zh_TW.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit c7b319d2f1f1daef509cd1ac53035294b39a6299 Author: Cheng-Chia Tseng Date: Sun Mar 18 19:50:13 2012 +0100 resolved fdo#46947 duplicated date format [zh-TW] Use GG era abbreviation in one format instead of full GGG. diff --git a/i18npool/source/localedata/data/zh_TW.xml b/i18npool/source/localedata/data/zh_TW.xml index 15681f0..bd8c0c6 100644 --- a/i18npool/source/localedata/data/zh_TW.xml +++ b/i18npool/source/localedata/data/zh_TW.xml @@ -112,7 +112,7 @@ "å¹´"M"æ"D"æ¥" - GGGEE"å¹´"M"æ"D"æ¥" + GGEE"å¹´"M"æ"D"æ¥" GGGEE"å¹´"M"æ"D"æ¥" ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/bn_IN.xml |9 - i18npool/source/localedata/data/en_IN.xml |9 - i18npool/source/localedata/data/hi_IN.xml |9 - i18npool/source/localedata/data/kn_IN.xml |9 - i18npool/source/localedata/data/mai_IN.xml |9 - i18npool/source/localedata/data/ml_IN.xml |9 - i18npool/source/localedata/data/mr_IN.xml |2 +- i18npool/source/localedata/data/or_IN.xml |9 - i18npool/source/localedata/data/pa_IN.xml |9 - i18npool/source/localedata/data/ta_IN.xml |9 - i18npool/source/localedata/data/te_IN.xml |9 - 11 files changed, 81 insertions(+), 11 deletions(-) New commits: commit 894502df745d1d3ee0e7acfe2e5d43fc443e788e Author: Eike Rathke Date: Fri Feb 17 13:04:45 2012 +0100 resolved rhbz#794679 use proper Indian Rupee currency symbol U+20B9 diff --git a/i18npool/source/localedata/data/bn_IN.xml b/i18npool/source/localedata/data/bn_IN.xml index f93adf3..4214b38 100644 --- a/i18npool/source/localedata/data/bn_IN.xml +++ b/i18npool/source/localedata/data/bn_IN.xml @@ -34,7 +34,7 @@ ঠপরাহà§à¦£ metric - + Standard @@ -307,6 +307,13 @@ INR + â¹ + INR + Rupee + 2 + + + INR ৳ INR Rupee diff --git a/i18npool/source/localedata/data/en_IN.xml b/i18npool/source/localedata/data/en_IN.xml index 9c404f5..c802f64 100644 --- a/i18npool/source/localedata/data/en_IN.xml +++ b/i18npool/source/localedata/data/en_IN.xml @@ -12,7 +12,7 @@ - + @@ -30,6 +30,13 @@ INR + â¹ + INR + Rupee + 2 + + + INR Rs. INR Indian Rupee diff --git a/i18npool/source/localedata/data/hi_IN.xml b/i18npool/source/localedata/data/hi_IN.xml index da64b17..643a6bb 100644 --- a/i18npool/source/localedata/data/hi_IN.xml +++ b/i18npool/source/localedata/data/hi_IN.xml @@ -34,7 +34,7 @@ PM Metric - + D-M-YY @@ -305,6 +305,13 @@ INR + â¹ + INR + Rupee + 2 + + + INR रà¥. INR Rupee diff --git a/i18npool/source/localedata/data/kn_IN.xml b/i18npool/source/localedata/data/kn_IN.xml index f93f904..d262fae 100644 --- a/i18npool/source/localedata/data/kn_IN.xml +++ b/i18npool/source/localedata/data/kn_IN.xml @@ -12,7 +12,7 @@ - + @@ -138,6 +138,13 @@ INR + â¹ + INR + Rupee + 2 + + + INR ರà³. INR Rupee diff --git a/i18npool/source/localedata/data/mai_IN.xml b/i18npool/source/localedata/data/mai_IN.xml index 56d9c4e..019146c 100644 --- a/i18npool/source/localedata/data/mai_IN.xml +++ b/i18npool/source/localedata/data/mai_IN.xml @@ -34,7 +34,7 @@ ठपराहà¥à¤¨ metric - + General @@ -314,6 +314,13 @@ INR + â¹ + INR + Rupee + 2 + + + INR रà¥. INR रà¥à¤ªà¤¯à¤¾ diff --git a/i18npool/source/localedata/data/ml_IN.xml b/i18npool/source/localedata/data/ml_IN.xml index 2bf4986..6a61015 100644 --- a/i18npool/source/localedata/data/ml_IN.xml +++ b/i18npool/source/localedata/data/ml_IN.xml @@ -34,7 +34,7 @@ PM metric - + Standard @@ -305,6 +305,13 @@ INR + â¹ + INR + Rupee + 2 + + + INR à´. INR Rupee diff --git a/i18npool/source/localedata/data/mr_IN.xml b/i18npool/source/localedata/data/mr_IN.xml index 7f2643c..c02f9d7 100644 --- a/i18npool/source/localedata/data/mr_IN.xml +++ b/i18npool/source/localedata/data/mr_IN.xml @@ -12,7 +12,7 @@ - + diff --git a/i18npool/source/localedata/data/or_IN.xml b/i18npool/source/localedata/data/or_IN.xml index 13af362..7a49b3f 100644 --- a/i18npool/source/localedata/data/or_IN.xml +++ b/i18npool/source/localedata/data/or_IN.xml @@ -34,7 +34,7 @@ ଠପରାହàନ metric - + General @@ -314,6 +314,13 @@ INR + â¹ + INR + Rupee + 2 + + + INR ଠINR Indian Rupee diff --git a/i18npool/source/localedata/data/pa_IN.xml b/i18npool/source/localedata/data/pa_IN.xml index 8ca9444..a414fd9 100644 --- a/i18npool/source/localedata/data/pa_IN.xml +++ b/i18npool/source/localedata/data/pa_IN.xml @@ -34,7 +34,7 @@ ਸ਼ਾਮ metric - + @@ -160,6 +160,13 @@ INR + â¹ + INR + Rupee + 2 + + + INR ਰà©. INR Rupee diff --git a/i18npool/source/localedata/data/ta_IN.xml b/i18npool/source/localedata/data/ta_IN.xml index 27bcd28..d268e6b 100644 --- a/i18npool/source/localedata/data/ta_IN.xml +++ b/i18np
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/et_EE.xml |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit ec7ed71cd3f6130268bae2ffba5a6c69ebed20b6 Author: Eike Rathke Date: Tue Feb 14 20:06:28 2012 +0100 changed [et-EE] single quotation marks to be such diff --git a/i18npool/source/localedata/data/et_EE.xml b/i18npool/source/localedata/data/et_EE.xml index ce5deee..4942bfc 100644 --- a/i18npool/source/localedata/data/et_EE.xml +++ b/i18npool/source/localedata/data/et_EE.xml @@ -25,8 +25,8 @@ - â - â + â + â â â ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/fr_CH.xml |2 ++ 1 file changed, 2 insertions(+) New commits: commit 5930f866b649db40e6ddfd5004d4133ccbb0ede0 Author: Eike Rathke Date: Tue Feb 14 19:43:45 2012 +0100 added [fr-CH] date acceptance patterns "D/M" and "D.M." diff --git a/i18npool/source/localedata/data/fr_CH.xml b/i18npool/source/localedata/data/fr_CH.xml index d60fab3..13ea410 100644 --- a/i18npool/source/localedata/data/fr_CH.xml +++ b/i18npool/source/localedata/data/fr_CH.xml @@ -38,6 +38,8 @@ metric +D/M +D.M. Standard ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/br_FR.xml |1 + 1 file changed, 1 insertion(+) New commits: commit 91e9cdd32943de6d3075a26e468bba11fa60bdee Author: Eike Rathke Date: Fri Jan 27 17:10:18 2012 +0100 added [br-FR] date acceptance pattern "D/M" diff --git a/i18npool/source/localedata/data/br_FR.xml b/i18npool/source/localedata/data/br_FR.xml index 157202b..b6098f4 100644 --- a/i18npool/source/localedata/data/br_FR.xml +++ b/i18npool/source/localedata/data/br_FR.xml @@ -35,6 +35,7 @@ metric +D/M Skoueriek ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/et_EE.xml |4 1 file changed, 4 insertions(+) New commits: commit e6870cf32d7e95aca07f260b9cc9965da3299cce Author: Eike Rathke Date: Fri Jan 27 17:01:01 2012 +0100 added [et-EE] date acceptance patterns "D.M", "D.M." and with spaces diff --git a/i18npool/source/localedata/data/et_EE.xml b/i18npool/source/localedata/data/et_EE.xml index 02516cf..ce5deee 100644 --- a/i18npool/source/localedata/data/et_EE.xml +++ b/i18npool/source/localedata/data/et_EE.xml @@ -35,6 +35,10 @@ metric +D.M +D. M +D.M. +D. M. General ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/tr_TR.xml |3 +++ 1 file changed, 3 insertions(+) New commits: commit 2d8a5940a0369127602fcc6144e9c31aae4917bd Author: Eike Rathke Date: Mon Jan 23 17:50:23 2012 +0100 added [tr-TR] date acceptance patterns "D.M" "D/M" "D-M" diff --git a/i18npool/source/localedata/data/tr_TR.xml b/i18npool/source/localedata/data/tr_TR.xml index 945afbe..ca2d1ab 100644 --- a/i18npool/source/localedata/data/tr_TR.xml +++ b/i18npool/source/localedata/data/tr_TR.xml @@ -35,6 +35,9 @@ metric +D.M +D/M +D-M Standard ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/fi_FI.xml |1 + 1 file changed, 1 insertion(+) New commits: commit 49e685663146b9ad59a47cfaf9cf499fc6a6b937 Author: Eike Rathke Date: Mon Jan 23 17:43:01 2012 +0100 added [fi-FI] date acceptance pattern "D.M." diff --git a/i18npool/source/localedata/data/fi_FI.xml b/i18npool/source/localedata/data/fi_FI.xml index f666ff6..7e4f5dc 100644 --- a/i18npool/source/localedata/data/fi_FI.xml +++ b/i18npool/source/localedata/data/fi_FI.xml @@ -35,6 +35,7 @@ metric +D.M. Yleinen ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/locale.dtd | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) New commits: commit b247f7691e0498355afcbcc4b60b5e9fdd28d867 Author: Eike Rathke Date: Mon Jan 23 16:59:35 2012 +0100 added description of time edit format diff --git a/i18npool/source/localedata/data/locale.dtd b/i18npool/source/localedata/data/locale.dtd index 1d79039..6b88bbe 100644 --- a/i18npool/source/localedata/data/locale.dtd +++ b/i18npool/source/localedata/data/locale.dtd @@ -243,16 +243,18 @@ data. The requirements are the same as for formatindex="21" above. Of usage="TIME": -formatindices 43, 44, 45 are special in the sense that they are -programmatically used to automatically display values that meet certain -criteria: -Formatindex="43" contains the [HH] format code that displays hour -values greater than or equal to 24 (as opposed to a simple HH that -displays modulo 24). -Formatindex="44" uses no hour code but 100th seconds and the -Time100SecSeparator. -Formatindex="45" uses both [HH] hour code and 100th seconds to be able -to edit such time values without loosing information. +* The FormatElement with default="true" type="medium" is used to edit + times and thus must contain all HH and MM and SS codes, e.g. HH:MM:SS +* Formatindices 43, 44, 45 are special in the sense that they are + programmatically used to automatically display values that meet + certain criteria: + * Formatindex="43" contains the [HH] format code that displays hour +values greater than or equal to 24 (as opposed to a simple HH that +displays modulo 24). + * Formatindex="44" uses no hour code but 100th seconds and the +Time100SecSeparator. + * Formatindex="45" uses both [HH] hour code and 100th seconds to be +able to edit such time values without loosing information. Of usage="CURRENCY": formatindices 12, 13, 14, 15, 17 with [$xxx-yyy] notation must use the ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/sk_SK.xml | 194 -- 1 file changed, 133 insertions(+), 61 deletions(-) New commits: commit 3cf7dcdde2e7a115405c93e4f63580437c8ab744 Author: Milos Sramek Date: Fri Jan 20 13:39:41 2012 +0100 updated [sk-SK] formats and month names diff --git a/i18npool/source/localedata/data/sk_SK.xml b/i18npool/source/localedata/data/sk_SK.xml index db04531..c3e31f3 100644 --- a/i18npool/source/localedata/data/sk_SK.xml +++ b/i18npool/source/localedata/data/sk_SK.xml @@ -38,68 +38,78 @@ Metric - - D.M.YY - - - NN, DD. MMM YY - - - MM YY - - - MMM DD - - - - - - QQ YY +D.M. +D. M. +D. M. Y +D. M. +D. M. Y + + D. M. + + + DD. + + + DD.MM. + Podľa STN 01 6910 - + DD.MM. + Podľa STN 01 6910 - - DD.MM.YY + + D. MMM. YY - - DD. + + D. MMM. - - MMM D. YY + + D. MMM. - - MMM D. + + D. + Podľa STN 01 6910 - - D. + + D. + Podľa STN 01 6910 - - NN, MMM D. YY + + NN, D. MMM. YY - - NN, D. + + NN, DD. MMM. YY - - D. + + NN, D. - - D. MMM + + D. - - D. - - + MM-DD - + YY-MM-DD + Podľa STN 01 6910 - + -MM-DD - ISO 8601 + Podľa ISO 8601, EN 2860, STN 01 6910 + + + MM. YY + + + DD. MMM. - + + + + + QQ YY + + WW @@ -230,75 +240,137 @@ jan - január + I + január + + + feb + II + február + + + mar + III + marec + + + apr + IV + aprÃl + + + may + V + máj + + + jun + VI + jún + + + jul + VII + júl + + + aug + VIII + august + + + sep + IX + september + + + oct + X + október + + + nov + XI + november + + + dec + XII + december + + + + + jan + I januára feb - február + II februára mar - marec + III marca apr - aprÃl + IV aprÃla may - máj + V mája jun - jún + VI júna jul - júl + VII júla aug - august + VIII augusta sep - september + IX septembra oct - október + X októbra nov - november + XI novembra dec - december + XII decembra - + bc - pred kr. - pred kristom + pred n. l. + pred naÅ¡Ãm letopoÄtom ad - po kr. - po kristovi + n. l. + nášho letopoÄtu ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/be_BY.xml |2 ++ 1 file changed, 2 insertions(+) New commits: commit 09c1d111208619197fa851b21ff24bd261a93b15 Author: Eike Rathke Date: Thu Jan 19 22:37:53 2012 +0100 added [be-BY] date acceptance patterns "D.M." and "D/M/" diff --git a/i18npool/source/localedata/data/be_BY.xml b/i18npool/source/localedata/data/be_BY.xml index a020dcc..6d1bc97 100644 --- a/i18npool/source/localedata/data/be_BY.xml +++ b/i18npool/source/localedata/data/be_BY.xml @@ -35,6 +35,8 @@ Metric +D/M/ +D.M. Standard ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/zh_CN.xml |7 +++ 1 file changed, 7 insertions(+) New commits: commit 605707652afebf0e5c90311adcc7767ebe807e45 Author: Eike Rathke Date: Tue Jan 17 15:41:10 2012 +0100 added [zh-CN] date acceptance patterns (various) diff --git a/i18npool/source/localedata/data/zh_CN.xml b/i18npool/source/localedata/data/zh_CN.xml index 8c71d19..76e1509 100644 --- a/i18npool/source/localedata/data/zh_CN.xml +++ b/i18npool/source/localedata/data/zh_CN.xml @@ -35,6 +35,13 @@ metric +M-D +M/D +Mï¼D +Y.M.D +Y/M/D +Yå¹´MæDæ¥ +MæDæ¥ General ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/ru_RU.xml |2 ++ 1 file changed, 2 insertions(+) New commits: commit 054b910f72de25e085f1fd54e37118503cd5a527 Author: Eike Rathke Date: Tue Jan 17 15:20:46 2012 +0100 added [ru-RU] date acceptance patterns "D.M." and "D/M/" diff --git a/i18npool/source/localedata/data/ru_RU.xml b/i18npool/source/localedata/data/ru_RU.xml index 285de73..9ee1641 100644 --- a/i18npool/source/localedata/data/ru_RU.xml +++ b/i18npool/source/localedata/data/ru_RU.xml @@ -35,6 +35,8 @@ metric +D.M. +D/M/ Standard ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/is_IS.xml |2 ++ 1 file changed, 2 insertions(+) New commits: commit 3cc4917c2df89d427ea9ae3fdba9e8a5c9df6371 Author: Eike Rathke Date: Tue Jan 17 15:12:55 2012 +0100 added [is-IS] date acceptance patterns "D.M." and "D/M/" diff --git a/i18npool/source/localedata/data/is_IS.xml b/i18npool/source/localedata/data/is_IS.xml index 7536b2c..de793b3 100644 --- a/i18npool/source/localedata/data/is_IS.xml +++ b/i18npool/source/localedata/data/is_IS.xml @@ -35,6 +35,8 @@ metric +D/M/ +D.M. Standard ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/lt_LT.xml |1 + 1 file changed, 1 insertion(+) New commits: commit 87b12c42717a3488cc179d07cf42ace2335aced4 Author: Eike Rathke Date: Tue Jan 17 14:38:16 2012 +0100 added [glt-LT] date acceptance pattern "M-D" diff --git a/i18npool/source/localedata/data/lt_LT.xml b/i18npool/source/localedata/data/lt_LT.xml index 1e7d5e3..15adb38 100644 --- a/i18npool/source/localedata/data/lt_LT.xml +++ b/i18npool/source/localedata/data/lt_LT.xml @@ -38,6 +38,7 @@ metric +M-D Bendras ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/gd_GB.xml |2 ++ 1 file changed, 2 insertions(+) New commits: commit 197c0ef041fb92ba08d6440258e59485c81214a2 Author: Eike Rathke Date: Tue Jan 17 14:34:31 2012 +0100 added [gd-GB] date acceptance patterns "D/M" and "D-M" diff --git a/i18npool/source/localedata/data/gd_GB.xml b/i18npool/source/localedata/data/gd_GB.xml index fadc235..0359f25 100644 --- a/i18npool/source/localedata/data/gd_GB.xml +++ b/i18npool/source/localedata/data/gd_GB.xml @@ -35,6 +35,8 @@ Metric +D/M +D-M General ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/ca_ES.xml |1 + 1 file changed, 1 insertion(+) New commits: commit e532fc14d3804d7e812de4fb083e082b48300ed7 Author: Jesús Corrius Date: Tue Jan 17 13:59:09 2012 +0100 added [ca-ES] date acceptance pattern D/M diff --git a/i18npool/source/localedata/data/ca_ES.xml b/i18npool/source/localedata/data/ca_ES.xml index 94f040c..8d35406 100644 --- a/i18npool/source/localedata/data/ca_ES.xml +++ b/i18npool/source/localedata/data/ca_ES.xml @@ -35,6 +35,7 @@ metric +D/M Standard ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/cs_CZ.xml | 89 ++ 1 file changed, 78 insertions(+), 11 deletions(-) New commits: commit 2955fc0c3ef3c15b5fdad43969402503ed439336 Author: Da'angh Khagaroth Date: Mon Jan 16 17:13:52 2012 +0100 DateAcceptancePattern and PartitiveMonths for Czech language diff --git a/i18npool/source/localedata/data/cs_CZ.xml b/i18npool/source/localedata/data/cs_CZ.xml index 0c78160..5dd47e7 100644 --- a/i18npool/source/localedata/data/cs_CZ.xml +++ b/i18npool/source/localedata/data/cs_CZ.xml @@ -35,26 +35,31 @@ Metric +D.M. +D. M. +D. M. Y +D. M. +D. M. Y - D.M. + D. M. DD. - D.M. + DD.MM. - D.M. + DD.MM. - D. MMM YY + D. MMM. YY - D. MMM + D. MMM. - D. MMM + D. MMM. D. @@ -63,10 +68,10 @@ D. - NN, D. MMM YY + NN, D. MMM. YY - NN, DD. MMM YY + NN, DD. MMM. YY NN, D. @@ -75,7 +80,7 @@ D. - DD-MM + MM-DD YY-MM-DD @@ -85,10 +90,10 @@ ISO 8601 (EN 28601) - MM YY + MM. YY - MMM DD + DD. MMM. @@ -286,6 +291,68 @@ prosinec + + + jan + I + ledna + + + feb + II + února + + + mar + III + bÅezna + + + apr + IV + dubna + + + may + V + kvÄtna + + + jun + VI + Äervna + + + jul + VII + Äervence + + + aug + VIII + srpna + + + sep + IX + záÅà + + + oct + X + ÅÃjna + + + nov + XI + listopadu + + + dec + XII + prosince + + bc ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/pt_PT.xml |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 12eb7da661635a64272e32204f246d0a5c299ccd Author: Eike Rathke Date: Fri Jan 13 22:56:56 2012 +0100 changed [pt-PT] default date format to DD-MM- (was DD-MM-AA) diff --git a/i18npool/source/localedata/data/pt_PT.xml b/i18npool/source/localedata/data/pt_PT.xml index 31cfe04..ee4a982 100644 --- a/i18npool/source/localedata/data/pt_PT.xml +++ b/i18npool/source/localedata/data/pt_PT.xml @@ -54,10 +54,10 @@ QQ "de" AA - + DD-MM- - + DD-MM-AA ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/ko_KR.xml |4 ++-- i18npool/source/localedata/data/ne_NP.xml |2 +- i18npool/source/localedata/data/zh_HK.xml |2 +- i18npool/source/localedata/data/zh_TW.xml |2 +- 4 files changed, 5 insertions(+), 5 deletions(-) New commits: commit e6a32a0d45fe4f6ad748123c6129310b0ae471b4 Author: Eike Rathke Date: Thu Jan 12 00:07:45 2012 +0100 removed leading/trailing blank from FormatCode diff --git a/i18npool/source/localedata/data/ko_KR.xml b/i18npool/source/localedata/data/ko_KR.xml index 932bd91..5654b71 100644 --- a/i18npool/source/localedata/data/ko_KR.xml +++ b/i18npool/source/localedata/data/ko_KR.xml @@ -117,7 +117,7 @@ [~hanja]YY"å¹´" M"æ" D"æ¥" - [~hanja]"å¹´" M"æ" D"æ¥" + [~hanja]"å¹´" M"æ" D"æ¥" YY-M-D @@ -181,7 +181,7 @@ YY/M/D - /M/D + /M/D YY/M diff --git a/i18npool/source/localedata/data/ne_NP.xml b/i18npool/source/localedata/data/ne_NP.xml index 5826e7c..b652369 100644 --- a/i18npool/source/localedata/data/ne_NP.xml +++ b/i18npool/source/localedata/data/ne_NP.xml @@ -78,7 +78,7 @@ [NatNum1][CURRENCY] #,##0.00;[RED]-[CURRENCY] #,##0.00 - [NatNum1]CCC #,##0.00 + [NatNum1]CCC #,##0.00 [NatNum1][CURRENCY] #,##0.--;[RED]-[CURRENCY] #,##0.-- diff --git a/i18npool/source/localedata/data/zh_HK.xml b/i18npool/source/localedata/data/zh_HK.xml index 4bed867..891e626 100644 --- a/i18npool/source/localedata/data/zh_HK.xml +++ b/i18npool/source/localedata/data/zh_HK.xml @@ -142,7 +142,7 @@ AM/PM HH:MM - AM/PM HH:MM:SS + AM/PM HH:MM:SS [HH]:MM:SS diff --git a/i18npool/source/localedata/data/zh_TW.xml b/i18npool/source/localedata/data/zh_TW.xml index aa068e1..89ecdd9 100644 --- a/i18npool/source/localedata/data/zh_TW.xml +++ b/i18npool/source/localedata/data/zh_TW.xml @@ -163,7 +163,7 @@ AM/PM HH:MM - AM/PM HH:MM:SS + AM/PM HH:MM:SS [HH]:MM:SS ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/ar_DZ.xml |5 - i18npool/source/localedata/data/ar_EG.xml |5 - i18npool/source/localedata/data/ja_JP.xml |8 ++-- i18npool/source/localedata/data/ko_KR.xml |3 ++- i18npool/source/localedata/data/locale.dtd |3 +-- i18npool/source/localedata/data/mk_MK.xml |2 +- i18npool/source/localedata/data/zh_HK.xml |4 ++-- i18npool/source/localedata/data/zh_MO.xml |8 ++-- i18npool/source/localedata/data/zh_TW.xml |4 ++-- 9 files changed, 28 insertions(+), 14 deletions(-) New commits: commit d2c865b887c6b771ca2d0c804bf4e358e605a571 Author: Eike Rathke Date: Wed Jan 11 22:14:23 2012 +0100 made formatindex="33" the ISO 8601 -MM-DD that it needs to be diff --git a/i18npool/source/localedata/data/ar_DZ.xml b/i18npool/source/localedata/data/ar_DZ.xml index 68cf3ed..a9feabe 100644 --- a/i18npool/source/localedata/data/ar_DZ.xml +++ b/i18npool/source/localedata/data/ar_DZ.xml @@ -130,7 +130,7 @@ ISO 8601 - [NatNum1]/MM/DD + -MM-DD ISO 8601 @@ -181,6 +181,9 @@ [NatNum1]AM/PMHH:MM /MM/D + + [NatNum1]/MM/DD + diff --git a/i18npool/source/localedata/data/ar_EG.xml b/i18npool/source/localedata/data/ar_EG.xml index bc3341d..b99a02d 100644 --- a/i18npool/source/localedata/data/ar_EG.xml +++ b/i18npool/source/localedata/data/ar_EG.xml @@ -130,7 +130,7 @@ ISO 8601 - [NatNum1]/MM/DD + -MM-DD ISO 8601 @@ -181,6 +181,9 @@ [NatNum1]AM/PMHH:MM /MM/D + + [NatNum1]/MM/DD + diff --git a/i18npool/source/localedata/data/ja_JP.xml b/i18npool/source/localedata/data/ja_JP.xml index d09dd53..54c42a2 100644 --- a/i18npool/source/localedata/data/ja_JP.xml +++ b/i18npool/source/localedata/data/ja_JP.xml @@ -129,7 +129,8 @@ GE.M.D - GE.MM.DD + -MM-DD + ISO 8601 YY/MM @@ -170,7 +171,7 @@ HæMMå - + HæMMåSSç§ @@ -179,6 +180,9 @@ /M/D H:MM + + GE.MM.DD + diff --git a/i18npool/source/localedata/data/ko_KR.xml b/i18npool/source/localedata/data/ko_KR.xml index 7762c6d..932bd91 100644 --- a/i18npool/source/localedata/data/ko_KR.xml +++ b/i18npool/source/localedata/data/ko_KR.xml @@ -129,7 +129,8 @@ YY-M-D - YY"ë " M"ì" + -MM-DD + ISO 8601 M"æ" D"æ¥" diff --git a/i18npool/source/localedata/data/locale.dtd b/i18npool/source/localedata/data/locale.dtd index ae4cec5..1d79039 100644 --- a/i18npool/source/localedata/data/locale.dtd +++ b/i18npool/source/localedata/data/locale.dtd @@ -236,8 +236,7 @@ TODO: Future versions should make use of an edit="true" attribute instead of relying on this special requirement. -Formatindices 32 and 33 are always used for ISO 8601 YY-MM-DD -respectively -MM-DD format codes. +formatindex="33" must be ISO 8601 -MM-DD format code. Of usage="DATE_TIME": formatindex="47" is used to edit already existing combined date/time diff --git a/i18npool/source/localedata/data/mk_MK.xml b/i18npool/source/localedata/data/mk_MK.xml index 10e488e..10d6b6e 100644 --- a/i18npool/source/localedata/data/mk_MK.xml +++ b/i18npool/source/localedata/data/mk_MK.xml @@ -130,7 +130,7 @@ ISO 8601 - DD.MM. + -MM-DD ISO 8601 diff --git a/i18npool/source/localedata/data/zh_HK.xml b/i18npool/source/localedata/data/zh_HK.xml index da50942..aa6d763 100644 --- a/i18npool/source/localedata/data/zh_HK.xml +++ b/i18npool/source/localedata/data/zh_HK.xml @@ -144,8 +144,8 @@ -"å¹´"M"æ"D"æ¥" - +-MM-DD +ISO 8601 /YY diff --git a/i18npool/source/localedata/data/zh_MO.xml b/i18npool/source/localedata/data/zh_MO.xml index ae768a1..bc90760 100644 --- a/i18npool/source/localedata/data/zh_MO.xml +++ b/i18npool/source/localedata/data/zh_MO.xml @@ -143,8 +143,8 @@ -D-M- - +-MM-DD +ISO 8601 MM/YY @@ -236,6 +236,10 @@ YY"å¹´"M"æ"D"æ¥" HH"æ"MM"å"SS"ç§" + +D-M- + + diff --git a/i18npool/source/localedata/data/zh_TW.xml b/i18npool/source/localedata/data/zh_TW.xml index 3d99713..94eeb8f 100644 --- a/i18npool/source/localedata/data/zh_TW.xml +++ b/i18npool/source/localedata/data/zh_TW.xml @@ -165,8 +165,8 @@ -GGGEE"å¹´"M"æ"D"æ¥" - +-MM-DD +ISO 8601 YY/M ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/LocaleNode.cxx | 68 ++ 1 file changed, 60 insertions(+), 8 deletions(-) New commits: commit 317bbb5e8fdb76af73dff509afb00b4063150e11 Author: Eike Rathke Date: Wed Jan 11 20:18:46 2012 +0100 generalized the [hu-HU] case to generate a second pattern For known separators '-' '.' '/' in the edit format code if they differ from the defined DateSeparator generate a second date acceptance pattern that uses the format code's separator, additionally to the one with DateSeparator. diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index f2e8c45..6938e9e 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -995,8 +995,10 @@ void LCFormatNode::generateCode (const OFileWriter &of) const // aDateSep can be empty if LC_CTYPE was a ref=..., determine from // FormatCode then. sal_uInt32 cDateSep = (aDateSep.isEmpty() ? 0 : aDateSep.iterateCodePoints( &nIndex)); +sal_uInt32 cDateSep2 = cDateSep; nIndex = 0; OUStringBuffer aPatternBuf(5); +OUStringBuffer aPatternBuf2(5); sal_uInt8 nDetected = 0;// bits Y,M,D bool bInModifier = false; bool bQuoted = false; @@ -1022,6 +1024,8 @@ void LCFormatNode::generateCode (const OFileWriter &of) const if (!(nDetected & 4)) { aPatternBuf.append( 'Y'); +if (aPatternBuf2.getLength() > 0) +aPatternBuf2.append( 'Y'); nDetected |= 4; } break; @@ -1030,6 +1034,8 @@ void LCFormatNode::generateCode (const OFileWriter &of) const if (!(nDetected & 2)) { aPatternBuf.append( 'M'); +if (aPatternBuf2.getLength() > 0) +aPatternBuf2.append( 'M'); nDetected |= 2; } break; @@ -1038,6 +1044,8 @@ void LCFormatNode::generateCode (const OFileWriter &of) const if (!(nDetected & 1)) { aPatternBuf.append( 'D'); +if (aPatternBuf2.getLength() > 0) +aPatternBuf2.append( 'D'); nDetected |= 1; } break; @@ -1051,17 +1059,27 @@ void LCFormatNode::generateCode (const OFileWriter &of) const cChar = sTheDateEditFormat.iterateCodePoints( &nIndex); break; case '-': -// Assume a -MM-DD format or some such. There are -// locales that use an ISO 8601 edit format regardless of -// what the locale data and other formats say, for example -// hu_HU. -cDateSep = cChar; +case '.': +case '/': +// There are locales that use an ISO 8601 edit format +// regardless of what the date separator or other formats +// say, for example hu-HU. Generalize this for all cases +// where the used separator differs and is one of the known +// separators and generate a second pattern with the +// format's separator at the current position. +cDateSep2 = cChar; // fallthru default: if (!cDateSep) cDateSep = cChar; -if (cChar == cDateSep) -aPatternBuf.append( OUString( &cDateSep, 1)); +if (!cDateSep2) +cDateSep2 = cChar; +if (cDateSep != cDateSep2 && aPatternBuf2.getLength() == 0) +aPatternBuf2 = aPatternBuf; +if (cChar == cDateSep || cChar == cDateSep2) +aPatternBuf.append( OUString( &cDateSep, 1)); // always the defined separator +if (cChar == cDateSep2 && aPatternBuf2.getLength() > 0) +aPatternBuf2.append( OUString( &cDateSep2, 1)); // always the format's separator break; // The localized legacy: case 'A': @@ -1072,6 +1090,8 @@ void LCFormatNode::generateCode (const OFileWriter &of) const // it GG/MM/ // fr_CA -MM-JJ aPatternBuf.append( 'Y'); +if (aPatternBuf2.getLength() > 0) +aPatternBuf2.append( 'Y'); nDetected |= 4; } break; @@ -1081,6
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/pl_PL.xml | 16 1 file changed, 8 insertions(+), 8 deletions(-) New commits: commit 865c12c795060b912eae8646dd84f766dd04c866 Author: Mateusz Zasuwik Date: Tue Jan 3 18:50:31 2012 +0100 corrected abbreviated day names and a long date format diff --git a/i18npool/source/localedata/data/pl_PL.xml b/i18npool/source/localedata/data/pl_PL.xml index 2ed2ea6..818311b 100644 --- a/i18npool/source/localedata/data/pl_PL.xml +++ b/i18npool/source/localedata/data/pl_PL.xml @@ -108,7 +108,7 @@ D - D + D "r." NN, D MMM YY @@ -194,37 +194,37 @@ sun - N + niedz. niedziela mon - Pn + pon. poniedziaÅek tue - Wt + wt. wtorek wed - År + År. Åroda thu - Cz + czw. czwartek fri - Pt + pt. piÄ tek sat - So + sob. sobota ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source idlc/source idl/source io/source javaunohelper/source jvmaccess/source
i18npool/source/breakiterator/breakiteratorImpl.cxx |4 i18npool/source/breakiterator/breakiterator_unicode.cxx |2 i18npool/source/collator/collator_unicode.cxx |2 i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx |2 i18npool/source/indexentry/indexentrysupplier.cxx |4 i18npool/source/indexentry/indexentrysupplier_asian.cxx |2 i18npool/source/indexentry/indexentrysupplier_common.cxx |2 i18npool/source/indexentry/indexentrysupplier_default.cxx |8 - i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx |2 i18npool/source/isolang/isolang.cxx | 12 +- i18npool/source/isolang/mslangid.cxx |8 - i18npool/source/localedata/LocaleNode.cxx | 54 +- i18npool/source/localedata/localedata.cxx |2 i18npool/source/paper/paper.cxx |8 - i18npool/source/search/textsearch.cxx |2 i18npool/source/transliteration/transliteration_Ignore.cxx|4 i18npool/source/transliteration/transliteration_body.cxx |2 idl/source/prj/database.cxx |4 idl/source/prj/svidl.cxx |4 idlc/source/astdeclaration.cxx|4 idlc/source/astdump.cxx |8 - idlc/source/astscope.cxx |4 idlc/source/errorhandler.cxx |2 idlc/source/idlccompile.cxx |4 io/source/acceptor/acceptor.cxx |4 javaunohelper/source/javaunohelper.cxx|2 jvmaccess/source/classpath.cxx|2 27 files changed, 79 insertions(+), 79 deletions(-) New commits: commit a17fb882569046cd9f6940cf2e87435200bb666b Author: Olivier Hallot Date: Mon Dec 26 17:19:24 2011 -0200 Fix for fdo43460 Part XXI getLength() to isEmpty() Part XXI Modules i18npool, idl, idlc, io, javaunohelper, jvmaccess diff --git a/i18npool/source/breakiterator/breakiteratorImpl.cxx b/i18npool/source/breakiterator/breakiteratorImpl.cxx index f7690c1..1d26968 100644 --- a/i18npool/source/breakiterator/breakiteratorImpl.cxx +++ b/i18npool/source/breakiterator/breakiteratorImpl.cxx @@ -231,7 +231,7 @@ sal_Int32 SAL_CALL BreakIteratorImpl::beginOfSentence( const OUString& Text, sal { if (nStartPos < 0 || nStartPos > Text.getLength()) return -1; -if (Text.getLength() == 0) return 0; +if (Text.isEmpty()) return 0; return LBI->beginOfSentence(Text, nStartPos, rLocale); } @@ -240,7 +240,7 @@ sal_Int32 SAL_CALL BreakIteratorImpl::endOfSentence( const OUString& Text, sal_I { if (nStartPos < 0 || nStartPos > Text.getLength()) return -1; -if (Text.getLength() == 0) return 0; +if (Text.isEmpty()) return 0; return LBI->endOfSentence(Text, nStartPos, rLocale); } diff --git a/i18npool/source/breakiterator/breakiterator_unicode.cxx b/i18npool/source/breakiterator/breakiterator_unicode.cxx index 78ba7a6..5f35795 100644 --- a/i18npool/source/breakiterator/breakiterator_unicode.cxx +++ b/i18npool/source/breakiterator/breakiterator_unicode.cxx @@ -129,7 +129,7 @@ void SAL_CALL BreakIterator_Unicode::loadICUBreakIterator(const com::sun::star:: OOoRuleBasedBreakIterator *rbi = NULL; -if (breakRules.getLength() > breakType && breakRules[breakType].getLength() > 0) { +if (breakRules.getLength() > breakType && !breakRules[breakType].isEmpty()) { rbi = new OOoRuleBasedBreakIterator(udata_open("OpenOffice", "brk", OUStringToOString(breakRules[breakType], RTL_TEXTENCODING_ASCII_US).getStr(), &status), status); } else { diff --git a/i18npool/source/collator/collator_unicode.cxx b/i18npool/source/collator/collator_unicode.cxx index 6eebd6f..0488d59 100644 --- a/i18npool/source/collator/collator_unicode.cxx +++ b/i18npool/source/collator/collator_unicode.cxx @@ -79,7 +79,7 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang:: if (!collator) { UErrorCode status = U_ZERO_ERROR; OUString rule = LocaleData().getCollatorRuleByAlgorithm(rLocale, rAlgorithm); -if (rule.getLength() > 0) { +if (!rule.isEmpty()) { collator = new RuleBasedCollator(reinterpret_cast(rule.getStr()), status); // UChar != sal_Unicode in MinGW if (! U_SUCCESS(status))
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/locale.dtd |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 5f7e21b595800d0b5eff2d82a43e05fd0242edac Author: Eike Rathke Date: Thu Dec 22 18:29:09 2011 +0100 point directly to http://www.validome.org/xml/ Thanks to Roman Eisele for mentioning. diff --git a/i18npool/source/localedata/data/locale.dtd b/i18npool/source/localedata/data/locale.dtd index 059132d..d22c16f 100644 --- a/i18npool/source/localedata/data/locale.dtd +++ b/i18npool/source/localedata/data/locale.dtd @@ -22,7 +22,7 @@ - temporarily (!) change the DOCTYPE of your file to read (all on one line) http://cgit.freedesktop.org/libreoffice/core/plain/i18npool/source/localedata/data/locale.dtd";> -- upload it to the form available at http://www.validome.org/ +- upload it to the form available at http://www.validome.org/xml/ This will validate the file against the HEAD revision of locale.dtd ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/locale.dtd |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 61329db01af7fd7c5915a4d81896d52fda7168db Author: Eike Rathke Date: Thu Dec 22 17:51:43 2011 +0100 '--' is not allowed inside comments diff --git a/i18npool/source/localedata/data/locale.dtd b/i18npool/source/localedata/data/locale.dtd index aca66e5..059132d 100644 --- a/i18npool/source/localedata/data/locale.dtd +++ b/i18npool/source/localedata/data/locale.dtd @@ -27,7 +27,7 @@ This will validate the file against the HEAD revision of locale.dtd -Please test locale data files either in an --enable-dbgutil build, which +Please test locale data files either in an enable-dbgutil build, which implements some checks and pops up assertion message boxes if the tests fail, or by setting the environment variable OOO_ENABLE_LOCALE_DATA_CHECKS to 'Y' or 'Yes' (or any other string starting with 'Y') or '1' before ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/pl_PL.xml | 62 ++ 1 file changed, 62 insertions(+) New commits: commit 28b1abe11c1bfc644701f62096fce7fcfafaaa93 Author: Mateusz Zasuwik Date: Tue Dec 20 20:43:33 2011 +0100 genitive case month names for [pl-PL] diff --git a/i18npool/source/localedata/data/pl_PL.xml b/i18npool/source/localedata/data/pl_PL.xml index 1956896..2ed2ea6 100644 --- a/i18npool/source/localedata/data/pl_PL.xml +++ b/i18npool/source/localedata/data/pl_PL.xml @@ -290,6 +290,68 @@ grudzieÅ + + + jan + I + stycznia + + + feb + II + lutego + + + mar + III + marca + + + apr + IV + kwietnia + + + may + V + maja + + + jun + VI + czerwca + + + jul + VII + lipca + + + aug + VIII + sierpnia + + + sep + IX + wrzeÅnia + + + oct + X + października + + + nov + XI + listopada + + + dec + XII + grudnia + + bc ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/sl_SI.xml |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit dc6878ac4a5913483bae22e338f3efbb19be7d05 Author: Martin Srebotnjak Date: Thu Dec 15 21:49:44 2011 +0100 more corrections to date formats diff --git a/i18npool/source/localedata/data/sl_SI.xml b/i18npool/source/localedata/data/sl_SI.xml index 675a3fb..e61ce24 100644 --- a/i18npool/source/localedata/data/sl_SI.xml +++ b/i18npool/source/localedata/data/sl_SI.xml @@ -84,13 +84,13 @@ #.##0,-- [CURRENCY];[RED]-#.##0,-- [CURRENCY] - DD.MM.YY + D.M.YY D. - DD. MM. YY + DD.MM.YY DD. MM. ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source idlc/source io/source io/test javaunohelper/source jvmaccess/source jvmfwk/source
i18npool/source/localedata/saxparser.cxx |4 ++-- idlc/source/idlcmain.cxx |2 +- io/source/acceptor/acceptor.cxx |2 +- io/source/connector/connector.cxx|2 +- io/source/stm/opump.cxx | 16 io/test/stm/datatest.cxx |4 ++-- io/test/stm/marktest.cxx |4 ++-- io/test/stm/pipetest.cxx |2 +- io/test/stm/pumptest.cxx |2 +- io/test/testcomponent.cxx|6 +++--- io/test/testconnection.cxx |4 ++-- javaunohelper/source/bootstrap.cxx |4 ++-- jvmaccess/source/classpath.cxx |2 +- jvmfwk/source/framework.cxx | 30 +++--- jvmfwk/source/fwkutil.cxx|4 ++-- 15 files changed, 44 insertions(+), 44 deletions(-) New commits: commit 0f44079ce20ece1931c40f62584013ac6d1668e4 Author: Takeshi Abe Date: Thu Dec 15 13:51:29 2011 +0900 catch exception by constant reference diff --git a/i18npool/source/localedata/saxparser.cxx b/i18npool/source/localedata/saxparser.cxx index 2ac2db7..2a5fd1e 100644 --- a/i18npool/source/localedata/saxparser.cxx +++ b/i18npool/source/localedata/saxparser.cxx @@ -320,7 +320,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) ::rtl::OUString::createFromAscii(argv[4]), ::rtl::OUString::createFromAscii(argv[5]), true ); } -catch ( Exception &e ) +catch ( const Exception &e ) { printf( "Exception on createRegistryServiceFactory %s\n", OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ).getStr() ); @@ -358,7 +358,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) rParser->parseStream( source ); } -catch( Exception & e ) +catch( const Exception & e ) { OString o1 = OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8 ); printf( "Exception during parsing : %s\n" , o1.getStr() ); diff --git a/idlc/source/idlcmain.cxx b/idlc/source/idlcmain.cxx index 226a60c..f9faa7e 100644 --- a/idlc/source/idlcmain.cxx +++ b/idlc/source/idlcmain.cxx @@ -49,7 +49,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) if (!options.initOptions(args)) return (0); } -catch( IllegalArgument& e) +catch(const IllegalArgument& e) { fprintf(stderr, "Illegal argument: %s\n%s", e.m_message.getStr(), diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx index 4920c5e..f703d2d 100644 --- a/io/source/acceptor/acceptor.cxx +++ b/io/source/acceptor/acceptor.cxx @@ -242,7 +242,7 @@ namespace io_acceptor } } } -catch (rtl::MalformedUriException & rEx) +catch (const rtl::MalformedUriException & rEx) { throw IllegalArgumentException( rEx.getMessage(), diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index bddbd26..e54 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -192,7 +192,7 @@ namespace stoc_connector } return r; } -catch (rtl::MalformedUriException & rEx) +catch (const rtl::MalformedUriException & rEx) { throw ConnectionSetupException(rEx.getMessage(), Reference< XInterface > ()); diff --git a/io/source/stm/opump.cxx b/io/source/stm/opump.cxx index 1ea93a0..409fe59 100644 --- a/io/source/stm/opump.cxx +++ b/io/source/stm/opump.cxx @@ -144,7 +144,7 @@ void Pump::fireError( const Any & exception ) { static_cast< XStreamListener * > ( iter.next() )->error( exception ); } -catch ( RuntimeException &e ) +catch ( const RuntimeException &e ) { OString sMessage = OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ); OSL_ENSURE( !"com.sun.star.comp.stoc.Pump: unexpected exception during calling listeners", sMessage.getStr() ); @@ -173,7 +173,7 @@ void Pump::fireClose() { static_cast< XStreamListener * > ( iter.next() )->closed( ); } -catch ( RuntimeException &e ) +catch ( const RuntimeException &e ) { OString sMessage = OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ); OSL_ENSURE( !"com.sun.star.comp.stoc.Pump: unexpected exception during calling listeners", sMessage.getStr() ); @@ -191,7 +191,7 @@ void Pump::fireStarted() { static_cast< XStreamListener * > ( iter.next() )->started( ); } -catch ( RuntimeException &e ) +catch ( const RuntimeException &e ) { OString sMessage = OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US );
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/sl_SI.xml |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 3b23db7e6130ec62f83e31449c8140a9a8db5cc8 Author: Eike Rathke Date: Wed Dec 14 22:53:24 2011 +0100 corrections to [sl-SI] date formats diff --git a/i18npool/source/localedata/data/sl_SI.xml b/i18npool/source/localedata/data/sl_SI.xml index 04c3baa..675a3fb 100644 --- a/i18npool/source/localedata/data/sl_SI.xml +++ b/i18npool/source/localedata/data/sl_SI.xml @@ -87,7 +87,7 @@ DD.MM.YY - , D. + D. DD. MM. YY @@ -120,7 +120,7 @@ NN., D. - , D. + D. MM-DD ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/sl_SI.xml | 48 +++--- 1 file changed, 24 insertions(+), 24 deletions(-) New commits: commit 221d79d7dd32cd4acc043c56b1ba0d795a16af5d Author: Martin Srebotnjak Date: Wed Dec 14 11:14:16 2011 +0100 corrections to Slovenian locale data diff --git a/i18npool/source/localedata/data/sl_SI.xml b/i18npool/source/localedata/data/sl_SI.xml index 19139d5..e95325e 100644 --- a/i18npool/source/localedata/data/sl_SI.xml +++ b/i18npool/source/localedata/data/sl_SI.xml @@ -25,10 +25,10 @@ - â + â â - â - â + » + « dop. pop. @@ -60,46 +60,46 @@ 0,00E+00 - 0% + 0 % - 0,00% + 0,00 % - #.##0 [$SIT-424];-#.##0 [$SIT-424] + #.##0 [CURRENCY];-#.##0 [CURRENCY] - #.##0,00 [$SIT-424];-#.##0,00 [$SIT-424] + #.##0,00 [CURRENCY];-#.##0,00 [CURRENCY] - #.##0 [$SIT-424];[RED]-#.##0 [$SIT-424] + #.##0 [CURRENCY];[RED]-#.##0 [CURRENCY] - #.##0,00 [$SIT-424];[RED]-#.##0,00 [$SIT-424] + #.##0,00 [CURRENCY];[RED]-#.##0,00 [CURRENCY] #.##0,00 CCC - #.##0,-- [$SIT-424];[RED]-#.##0,-- [$SIT-424] + #.##0,-- [CURRENCY];[RED]-#.##0,-- [CURRENCY] DD.MM.YY - D. + , D. - DD.MM.YY + DD. MM. YY - DD.MM. + DD. MM. D. MMM YY - D. MMM + D. MMM. D. MMM. @@ -111,16 +111,16 @@ D. - NN, D. MMM YY + NN., D. MMM. YY - NN DD.MMM YY + NN, DD. MMM YY - NN, D. + NN., D. - D. + , D. MM-DD @@ -137,7 +137,7 @@ MM.YY - DD.MMM + DD. MMM @@ -192,8 +192,8 @@ 0 1 2 -p. -pp. +str. +str. @@ -299,13 +299,13 @@ bc - pr.n.Å¡. + pr. n. Å¡t. pred naÅ¡im Å¡tetjem ad - n.Å¡. - naÅ¡e Å¡tetje + n. Å¡t. + naÅ¡ega Å¡tetja ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/Makefile |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) New commits: commit 946b0d316358006aca8d59b84f3239a8ae108541 Author: Matúš Kukan Date: Sat Dec 10 19:14:00 2011 +0100 simplify this, use gb_Helper_abbreviate_dirs_native instead of cygpath diff --git a/i18npool/source/localedata/Makefile b/i18npool/source/localedata/Makefile index da83ff4..d744384 100755 --- a/i18npool/source/localedata/Makefile +++ b/i18npool/source/localedata/Makefile @@ -48,13 +48,8 @@ localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data) endif saxparser.rdb : saxparser.input -ifeq ($(OS_FOR_BUILD),WNT) - $(gb_XSLTPROC) --nonet --stringparam prefix `cygpath -m $(OUTDIR)/xml/` -o $@ \ - $(SOLARENV)/bin/packcomponents.xslt saxparser.input -else - $(gb_XSLTPROC) --nonet --stringparam prefix $(OUTDIR)/xml/ -o $@ \ - $(SOLARENV)/bin/packcomponents.xslt saxparser.input -endif + $(call gb_Helper_abbreviate_dirs_native, $(gb_XSLTPROC) --nonet --stringparam prefix $(OUTDIR)/xml/ -o $@ \ + $(SOLARENV)/bin/packcomponents.xslt saxparser.input) saxparser.input : echo '$(my_components)' > $@ ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source solenv/gbuild
i18npool/source/localedata/Makefile |8 ++-- solenv/gbuild/Helper.mk |2 +- solenv/gbuild/platform/WNT_INTEL_MSC.mk |2 +- solenv/gbuild/platform/com_GCC_defs.mk |2 +- 4 files changed, 5 insertions(+), 9 deletions(-) New commits: commit c240dbc820359cf924e2383b743c02e204945a4c Author: Bjoern Michaelsen Date: Thu Dec 8 16:43:26 2011 +0100 Fix 18npool build on Windows. diff --git a/i18npool/source/localedata/Makefile b/i18npool/source/localedata/Makefile index 618db65..da83ff4 100755 --- a/i18npool/source/localedata/Makefile +++ b/i18npool/source/localedata/Makefile @@ -40,15 +40,11 @@ localedata_%.cxx : localedata_%_invis.cxx ifeq ($(OS_FOR_BUILD),WNT) localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data)/%.xml saxparser.rdb \ $(OUTDIR)/bin/saxparser$(gb_Executable_EXT) - $(call gb_Helper_execute,saxparser $* `cygpath -m $<` $@ \ - $(my_file)`cygpath -m $(WORKDIR)/CustomTarget/i18npool/source/localedata/saxparser.rdb` `cygpath -m $(OUTDIR)/bin/types.rdb` \ - -env:LO_LIB_DIR=$(my_file)`cygpath -m $(OUTDIR)/bin`) + $(call gb_Helper_execute,saxparser $* `cygpath -m $<` $@ $(my_file)`cygpath -m $(WORKDIR)/CustomTarget/i18npool/source/localedata/saxparser.rdb` `cygpath -m $(OUTDIR)/bin/types.rdb` -env:LO_LIB_DIR=$(my_file)`cygpath -m $(OUTDIR)/bin`) else localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data)/%.xml saxparser.rdb \ $(OUTDIR_FOR_BUILD)/bin/saxparser$(gb_Executable_EXT_for_build) - $(call gb_Helper_execute,saxparser $* $< $@ \ - $(my_file)$(WORKDIR_FOR_BUILD)/CustomTarget/i18npool/source/localedata/saxparser.rdb $(OUTDIR_FOR_BUILD)/bin/types.rdb \ - -env:LO_LIB_DIR=$(my_file)$(OUTDIR_FOR_BUILD)/lib) + $(call gb_Helper_execute,saxparser $* $< $@ $(my_file)$(WORKDIR_FOR_BUILD)/CustomTarget/i18npool/source/localedata/saxparser.rdb $(OUTDIR_FOR_BUILD)/bin/types.rdb -env:LO_LIB_DIR=$(my_file)$(OUTDIR_FOR_BUILD)/lib) endif saxparser.rdb : saxparser.input diff --git a/solenv/gbuild/Helper.mk b/solenv/gbuild/Helper.mk index 881aed9..e27d2ee 100644 --- a/solenv/gbuild/Helper.mk +++ b/solenv/gbuild/Helper.mk @@ -165,7 +165,7 @@ gb_StaticLibrary_$(1) += $(2) endef define gb_Helper_execute -$(call gb_Helper_set_ld_path) $(OUTDIR_FOR_BUILD)/bin/$(1) +$(gb_Helper_set_ld_path) $(OUTDIR_FOR_BUILD)/bin/$(1) endef # gb_Helper_OUTDIRLIBDIR is set by the platform to the path the dynamic linker need to use diff --git a/solenv/gbuild/platform/WNT_INTEL_MSC.mk b/solenv/gbuild/platform/WNT_INTEL_MSC.mk index 5f8fb1c..809d83c 100644 --- a/solenv/gbuild/platform/WNT_INTEL_MSC.mk +++ b/solenv/gbuild/platform/WNT_INTEL_MSC.mk @@ -256,7 +256,7 @@ R=$(gb_Helper_REPODIR_NATIVE) && $(subst $(REPODIR)/,$$R/,$(subst $(gb_Helper_RE $(subst $(REPODIR)/,$$R/,$(subst $(SRCDIR)/,$$S/,$(subst $(OUTDIR)/,$$O/,$(subst $(WORKDIR)/,$$W/,$(subst $(gb_Helper_REPODIR_NATIVE)/,$$R/,$(subst $(gb_Helper_SRCDIR_NATIVE)/,$$S/,$(subst $(gb_Helper_OUTDIR_NATIVE)/,$$O/,$(subst $(gb_Helper_WORKDIR_NATIVE)/,$$W/,$(1) endef -gb_Helper_set_ld_path := PATH="$${PATH}:$(OUTDIR)/bin" +gb_Helper_set_ld_path := PATH=\"$${PATH}:$(OUTDIR)/bin\" # convert parameters filesystem root to native notation # does some real work only on windows, make sure not to diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 03ac2a8..c154a7a 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -144,7 +144,7 @@ else gb_Helper_LIBRARY_PATH_VAR := LD_LIBRARY_PATH endif -gb_Helper_set_ld_path := $(gb_Helper_LIBRARY_PATH_VAR)=$(OUTDIR_FOR_BUILD)/lib +gb_Helper_set_ld_path := $(gb_Helper_LIBRARY_PATH_VAR)=\"$(OUTDIR_FOR_BUILD)/lib\" # $(1): list of directory pathnames to append at the end of the ld path define gb_Helper_extend_ld_path ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/pt_PT.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit ab7926e54ca4a3cddfeedf9cb7027a327d7a1432 Author: Eike Rathke Date: Thu Dec 8 12:56:29 2011 +0100 changed MinimalDaysInFirstWeek to 4 for correct week-of-year calculation diff --git a/i18npool/source/localedata/data/pt_PT.xml b/i18npool/source/localedata/data/pt_PT.xml index 0bdb50f..33e52f4 100644 --- a/i18npool/source/localedata/data/pt_PT.xml +++ b/i18npool/source/localedata/data/pt_PT.xml @@ -353,7 +353,7 @@ mon -1 +4 ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/pt_PT.xml |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 04e03814d06846ba3b805230d9320fa9fb706ce1 Author: Sérgio Marques Date: Mon Dec 5 17:23:35 2011 +0100 corrected [pt-PT] date formats diff --git a/i18npool/source/localedata/data/pt_PT.xml b/i18npool/source/localedata/data/pt_PT.xml index e65e9ef..0bdb50f 100644 --- a/i18npool/source/localedata/data/pt_PT.xml +++ b/i18npool/source/localedata/data/pt_PT.xml @@ -96,11 +96,11 @@ -D.MMM. +D. MMM "de" -D.. +D. "de" ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/pt_PT.xml | 28 1 file changed, 24 insertions(+), 4 deletions(-) New commits: commit 3bed5a62707dead55d9f8bc2913cfd45c9babfc0 Author: Sérgio Marques Date: Tue Nov 29 13:30:40 2011 +0100 changed and added [pt-PT] date formats diff --git a/i18npool/source/localedata/data/pt_PT.xml b/i18npool/source/localedata/data/pt_PT.xml index 2d0f18d..e65e9ef 100644 --- a/i18npool/source/localedata/data/pt_PT.xml +++ b/i18npool/source/localedata/data/pt_PT.xml @@ -40,7 +40,7 @@ -NN DD-MMM AA +NN, DD-MMM-AA @@ -56,7 +56,7 @@ -QQ AA +QQ "de" AA @@ -96,11 +96,11 @@ -D. MMM. +D.MMM. -D. +D.. @@ -119,6 +119,26 @@ WW + +QQ "de" + + + +Q "de" AA + + + +Q "de" + + + +DD-MMM-AA + + + +DD-MMM- + + HH:MM ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/gd_GB.xml |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit ceb55cd688cebede8cef8408540019fe54528869 Author: Michael Bauer Date: Mon Nov 28 20:37:54 2011 +0100 [gd-GB] partitive vs genitive case month names diff --git a/i18npool/source/localedata/data/gd_GB.xml b/i18npool/source/localedata/data/gd_GB.xml index b08f61e..095cbe6 100644 --- a/i18npool/source/localedata/data/gd_GB.xml +++ b/i18npool/source/localedata/data/gd_GB.xml @@ -347,7 +347,7 @@ Dùbhlachd - + jan Faoi @@ -408,7 +408,7 @@ Dùbh dhen Dùbhlachd - + bc ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/locale.dtd |4 1 file changed, 4 insertions(+) New commits: commit 281d8e3ab8689a24f21f0dfd6d4de2ca1d46dc34 Author: Eike Rathke Date: Mon Nov 28 20:03:14 2011 +0100 non-preset formatindex="..." values must be >=50 Explicitly mention that formatindex="..." values for formats defined additionally to the preset range must be >=50 and unique within a locale. diff --git a/i18npool/source/localedata/data/locale.dtd b/i18npool/source/localedata/data/locale.dtd index ff88bfd..aca66e5 100644 --- a/i18npool/source/localedata/data/locale.dtd +++ b/i18npool/source/localedata/data/locale.dtd @@ -198,6 +198,10 @@ This isn't necessary to be technically correct and isn't done in many locales yet, but will certainly help. +If you want to define yet more formats than the preset and reserved +0..49 range that's fine, only make sure those formatindex="..." values +are each >=50 and all values are unique within one locale. + Of usage="FIXED_NUMBER": formatindex="0" MUST be the format containing the 'General' keyword. The keyword itself may be localized, it is good practice though to ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/an_ES.xml | 97 -- 1 file changed, 79 insertions(+), 18 deletions(-) New commits: commit e34584e74201bc2264c907e06c4f8b0026bd1f98 Author: Juan Pablo MartÃnez Cortés Date: Mon Nov 28 18:42:37 2011 +0100 added [an-ES] genitive month names, changed date formats, elaborated IndexKey diff --git a/i18npool/source/localedata/data/an_ES.xml b/i18npool/source/localedata/data/an_ES.xml index 0cbe0eb..f991221 100644 --- a/i18npool/source/localedata/data/an_ES.xml +++ b/i18npool/source/localedata/data/an_ES.xml @@ -20,8 +20,8 @@ , ; , - , - de + + de @@ -87,7 +87,7 @@ D/MM/YY - DD, de + DD "de" DD/MM/YY @@ -96,34 +96,34 @@ DD/MM/ - D, MMM deYY + D MMM YY - D, MMM de + D MMM "de" - D, MMM de + D MMM "de" - D, de + D "de" - D, deYY + D "de" YY NN, DD/MMM/YY - NN, D, MMM deYY + NN, D MMM deYY - NN, D, de + NN, D "de" - D, de + D "de" - MM/DD + DD/MM YY-MM-DD @@ -137,13 +137,13 @@ MM/YY - MMM/DD + DD/MMM - QQ YY + QQ "de" YY WW @@ -188,7 +188,7 @@ -A-Z +A à B-E à F-I à J-O à P-U à à V-Z 0 1 p. @@ -261,12 +261,12 @@ jun - chun + chn chunio jul - chul + chl chulio @@ -282,7 +282,7 @@ oct oct - octubre + octobre nov @@ -295,6 +295,67 @@ aviento + + + jan + chi + de chinero + + + feb + feb + de febrero + + + mar + mar + de marzo + + + apr + abr + d'abril + + + may + may + de mayo + + + jun + chn + de chunio + + + jul + chl + de chulio + + + aug + ago + d'agosto + + + sep + set + de setiembre + + + oct + oct + d'octobre + + oct + oct + d'octobre + + + dec + avi + d'aviento + + bc ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/ast_ES.xml | 36 ++--- 1 file changed, 18 insertions(+), 18 deletions(-) New commits: commit 56a6704509bd24ac699d9ee9e4c430225f1b07cd Author: Xuacu Saturio Date: Mon Nov 28 17:34:52 2011 +0100 changed [ast-ES] date and currency formats diff --git a/i18npool/source/localedata/data/ast_ES.xml b/i18npool/source/localedata/data/ast_ES.xml index 1c2b5e5..e83257d 100644 --- a/i18npool/source/localedata/data/ast_ES.xml +++ b/i18npool/source/localedata/data/ast_ES.xml @@ -21,7 +21,7 @@ ; , - + de @@ -66,28 +66,28 @@ 0,00% - [CURRENCY]#.##0;-[CURRENCY]#.##0 + #.##0[CURRENCY];-#.##0[CURRENCY] - [CURRENCY]#.##0,00;-[CURRENCY]#.##0,00 + #.##0,00[CURRENCY];-#.##0,00[CURRENCY] - [CURRENCY]#.##0;[RED]-[CURRENCY]#.##0 + #.##0[CURRENCY];[RED]-#.##0[CURRENCY] - [CURRENCY]#.##0,00;[RED]-[CURRENCY]#.##0,00 + #.##0,00[CURRENCY];[RED]-#.##0,00[CURRENCY] CCC#.##0,00 - [CURRENCY]#.##0,--;[RED]-[CURRENCY]#.##0,-- + #.##0,--[CURRENCY];[RED]-#.##0,--[CURRENCY] D/MM/YY - DD, + DD "de" DD/MM/YY @@ -96,34 +96,34 @@ DD/MM/ - D, MMM YY + D MMM YY - D, MMM + D MMM "de" - D, MMM + D MMM "de" - D, + D "de" - D, YY + D YY NN, DD/MMM/YY - NN, D, MMM YY + NN, D MMM YY - NN, D, + NN, D "de" - D, + D "de" - MM/DD + DD/MM YY-MM-DD @@ -137,13 +137,13 @@ MM/YY - MMM/DD + DD/MMM - QQ YY + QQ "de" YY WW ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/ru_RU.xml | 62 ++ 1 file changed, 62 insertions(+) New commits: commit c01ce861aced958302087117a5c5019d420b9d52 Author: Serg Bormant Date: Mon Nov 28 17:18:10 2011 +0100 added [ru-RU] genitive case month names diff --git a/i18npool/source/localedata/data/ru_RU.xml b/i18npool/source/localedata/data/ru_RU.xml index 17405f6..fd64844 100644 --- a/i18npool/source/localedata/data/ru_RU.xml +++ b/i18npool/source/localedata/data/ru_RU.xml @@ -285,6 +285,68 @@ ÐекабÑÑ + + + jan + Ñнв + ÑнваÑÑ + + + feb + Ñев + ÑевÑÐ°Ð»Ñ + + + mar + Ð¼Ð°Ñ + маÑÑа + + + apr + Ð°Ð¿Ñ + апÑÐµÐ»Ñ + + + may + май + Ð¼Ð°Ñ + + + jun + иÑн + иÑÐ½Ñ + + + jul + иÑл + иÑÐ»Ñ + + + aug + авг + авгÑÑÑа + + + sep + Ñен + ÑенÑÑбÑÑ + + + oct + Ð¾ÐºÑ + окÑÑбÑÑ + + + nov + Ð½Ð¾Ñ + ноÑбÑÑ + + + dec + дек + декабÑÑ + + bc ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/be_BY.xml | 24 1 file changed, 12 insertions(+), 12 deletions(-) New commits: commit 9cd62fb8b99d5b36031ea98222f3c08d23d337b9 Author: Yury Tarasievich Date: Mon Nov 28 16:31:40 2011 +0100 [be-BY] lower case month names diff --git a/i18npool/source/localedata/data/be_BY.xml b/i18npool/source/localedata/data/be_BY.xml index f866f46..5bb2f24 100644 --- a/i18npool/source/localedata/data/be_BY.xml +++ b/i18npool/source/localedata/data/be_BY.xml @@ -227,62 +227,62 @@ jan ÑÑÑ - СÑÑÐ´Ð·ÐµÐ½Ñ + ÑÑÑÐ´Ð·ÐµÐ½Ñ feb лÑÑ - ÐÑÑÑ + лÑÑÑ mar Ñак - СакавÑк + ÑакавÑк apr кÑа - ÐÑаÑавÑк + кÑаÑавÑк may ÑÑа - ТÑÐ°Ð²ÐµÐ½Ñ + ÑÑÐ°Ð²ÐµÐ½Ñ jun ÑÑÑ - ЧÑÑÐ²ÐµÐ½Ñ + ÑÑÑÐ²ÐµÐ½Ñ jul лÑп - ÐÑÐ¿ÐµÐ½Ñ + лÑÐ¿ÐµÐ½Ñ aug Ð¶Ð½Ñ - ÐнÑÐ²ÐµÐ½Ñ + жнÑÐ²ÐµÐ½Ñ sep Ð²ÐµÑ - ÐеÑаÑÐµÐ½Ñ + веÑаÑÐµÐ½Ñ oct ÐºÐ°Ñ - ÐаÑÑÑÑÑнÑк + каÑÑÑÑÑнÑк nov лÑÑ - ÐÑÑÑапад + лÑÑÑапад dec Ñне - Ð¡Ð½ÐµÐ¶Ð°Ð½Ñ + ÑÐ½ÐµÐ¶Ð°Ð½Ñ ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/fi_FI.xml | 134 -- 1 file changed, 129 insertions(+), 5 deletions(-) New commits: commit 227eef01b8fc343fd51f4d6a628dedbbc311c68c Author: Harri Pitkänen Date: Sun Nov 27 19:01:52 2011 +0200 Add genitive and partitive month names for fi_FI locale Add genitive and partitive month names and remove hardcoded case suffixes from predefined date formats. One format incorrectly had case suffixes added to abbreviated month names. diff --git a/i18npool/source/localedata/data/fi_FI.xml b/i18npool/source/localedata/data/fi_FI.xml index 1f7747d..7980be9 100644 --- a/i18npool/source/localedata/data/fi_FI.xml +++ b/i18npool/source/localedata/data/fi_FI.xml @@ -87,7 +87,7 @@ P.K. - P. "ta" + P. PP.KK.VV @@ -105,22 +105,22 @@ P. KKK. - P. "ta" + P. P. - NN P. KKK"ta" VV + NN P. KKK VV NN PP. KKK VV - NN P. "ta" + NN P. - P. "ta" + P. KK-PP @@ -286,6 +286,130 @@ joulukuu + + + jan + tammi + tammikuun + + + feb + helmi + helmikuun + + + mar + maalis + maaliskuun + + + apr + huhti + huhtikuun + + + may + touko + toukokuun + + + jun + kesä + kesäkuun + + + jul + heinä + heinäkuun + + + aug + elo + elokuun + + + sep + syys + syyskuun + + + oct + loka + lokakuun + + + nov + marras + marraskuun + + + dec + joulu + joulukuun + + + + + jan + tammi + tammikuuta + + + feb + helmi + helmikuuta + + + mar + maalis + maaliskuuta + + + apr + huhti + huhtikuuta + + + may + touko + toukokuuta + + + jun + kesä + kesäkuuta + + + jul + heinä + heinäkuuta + + + aug + elo + elokuuta + + + sep + syys + syyskuuta + + + oct + loka + lokakuuta + + + nov + marras + marraskuuta + + + dec + joulu + joulukuuta + + bc ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/LocaleNode.cxx | 44 +++--- i18npool/source/localedata/LocaleNode.hxx |3 ++ i18npool/source/localedata/data/ga_IE.xml |4 +- i18npool/source/localedata/data/my_MM.xml |7 i18npool/source/localedata/data/wa_BE.xml |2 - 5 files changed, 53 insertions(+), 7 deletions(-) New commits: commit 4e34d8fd5b64a18dd17faf4ed4d603648bab8311 Author: Eike Rathke Date: Fri Nov 25 19:37:35 2011 +0100 added check if locale data's usedInCompatibleFormatCodes currency is really used there and fixed the cases discovered by the check ... diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index 8d7d1a3..88c26b5 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -337,6 +337,12 @@ void LocaleNode::incErrorStr( const char* pStr, const ::rtl::OUString& rVal ) co fprintf( stderr, prepareErrorFormat( pStr, ": %s"), OSTR( rVal)); } +void LocaleNode::incErrorStrStr( const char* pStr, const ::rtl::OUString& rVal1, const ::rtl::OUString& rVal2 ) const +{ +++nError; +fprintf( stderr, prepareErrorFormat( pStr, ": %s %s"), OSTR( rVal1), OSTR( rVal2)); +} + void LCInfoNode::generateCode (const OFileWriter &of) const { @@ -590,13 +596,17 @@ void LCCTYPENode::generateCode (const OFileWriter &of) const } +static OUString sTheCompatibleCurrency; + sal_Int16 LCFormatNode::mnSection = 0; sal_Int16 LCFormatNode::mnFormats = 0; void LCFormatNode::generateCode (const OFileWriter &of) const { OUString str; -if (mnSection >= 2) +if (mnSection == 0) +sTheCompatibleCurrency = OUString(); +else if (mnSection >= 2) incError("more than 2 LC_FORMAT sections"); OUString strFrom( getAttr().getValueByName("replaceFrom")); of.writeParameter("replaceFrom", strFrom, mnSection); @@ -607,6 +617,13 @@ void LCFormatNode::generateCode (const OFileWriter &of) const if (str.endsWithIgnoreAsciiCaseAsciiL( "-]", 6)) incErrorStr("replaceTo=\"%s\" needs to be adapted to the real LangID value.", str); of.writeParameter("replaceTo", str, mnSection); +// Remember the currency symbol if present. +if (str.indexOfAsciiL( "[$", 2) == 0) +{ +sal_Int32 nHyphen = str.indexOf( '-'); +if (nHyphen >= 3) +sTheCompatibleCurrency = str.copy( 2, nHyphen - 2); +} ::rtl::OUString useLocale = getAttr().getValueByName("ref"); if (useLocale.getLength() > 0) { switch (mnSection) @@ -710,14 +727,27 @@ void LCFormatNode::generateCode (const OFileWriter &of) const } } break; -// Currency formats should be something like [C]###0;-[C]###0 -// and not parenthesized [C]###0;([C]###0) if not en_US. +case cssi::NumberFormatIndex::CURRENCY_1000DEC2 : +// Remember the currency symbol if present. +{ +sal_Int32 nStart; +if (sTheCompatibleCurrency.isEmpty() && +((nStart = n->getValue().indexOfAsciiL( "[$", 2)) >= 0)) +{ +OUString aCode( n->getValue()); +sal_Int32 nHyphen = aCode.indexOf( '-', nStart); +if (nHyphen >= nStart + 3) +sTheCompatibleCurrency = aCode.copy( nStart + 2, nHyphen - nStart - 2); +} +} +// fallthru case cssi::NumberFormatIndex::CURRENCY_1000INT : case cssi::NumberFormatIndex::CURRENCY_1000INT_RED : -case cssi::NumberFormatIndex::CURRENCY_1000DEC2 : case cssi::NumberFormatIndex::CURRENCY_1000DEC2_RED : case cssi::NumberFormatIndex::CURRENCY_1000DEC2_CCC : case cssi::NumberFormatIndex::CURRENCY_1000DEC2_DASHED : +// Currency formats should be something like [C]###0;-[C]###0 +// and not parenthesized [C]###0;([C]###0) if not en_US. if (strcmp( of.getLocale(), "en_US") != 0) { OUString aCode( n->getValue()); @@ -1549,6 +1579,12 @@ void LCCurrencyNode :: generateCode (const OFileWriter &of) const incError( "CurrencyID is not ISO 4217"); str = currencyNode -> findNode ("CurrencySymbol") -> getValue(); of.writeParameter("currencySymbol", str, nbOfCurrencies); +// Check if this currency really is the one used in number format +// codes. In case of ref=... mechanisms it may be that TheCurrency +// couldn't had been determined from the current locale (i.e. is +// empty), silently assume the referred locale has things right. +
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/la_VA.xml | 172 -- 1 file changed, 117 insertions(+), 55 deletions(-) New commits: commit 0b00165c300c6fe4cbdc952d49d050121d3d0063 Author: Roman Eisele Date: Wed Nov 23 21:45:31 2011 +0100 updated Latin [la-VA] locale data diff --git a/i18npool/source/localedata/data/la_VA.xml b/i18npool/source/localedata/data/la_VA.xml index 693ced4..042e9f4 100644 --- a/i18npool/source/localedata/data/la_VA.xml +++ b/i18npool/source/localedata/data/la_VA.xml @@ -30,8 +30,8 @@ â â -m. -p. +a.m. +p.m. metric @@ -182,124 +182,186 @@ A-Z 0 1 - e seg. - e segg. + et seq. + et seqq. sun - dom - dominicus dies + Dom + Dominicus dies mon - lun - lunae dies + Lun + Lunae dies tue - mar - martis dies + Mar + Martis dies wed - mer - mercuri dies + Mer + Mercurii dies thu - jov - jovis dies + Iov + Iovis dies fri - ven - veneris dies + Ven + Veneris dies sat - sab - sabbatum + Sab + Sabbatum jan - jan - januarius + Ian + Ianuarius feb - feb - februarius + Feb + Februarius mar - mar - martius + Mar + Martius apr - apr - aprilis + Apr + Aprilis may - mai - maius + Mai + Maius jun - jun - junius + Iun + Iunius jul - jul - julius + Iul + Iulius aug - aug - augustus + Aug + Augustus sep - sep - septembris + Sep + September oct - oct - octobris + Oct + October nov - nov - novembris + Nov + November dec - dec - decembris + Dec + December + + + jan + Ian + Ianuarii + + + feb + Feb + Februarii + + + mar + Mar + Martii + + + apr + Apr + Aprilis + + + may + Mai + Maii + + + jun + Iun + Iunii + + + jul + Iul + Iulii + + + aug + Aug + Augusti + + + sep + Sep + Septembris + + + oct + Oct + Octobris + + + nov + Nov + Novembris + + + dec + Dec + Decembris + + bc - aC - aC + a.C.n. + ante Christum natum ad - dC - dC + p.C.n. + post Christum natum -mon +sun 4 @@ -330,14 +392,14 @@ - vero - falso - 1. quarto - 2. quarto - 3. quarto - 4. quarto - sopra - sotto + verum + falsum + prima quarta pars + secunda quarta pars + tertia quarta pars + quarta quarta pars + supra + infra Q1 Q2 Q3 ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/pt_PT.xml | 102 ++ 1 file changed, 48 insertions(+), 54 deletions(-) New commits: commit d3951ad0503a9d1c78570984fd8d483d8fb95a8c Author: Olivier Hallot Date: Wed Nov 23 13:52:13 2011 +0100 i18n corrections for pt-PT (dates) diff --git a/i18npool/source/localedata/data/pt_PT.xml b/i18npool/source/localedata/data/pt_PT.xml index 88e8ed6..df6ce1d 100644 --- a/i18npool/source/localedata/data/pt_PT.xml +++ b/i18npool/source/localedata/data/pt_PT.xml @@ -34,7 +34,7 @@ PM Metric - + DD-MM- @@ -179,29 +179,23 @@ #.###,00 - -#.##0 [$Esc.-816];-#.##0 [$Esc.-816] - + +#.##0 [CURRENCY];-#.##0 [CURRENCY] - -#.##0,00 [$Esc.-816];-#.##0,00 [$Esc.-816] - + +#.##0,00 [CURRENCY];-#.##0,00 [CURRENCY] - -#.##0 [$Esc.-816];[RED]-#.##0 [$Esc.-816] - + +#.##0 [CURRENCY];[RED]-#.##0 [CURRENCY] - -#.##0,00 [$Esc.-816];[RED]-#.##0,00 [$Esc.-816] - + +#.##0,00 [CURRENCY];[RED]-#.##0,00 [CURRENCY] - + #.##0,00 CCC - - -#.##0,-- [$Esc.-816];[RED]-#.##0,-- [$Esc.-816] - + +#.##0,-- [CURRENCY];[RED]-#.##0,-- [CURRENCY] 0% @@ -265,75 +259,75 @@ jan -Jan -Janeiro +jan +janeiro feb -Fev -Fevereiro +fev +fevereiro mar -Mar -Março +mar +março apr -Abr -Abril +abr +abril may -Mai -Maio +mai +maio jun -Jun -Junho +jun +junho jul -Jul -Julho +jul +julho aug -Ago -Agosto +ago +agosto sep -Set -Setembro +set +setembro oct -Out -Outubro +out +outubro nov -Nov -Novembro +nov +novembro dec -Dez -Dezembro +dez +dezembro bc -BC -BC +a.c. +a.c. ad -AD -AD +d.c. +d.c. @@ -363,16 +357,16 @@ verdadeiro falso -1º trimestre -2º trimestre -3º trimestre -4º trimestre +1.º trimestre +2.º trimestre +3.º trimestre +4.º trimestre acima abaixo -T1 -T2 -T3 -T4 +1T +2T +3T +4T ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/ast_ES.xml | 150 - 1 file changed, 106 insertions(+), 44 deletions(-) New commits: commit cc2ec946ef4a3d4c4e86cfb17f3a890b2b2ad077 Author: Xuacu Saturio Date: Wed Nov 23 12:57:55 2011 +0100 added Asturian [ast-ES] genitive case month names diff --git a/i18npool/source/localedata/data/ast_ES.xml b/i18npool/source/localedata/data/ast_ES.xml index 05c6360..1c2b5e5 100644 --- a/i18npool/source/localedata/data/ast_ES.xml +++ b/i18npool/source/localedata/data/ast_ES.xml @@ -20,7 +20,7 @@ , ; , - , + @@ -200,102 +200,164 @@ sun - Dom - Domingu + dom + domingu mon - Llu - Llunes + llu + llunes tue - Mar - Martes + mar + martes wed - Mié - Miércoles + mié + miércoles thu - Xue - Xueves + xue + xueves fri - Vie - Vienres + vie + vienres sat - Sáb - Sábadu + sáb + sábadu jan - Xin - Xineru + xin + xineru feb - Feb - Febreru + feb + febreru mar - Mar - Marzu + mar + marzu apr - Abr - Abril + abr + abril may - May - Mayu + may + mayu jun - Xun - Xunu + xun + xunu jul - Xnt - Xunetu + xnt + xunetu aug - Ago - Agostu + ago + agostu sep - Set - Setiembre + set + setiembre oct - Och - Ochobre + och + ochobre nov - Pay - Payares + pay + payares dec - Avi - Avientu + avi + avientu + + + jan + xin + de xineru + + + feb + feb + de febreru + + + mar + mar + de marzu + + + apr + abr + d'abril + + + may + may + de mayu + + + jun + xun + de xunu + + + jul + xnt + de xunetu + + + aug + ago + d'agostu + + + sep + set + de setiembre + + + oct + och + d'ochobre + + + nov + pay + de payares + + + dec + avi + d'avientu + + bc @@ -332,10 +394,10 @@ Braero Falso - 1er Trimestre - 2u Trimestre - 3er Trimestre - 4u Trimestre + 1er trimestre + 2u trimestre + 3er trimestre + 4u trimestre arriba abaxo T1 @@ -356,4 +418,4 @@ - + \ No newline at end of file ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/gd_GB.xml | 274 +- 1 file changed, 194 insertions(+), 80 deletions(-) New commits: commit d197a4d99ccdc2e7971363b6c5a7004f714a6238 Author: Michael Bauer Date: Wed Nov 23 12:47:40 2011 +0100 added Gaelic (Scotland) [gd-GB] genitive case month names diff --git a/i18npool/source/localedata/data/gd_GB.xml b/i18npool/source/localedata/data/gd_GB.xml index 0a1c64a..b08f61e 100644 --- a/i18npool/source/localedata/data/gd_GB.xml +++ b/i18npool/source/localedata/data/gd_GB.xml @@ -19,8 +19,8 @@ : . ; -, -, + + @@ -32,148 +32,200 @@ m f -metric +Metric - + General + - + 0 + - + 0.00 + - + #,##0 + - + #,##0.00 + - + #,###.00 - - -0.00E+00 - - -0.00E+000 - - -0% - - -0.00% - - + + + + #,##0_);(#,##0) + + + + #,##0.00_);(#,##0.00) + + + [CURRENCY]#,##0;-[CURRENCY]#,##0 + - + [CURRENCY]#,##0.00;-[CURRENCY]#,##0.00 + - + [CURRENCY]#,##0;[RED]-[CURRENCY]#,##0 + - + [CURRENCY]#,##0.00;[RED]-[CURRENCY]#,##0.00 + - -CCC#,##0.00 + +#,##0.00 CCC + - + [CURRENCY]#,##0.--;[RED]-[CURRENCY]#,##0.-- + + + +0% + - -D/MM/YY + +0.00% + - -DD, + +0.00E+000 + + + +0.00E+00 + - + DD/MM/YY + + + +NN DD/MMM YY + + + +MM/YY + + + +DD/MMM + + + + + + + +QQ YY + - + DD/MM/ + + + +DD/MM/YY + - -D, MMM YY + +DD + - -D, MMM + +D MMM YY + - -D, MMM + +D MMM + - -D, + +D + - -D, YY + +NN D MMM YY + - -NN, DD/MMM/YY + +NN D + - -NN, D, MMM YY + +D + - -NN, D, + +D. MMM. + - -D, + +D. + - -MM/DD + +MM-DD + - + YY-MM-DD ISO 8601 - + -MM-DD ISO 8601 - -MM/YY - - -MMM/DD - - - - - -QQ YY - - + WW + - + HH:MM + - + HH:MM:SS + - + HH:MM AM/PM + - + HH:MM:SS AM/PM + - + [HH]:MM:SS + - + MM:SS.00 + - + [HH]:MM:SS.00 + - + DD/MM/YY HH:MM + - -DD/MM/ HH:MM:SS AM/PM + +DD/MM/ HH:MM:SS + @@ -295,6 +347,68 @@ Dùbhlachd + + +jan +Faoi +dhen Fhaoilleach + + +feb +Gearr +dhen Ghearran + + +mar +Mà rt +dhen Mhà rt + + +apr +Gibl +dhen Ghiblean + + +may +Cèit +dhen Chèitean + + +jun +Ãgmh +dhen Ãgmhios + + +jul +Iuch +dhen Iuchar + + +aug +Lùna +dhen Lùnastal + + +sep +Sult +dhen t-Sultain + + +oct +Dà mh +dhen Dà mhair + + +nov +Samh +dhen t-Samhain + + +dec +Dùbh +dhen Dùbhlachd + + bc ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/linkermapfile-check.awk | 105 1 file changed, 105 deletions(-) New commits: commit 5e429334a9998ba254615077a81adca218f89674 Author: Eike Rathke Date: Mon Nov 21 20:49:21 2011 +0100 remove obsolete linkermapfile-check.awk diff --git a/i18npool/source/localedata/data/linkermapfile-check.awk b/i18npool/source/localedata/data/linkermapfile-check.awk deleted file mode 100644 index baa703a..000 --- a/i18npool/source/localedata/data/linkermapfile-check.awk +++ /dev/null @@ -1,105 +0,0 @@ -#!/usr/bin/gawk -f -# Usage: gawk -f linkermapfile-check.awk *.map *.xml -# Order of *.map *.xml is important, otherwise all symbols are reported to be -# missing. -# Checks if all symbols of all locale data are present in the symbol scoping -# linker mapfiles. Any output indicates a missing symbol, ../localedata.cxx is -# grep'ed to indicate the library to which mapfile the symbol should be added. -# Author: Eike Rathke - -BEGIN { -bAnyMissing = 0 -file = "" -nMap = 0 -nMaps = 0 -nPublics = 0 -sPublic[nPublics++] = "getAllCalendars_" -sPublic[nPublics++] = "getAllCurrencies_" -sPublic[nPublics++] = "getAllFormats0_" -bOptional[nPublics] = 1 # getAllFormats1 most times not present -sPublic[nPublics++] = "getAllFormats1_" -sPublic[nPublics++] = "getBreakIteratorRules_" -sPublic[nPublics++] = "getCollationOptions_" -sPublic[nPublics++] = "getCollatorImplementation_" -sPublic[nPublics++] = "getContinuousNumberingLevels_" -sPublic[nPublics++] = "getForbiddenCharacters_" -sPublic[nPublics++] = "getLCInfo_" -sPublic[nPublics++] = "getLocaleItem_" -sPublic[nPublics++] = "getOutlineNumberingLevels_" -sPublic[nPublics++] = "getReservedWords_" -sPublic[nPublics++] = "getSearchOptions_" -sPublic[nPublics++] = "getTransliterations_" -sPublic[nPublics++] = "getIndexAlgorithm_" -sPublic[nPublics++] = "getUnicodeScripts_" -sPublic[nPublics++] = "getFollowPageWords_" -} - -file != FILENAME { -file = FILENAME -if ( file ~ /\.map$/ ) -{ -sMapFile[nMaps] = file -nMap = nMaps -++nMaps -} -else if ( file ~ /\.xml$/ ) -{ -bOut = 0 -n = split( file, arr, /[:\\\/.]/ ) -locale = arr[n-1] -for ( i=0; i 0 ) -{ -if ( $0 ~ search ) -{ -bOut = 1 -print "../localedata.cxx says this should go into: " $0 -} -} -close( "../localedata.cxx" ) -if ( !bOut ) -print "../localedata.cxx doesn't indicate to which lib this belongs to:" -bOut = 1 -} -print symbol -} -} -if ( bOut) -{ -printf("\n") -bAnyMissing = 1 -} -nextfile -} -else -nextfile -} - -# only reached if .map file encountered, read in symbols -{ -if ( $1 ~ /;$/ ) -sSymbol[nMap,$1] = 1 -} - -END { -if ( !bAnyMissing ) -print "All good." >>"/dev/stderr" -} ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/data/lt_LT.xml | 64 +- 1 file changed, 63 insertions(+), 1 deletion(-) New commits: commit a422892eee28eb3d299c61bd0510ff951a8ca64f Author: Modestas Rimkus Date: Mon Nov 21 20:18:41 2011 +0100 added Lithuanian [lt-LT] nominative / genitive case month names diff --git a/i18npool/source/localedata/data/lt_LT.xml b/i18npool/source/localedata/data/lt_LT.xml index cd4cb0a..99bb042 100644 --- a/i18npool/source/localedata/data/lt_LT.xml +++ b/i18npool/source/localedata/data/lt_LT.xml @@ -260,6 +260,68 @@ jan Sau + sausis + + + feb + Vas + vasaris + + + mar + Kov + kovas + + + apr + Bal + balandis + + + may + Geg + geguÅ¾Ä + + + jun + Bir + birželis + + + jul + Lie + liepa + + + aug + Rgp + rugpjÅ«tis + + + sep + Rgs + rugsÄjis + + + oct + Spl + spalis + + + nov + Lap + lapkritis + + + dec + Grd + gruodis + + + + + jan + Sau sausio @@ -317,7 +379,7 @@ Grd gruodžio - + bc ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/Makefile |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) New commits: commit 3739278cefa4f604d96fc8c1047de22687e064ed Author: Eike Rathke Date: Mon Nov 21 14:12:14 2011 +0100 still cygwin is not unix diff --git a/i18npool/source/localedata/Makefile b/i18npool/source/localedata/Makefile index 5b899f0..6c3774e 100755 --- a/i18npool/source/localedata/Makefile +++ b/i18npool/source/localedata/Makefile @@ -36,13 +36,15 @@ my_components := component/sax/source/expatwrap/expwrap.component localedata_%.cxx : localedata_%_invis.cxx sed 's/\(^.*get[^;]*$$\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@ -localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data)/%.xml saxparser.rdb \ - $(OUTDIR_FOR_BUILD)/bin/saxparser$(gb_Executable_EXT_for_build) ifeq ($(OS_FOR_BUILD),WNT) +localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data)/%.xml saxparser.rdb \ + $(OUTDIR)/bin/saxparser$(gb_Executable_EXT) $(gb_Helper_execute)saxparser $* `cygpath -m $<` $@ \ $(my_file)`cygpath -m $(WORKDIR)/CustomTarget/i18npool/source/localedata/saxparser.rdb` `cygpath -m $(OUTDIR)/bin/types.rdb` \ -env:LO_LIB_DIR=$(my_file)`cygpath -m $(OUTDIR)/bin` else +localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data)/%.xml saxparser.rdb \ + $(OUTDIR_FOR_BUILD)/bin/saxparser$(gb_Executable_EXT_for_build) $(gb_Helper_execute)saxparser $* $< $@ \ $(my_file)$(WORKDIR_FOR_BUILD)/CustomTarget/i18npool/source/localedata/saxparser.rdb $(OUTDIR_FOR_BUILD)/bin/types.rdb \ -env:LO_LIB_DIR=$(my_file)$(OUTDIR_FOR_BUILD)/lib ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 63d29ac431f492595486512ba413454baf636b65 Author: Eike Rathke Date: Sun Nov 20 03:14:34 2011 +0100 hopefully gb_Executable_EXT_for_build does it diff --git a/i18npool/source/localedata/Makefile b/i18npool/source/localedata/Makefile index 246385c..5b899f0 100755 --- a/i18npool/source/localedata/Makefile +++ b/i18npool/source/localedata/Makefile @@ -37,7 +37,7 @@ localedata_%.cxx : localedata_%_invis.cxx sed 's/\(^.*get[^;]*$$\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@ localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data)/%.xml saxparser.rdb \ - $(OUTDIR_FOR_BUILD)/bin/saxparser$(gb_Executable_EXT) + $(OUTDIR_FOR_BUILD)/bin/saxparser$(gb_Executable_EXT_for_build) ifeq ($(OS_FOR_BUILD),WNT) $(gb_Helper_execute)saxparser $* `cygpath -m $<` $@ \ $(my_file)`cygpath -m $(WORKDIR)/CustomTarget/i18npool/source/localedata/saxparser.rdb` `cygpath -m $(OUTDIR)/bin/types.rdb` \ ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit ef23848eb252e65e0f83250512547ce684e6d4eb Author: Eike Rathke Date: Sun Nov 20 01:04:54 2011 +0100 change OUTDIR to OUTDIR_FOR_BUILD for cross-compilation diff --git a/i18npool/source/localedata/Makefile b/i18npool/source/localedata/Makefile index d279269..246385c 100755 --- a/i18npool/source/localedata/Makefile +++ b/i18npool/source/localedata/Makefile @@ -37,7 +37,7 @@ localedata_%.cxx : localedata_%_invis.cxx sed 's/\(^.*get[^;]*$$\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@ localedata_%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/localedata/data)/%.xml saxparser.rdb \ - $(OUTDIR)/bin/saxparser$(gb_Executable_EXT) + $(OUTDIR_FOR_BUILD)/bin/saxparser$(gb_Executable_EXT) ifeq ($(OS_FOR_BUILD),WNT) $(gb_Helper_execute)saxparser $* `cygpath -m $<` $@ \ $(my_file)`cygpath -m $(WORKDIR)/CustomTarget/i18npool/source/localedata/saxparser.rdb` `cygpath -m $(OUTDIR)/bin/types.rdb` \ ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/breakiterator/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 28a9c86fface5d4674d9f47d92e6eee8cacf2087 Author: Jan Holesovsky Date: Tue Oct 4 09:42:28 2011 +0200 Fix typo (SYSTEM_GENCODE, instead of SYSTEM_GENCCODE). diff --git a/i18npool/source/breakiterator/Makefile b/i18npool/source/breakiterator/Makefile index e292258..011dd6f 100644 --- a/i18npool/source/breakiterator/Makefile +++ b/i18npool/source/breakiterator/Makefile @@ -49,7 +49,7 @@ else GENBRK := $(SYSTEM_GENBRK) endif -ifeq ($(SYSTEM_GENCODE),) +ifeq ($(SYSTEM_GENCCODE),) GENCCODE := $(gb_Helper_execute)genccode else GENCCODE := $(SYSTEM_GENCCODE) ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx |8 1 file changed, 4 insertions(+), 4 deletions(-) New commits: commit e0c40b71a9e1dcf6f17a6c2ff1d403e7dca46d8b Author: Tor Lillqvist Date: Mon Oct 3 16:44:30 2011 +0300 WaE: possible loss of data, assignment within conditional expression diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx index a082b02..4541048 100644 --- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx +++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx @@ -404,7 +404,7 @@ void lcl_formatPersianWord( sal_Int32 nNumber, OUString& rsResult ) throw( IllegalArgumentException, RuntimeException ) { OUStringBuffer aTemp(64); -unsigned char nDigit; +unsigned int nDigit; sal_Unicode asPersianWord_conjunction_data[] = {0x20,0x0648,0x20,0}; OUString asPersianWord_conjunction( asPersianWord_conjunction_data ); unsigned char nSection = 0; @@ -426,13 +426,13 @@ void lcl_formatPersianWord( sal_Int32 nNumber, OUString& rsResult ) } else { -if ((nDigit = nPart % 10)) +if ((nDigit = nPart % 10) != 0) { if (aTemp.getLength()) aTemp.insert( 0, asPersianWord_conjunction); aTemp.insert( 0, table_PersianWord_decade1[nDigit]); } -if ((nDigit = (nPart / 10) % 10)) +if ((nDigit = (nPart / 10) % 10) != 0) { if (aTemp.getLength()) aTemp.insert( 0, asPersianWord_conjunction); @@ -440,7 +440,7 @@ void lcl_formatPersianWord( sal_Int32 nNumber, OUString& rsResult ) } } -if ((nDigit = nPart / 100)) +if ((nDigit = nPart / 100) != 0) { if (aTemp.getLength()) aTemp.insert( 0, asPersianWord_conjunction); ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/isolang/inwnt.cxx |2 ++ 1 file changed, 2 insertions(+) New commits: commit e2fdfea605455577a9ffc27cd6a02e4d84c48976 Author: David Tardon Date: Mon Oct 3 09:10:33 2011 +0200 WaE: suggest braces around empty body in an 'else' statement diff --git a/i18npool/source/isolang/inwnt.cxx b/i18npool/source/isolang/inwnt.cxx index db1b252..13c94cb 100644 --- a/i18npool/source/isolang/inwnt.cxx +++ b/i18npool/source/isolang/inwnt.cxx @@ -85,7 +85,9 @@ static void getPlatformSystemLanguageImpl( LanguageType& rSystemLanguage, rSystemLanguage = nLang; } else +{ OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER(); +} } } ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits