com.atlassian.jira.dev.i18n
Class QunitLocaleSwitcher

java.lang.Object
  extended by com.atlassian.jira.dev.i18n.QunitLocaleSwitcher

public class QunitLocaleSwitcher
extends Object

Component for disabling and enabling translations for qunit tests.


Field Summary
static Locale EN_MOON
           
 
Constructor Summary
QunitLocaleSwitcher(JiraAuthenticationContext authenticationContext, UserPreferencesManager userPreferencesManager, ApplicationProperties applicationProperties)
           
 
Method Summary
 void disableTranslations()
           
 void resetTranslations()
           
 boolean shouldDisableTranslationFor(Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EN_MOON

public static final Locale EN_MOON
Constructor Detail

QunitLocaleSwitcher

public QunitLocaleSwitcher(JiraAuthenticationContext authenticationContext,
                           UserPreferencesManager userPreferencesManager,
                           ApplicationProperties applicationProperties)
Method Detail

disableTranslations

public void disableTranslations()

resetTranslations

public void resetTranslations()

shouldDisableTranslationFor

public boolean shouldDisableTranslationFor(Locale locale)


Copyright © 2002-2014 Atlassian. All Rights Reserved.