PluralFormat replaces quoted # signs

Description

Deleted Component: formatting

I tried a `MessageFormat("a_{0,plural,other{num=#'#'=#'#'={1,number,##}!}}_z")` with values [7|15,].

I expected "a_num=15#=15#=7!_z" but got "a_num=1515=1515=7!_z".

I verified that the `insertFormattedNumber()` function handles `{}` (hence the nested `{1,number,##}` works fine) but ignores apostrophes.

Activity

Show:
TracBot
July 1, 2018, 12:11 AM
Trac Comment 2 by —2011-04-08T19:05:31.717Z

Part of ticket #8319 implementation.

TracBot
July 1, 2018, 12:11 AM
Trac Comment 3 by —2011-04-22T21:08:04.432Z

See TestMessageFormat.testApostropheInPluralAndSelect() & TestMessageFormat::testApostropheInPluralAndSelect().

Fixed

Assignee

Markus Scherer

Reporter

Markus Scherer

Components

None

Labels

None

Reviewer

None

Priority

medium

Time Needed

Hours

Fix versions