From: Markus S. <mar...@gm...> - 2012-04-11 19:00:37
|
Modifications from today's ICU team meeting: On Fri, Apr 6, 2012 at 9:43 PM, Markus Scherer <mar...@gm...> wrote: > *source/common/unicode/messagepattern.h* > > *A new UMessagePatternArgType value:* > > /** > * The argument is an ordinal-number PluralFormat > * with the same style parts sequence and semantics as > UMSGPAT_ARG_TYPE_PLURAL. > * @draft ICU 50 > */ > UMSGPAT_ARG_TYPE_ORDINAL > This will be UMSGPAT_ARG_TYPE_SELECTORDINAL instead, to match the new argument type keyword. *source/i18n/unicode/msgfmt.h* > > *Updated syntax:* > > * message = messageText (argument messageText)* > * argument = noneArg | simpleArg | complexArg > * complexArg = choiceArg | pluralArg | *ordinalArg | *selectArg > * > * noneArg = '{' argNameOrNumber '}' > * simpleArg = '{' argNameOrNumber ',' argType [',' argStyle] '}' > * choiceArg = '{' argNameOrNumber ',' "choice" ',' choiceStyle '}' > * pluralArg = '{' argNameOrNumber ',' "plural" ',' pluralStyle '}' > * * ordinalArg = '{' argNameOrNumber ',' "plordinal" ',' pluralStyle '}'* > * selectArg = '{' argNameOrNumber ',' "select" ',' selectStyle '}' > > Note: For discussion of the new argument type name (here "plordinal") see > the "Preliminary proposal for Ordinals" email thread. > The new argument type keyword will be "selectordinal", not "plordinal". Best regards, markus |