Hi Joan,
On Monday, 2011-11-21 13:46:03 +0100, Joan Montané wrote:
Yes, with "current months" I was mean <MonthsOfYear>. Ok, it looks fine for
me. I will update the Catalan xml file. Just one more question.
With M, MM, MMM, MMMM and MMMMM codes we can generate diferent months
strings. So, what code is used to generate GenitiveMonths strings? there
exists such code?
There is no new code. As said, the decision whether to display
nominative or genitive name is rule based during runtime:
* if a day of month is present in the format code, the genitive name for
MMM and MMMM is displayed
* if no day of month in the format code is oresent, the nominative name
for MMM and MMMM is displayed
The MMMMM code is a bit problematic, it can't be stored in the ODF file
format and is translated to an equivalent of MMM, so I didn't mention
that while I was at it I also added an optional <DefaultNarrowName>
element to the month (and day) name elements ;-) Something for the
future.
In Catalan, we use only de prepositon "de" (or d') in long date formats. So
current M, MM, MMM and MMMM codes work fine. Is there some way to generate
<GenitiveMonths> with a custom date format?
Simple, the runtime rules are applied, no need for specific genitive
case date formats.
Eike
--
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD
--
Unsubscribe instructions: E-mail to l10n+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.