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