@Override public ResourceBundle getResourceBundle() { return i18nHelper.getResourceBundle(); }
@Override public ResourceBundle getResourceBundle() { return delegate.getResourceBundle(); }
@Override public String prettyPrint(long periodOffSet) { return DateUtils.getDurationPretty(periodOffSet, i18n.getResourceBundle()); } }
@Override public ResourceBundle getResourceBundle() { return getI18nHelper().getResourceBundle(); }
private boolean valueOnIssueConstantIsTheDefault(IssueConstant issueConstant, boolean name) { I18nHelper defaultI18n = beanFactory.getInstance(Locale.ROOT); String key = getI18NTranslationKey(issueConstant, name); String defaultValue = defaultI18n.getResourceBundle().containsKey(key) ? defaultI18n.getResourceBundle().getString(key) : null; if (name) { return issueConstant.getName() != null && issueConstant.getName().equals(defaultValue); } return issueConstant.getDescription() != null && issueConstant.getDescription().equals(defaultValue); }
public String format(Long duration, Locale locale) { return format(duration, locator.getHelper(locale).getResourceBundle()); }