com.atlassian.jira.web.action.admin.translation
Interface TranslationManager

All Known Implementing Classes:
TranslationManagerImpl

public interface TranslationManager


Method Summary
 void deleteIssueConstantTranslation(IssueConstant issueConstant, String issueConstantPrefix, Locale locale)
           
 Map getInstalledLocales()
           
 String getIssueConstantTranslation(IssueConstant issueConstant, boolean name, Locale locale)
           
 String getIssueConstantTranslation(IssueConstant issueConstant, boolean name, String locale)
           
 String getIssueConstantTranslation(IssueConstant issueConstant, boolean name, String locale, I18nHelper i18n)
           
 String getTranslatedDescriptionFromString(String translationString)
           
 String getTranslatedNameFromString(String translationString)
           
 boolean hasLocaleTranslation(IssueConstant issueConstant, String locale)
           
 void setIssueConstantTranslation(IssueConstant issueConstant, String issueConstantPrefix, Locale locale, String translatedName, String translatedDesc)
           
 

Method Detail

getInstalledLocales

public Map getInstalledLocales()

getTranslatedNameFromString

public String getTranslatedNameFromString(String translationString)

getTranslatedDescriptionFromString

public String getTranslatedDescriptionFromString(String translationString)

getIssueConstantTranslation

public String getIssueConstantTranslation(IssueConstant issueConstant,
                                          boolean name,
                                          String locale)

getIssueConstantTranslation

public String getIssueConstantTranslation(IssueConstant issueConstant,
                                          boolean name,
                                          String locale,
                                          I18nHelper i18n)

getIssueConstantTranslation

public String getIssueConstantTranslation(IssueConstant issueConstant,
                                          boolean name,
                                          Locale locale)

hasLocaleTranslation

public boolean hasLocaleTranslation(IssueConstant issueConstant,
                                    String locale)

setIssueConstantTranslation

public void setIssueConstantTranslation(IssueConstant issueConstant,
                                        String issueConstantPrefix,
                                        Locale locale,
                                        String translatedName,
                                        String translatedDesc)

deleteIssueConstantTranslation

public void deleteIssueConstantTranslation(IssueConstant issueConstant,
                                           String issueConstantPrefix,
                                           Locale locale)


Copyright © 2002-2007 Atlassian. All Rights Reserved.