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?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/PlNHZVTEYJEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.