public final class FndTranslation
extends java.lang.Object
&<number>
).
A message constructed can be sent to the translate method in order
to translate it to other languages.
This function is only a stub for the moment, lacking implementation.Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getTextId(java.lang.String text)
Get text id of a message (the unique idenitifier).
|
static java.lang.String |
translate(java.lang.String text,
java.lang.String... p1)
Translate a message and replace parameters, if there are any.
|
public static java.lang.String getTextId(java.lang.String text)
text
- the text to get the id from.public static java.lang.String translate(java.lang.String text, java.lang.String... p1)
text
- the text to translate.p1
- the parameter values.