Package com.persequor.extension.frontend
Class I18nText
java.lang.Object
com.persequor.extension.frontend.I18nText
- All Implemented Interfaces:
IString
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.persequor.extension.frontend.IString
IString.IStringList
-
Method Summary
-
Method Details
-
of
In order to support translations when this is added in a future version of saga, add the variable part of your text as replacement tokens. Example: I18nText.of("{{1}} {{2}} ran across the {{3}}", "500", "elephants", "savanna"); produces 500 elephants ran across the savanna- Parameters:
text
- Text to be showntokens
- tokens to replace into the text/translated text- Returns:
- Object representing translatable text
-
of
- Parameters:
text
- to appear as a translated string- Returns:
- Object representing translatable text
-
getText
-
getTokens
-
equals
-
hashCode
public int hashCode() -
getType
-