Can anyone tell me why this doesn't work?
public interface TestMessages extends Messages {
@DefaultMessage("You have {0} messages")
@PluralText( { "one", "You have 1 message" })
String test(@PluralCount int count);
}
TestMessages messages = GWT.create(TestMessages.class);
Window.aler
Is there no one who can answer Peter's question? Does the
pluralization feature work at all? I've been trying to make use of it
and am completely stumped. (GWT 1.5.3)
-Brandon
On Dec 31 2008, 6:01 pm, otismo wrote:
> Can anyone tell me why this doesn't work?
>
> public interface TestMessage
I'm not sure what's wrong with Peter's code but I use pluralization
with 1.5.3 with property files and it works fine. Using his examples,
instead of the @DefaultMessage and @PluralText annotation, in a
properties file I would have
test[one] = You have 1 message
test = You have {0} messages
Hop