Exact Value Plural Form not being generated by PropertiesFormat generator

21 views
Skip to first unread message

Sanjay

unread,
Aug 6, 2011, 11:24:06 PM8/6/11
to google-we...@googlegroups.com
Hi,

If I have something like this in a Messages interface:
@DefaultMessage("You have {0} documents.")
@AlternateMessage({ 
"=0", "You have no documents.",
"one", "You have 1 document." })
@Description("Number of documents in documents list.")
String numberOfDocuments(@PluralCount int itemCount);
The exact value plural form, ie the "=0" one, is not being generated in the .properties file.

The entry for this in the generated file would look something like:
# Description: Number of documents in documents list.
# 0=itemCount (Plural Count)
# - Default plural form
A285AC4448263DDFA6B40A2AB3F29A52=You have {0} documents.
# - plural form 'one': Count is 1
A285AC4448263DDFA6B40A2AB3F29A52[one]=You have 1 document. 

Anyone dealt with this before? Is this a bug or did I miss something?
Reply all
Reply to author
Forward
0 new messages