Package com.codebarrel.i18n
Class JiraI18nResolver
java.lang.Object
com.codebarrel.i18n.JiraI18nResolver
- All Implemented Interfaces:
I18nResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a translated string for the given key, or the key if no translations can be found.getText
(String key, Serializable... params) Returns a translated string for the given key and params, or the key if no translations can be found.
-
Constructor Details
-
JiraI18nResolver
-
-
Method Details
-
getText
Description copied from interface:I18nResolver
Returns a translated string for the given key, or the key if no translations can be found.- Specified by:
getText
in interfaceI18nResolver
- Parameters:
key
- The key of the translation.- Returns:
- Translated text
-
getText
Description copied from interface:I18nResolver
Returns a translated string for the given key and params, or the key if no translations can be found.- Specified by:
getText
in interfaceI18nResolver
- Parameters:
key
- The key of the translation.params
- Additional parameters to use in the translation.- Returns:
- Translated text
-