@Component
public class BambooI18nResolver
extends com.atlassian.sal.core.message.AbstractI18nResolver
Constructor and Description |
---|
BambooI18nResolver(I18nBeanFactory i18nBeanFactory) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAllTranslationsForPrefix(String prefix) |
Map<String,String> |
getAllTranslationsForPrefix(String prefix,
Locale locale) |
String |
getRawText(Locale locale,
String key) |
String |
getRawText(String key) |
String |
resolveText(Locale locale,
String key,
Serializable[] arguments) |
String |
resolveText(String key,
Serializable[] arguments) |
@Autowired public BambooI18nResolver(I18nBeanFactory i18nBeanFactory)
public String resolveText(String key, Serializable[] arguments)
resolveText
in class com.atlassian.sal.core.message.AbstractI18nResolver
public String resolveText(Locale locale, String key, Serializable[] arguments)
resolveText
in class com.atlassian.sal.core.message.AbstractI18nResolver
public Map<String,String> getAllTranslationsForPrefix(String prefix, Locale locale)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.