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+h...@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

Reply via email to