java.lang.Object
i2p.susi.webmail.Messages
Provides internationalization and string translation for the webmail package.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final I2PAppContextSupplies the locale the translated strings are looked up in.private static final StringThe bundle holding the webmail strings.Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionTranslate a key to the current locale.static StringGet a translated pluralized string based on a count.static StringGet a translated string for the given key.static StringGet a translated string with a parameter.static StringGet a translated string with two parameters.
Field Details
BUNDLE_NAME
The bundle holding the webmail strings.- See Also:
_context
Supplies the locale the translated strings are looked up in.
Constructor Details
Messages
public Messages()Default constructor, uses global context.
Method Details
_t
getString
getString
getString
getString