@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?