blob: e065e43f4f9df792d5f6368ab1dd6ffef15006a1 [file] [log] [blame]
package com.google.gwt.examples.i18n;
import com.google.gwt.i18n.client.Messages;
public interface GameStatusMessagesAnnot extends Messages {
/**
* @param username the name of a player
* @param numTurns the number of turns remaining
* @return a message specifying the remaining turns for a player
*/
@DefaultMessage("Turns left for player ''{0}'': {1}")
String turnsLeft(String username, int numTurns);
/**
* @param numPoints the number of points
* @return a message describing the current score for the current player
*/
@DefaultMessage("Current score: {0}")
String currentScore(int numPoints);
}