public class PrependTextTransform extends Object implements TranslationTransform
| Constructor and Description |
|---|
PrependTextTransform(String prefix) |
| Modifier and Type | Method and Description |
|---|---|
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 PrependTextTransform(String prefix)
public String apply(Locale locale, String key, String rawMessage)
TranslationTransformLocale, i18n key and the rawMessage corresponding to them, apply a transformation
on the message to produce a different translation.apply in interface TranslationTransformlocale - the locale that was used to translate the inputkey - the key that was requested for translationrawMessage - the result of the translation lookupCopyright © 2002-2024 Atlassian. All Rights Reserved.