|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.locale.MTranslation
public class MTranslation
This mixin contains the methods needed to use the translation features of qooxdoo.
Constructor Summary | |
---|---|
MTranslation()
|
Method Summary | |
---|---|
String |
marktr(String messageId)
Mark the message for translation but return the original message. |
LocalizedString |
tr(String messageId,
java.lang.Object varargs)
Translate a message Mark the message for translation. |
LocalizedString |
trn(String singularMessageId,
String pluralMessageId,
java.lang.Integer count,
java.lang.Object varargs)
Translate a plural message Mark the messages for translation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MTranslation()
Method Detail |
---|
public String marktr(String messageId)
Mark the message for translation but return the original message.
public LocalizedString tr(String messageId, java.lang.Object varargs)
Translate a message Mark the message for translation.
public LocalizedString trn(String singularMessageId, String pluralMessageId, java.lang.Integer count, java.lang.Object varargs)
Translate a plural message Mark the messages for translation.
Depending on the third argument the plursl or the singular form is chosen.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |