com.atlassian.jira.plugin.language.TranslationTransform |
Known Indirect Subclasses
|
Class Overview
Implementors of this interface have the opportunity to transform the result of translation lookups made by getUnescapedText(String)
.
(and hence getText(String)
and all its derivatives).
This transform will occur dynamically when the translation is requested.
Summary
Public Methods |
String
|
apply(Locale locale, String key, String rawMessage)
Given a Locale , i18n key and the rawMessage corresponding to them, apply a transformation
on the message to produce a different translation.
|
Public Methods
Given a Locale
, i18n key and the rawMessage corresponding to them, apply a transformation
on the message to produce a different translation.
Parameters
locale
| the locale that was used to translate the input |
key
| the key that was requested for translation |
rawMessage
| the result of the translation lookup |
Returns
- a potentially modified raw message