public class DisableTranslation extends Object implements TranslationTransform
Constructor and Description |
---|
DisableTranslation(QunitLocaleSwitcher qunitLocaleSwitcher) |
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 DisableTranslation(QunitLocaleSwitcher qunitLocaleSwitcher)
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-2024 Atlassian. All Rights Reserved.