com.atlassian.jira.util
Interface I18nHelper

All Known Implementing Classes:
AbstractAddScheme, AbstractAddWorkflowTransitionDescriptor, AbstractAddWorkflowTransitionDescriptorParams, AbstractBrowser, AbstractBulkOperationAction, AbstractBulkOperationDetailsAction, AbstractCommentableAssignableIssue, AbstractCommentableIssue, AbstractConfigureFieldLayout, AbstractConstantAction, AbstractConvertIssue, AbstractCopyScheme, AbstractDeleteConstant, AbstractDeleteScheme, AbstractDeleteWorkflowTransitionDescriptor, AbstractEditConfigurationItemAction, AbstractEditConstant, AbstractEditFieldLayoutItem, AbstractEditFieldLayoutSchemeAction, AbstractEditScheme, AbstractEditWorkflowTransitionDescriptorParams, AbstractFieldLayoutAction, AbstractFieldScreenAction, AbstractFieldScreenSchemeAction, AbstractFieldScreenSchemeItemAction, AbstractGroupToRoleAction, AbstractImportEntity, AbstractImportIssue, AbstractIssueAction, AbstractIssueSelectAction, AbstractIssueUpdateAction, AbstractManageIssueTypeOptionsAction, AbstractMergeAction, AbstractProjectAction, AbstractProjectEntityCreate, AbstractProjectEntityEdit, AbstractProjectImportProgress, AbstractProjectImportUsersMissing, AbstractProjectRole, AbstractRoleActorAction, AbstractRoleActors, AbstractSaveConfiguration, AbstractSchemeAware, AbstractSchemeAwareAction, AbstractSchemePickerAction, AbstractSchemePurgeAction, AbstractSchemeToolAction, AbstractSelectProjectScheme, AbstractSetupAction, AbstractTrustedApplicationAction, AbstractUserAction, AbstractViewConstants, AbstractViewIssue, AbstractViewIssueColumns, AbstractViewSchemes, AbstractViewWorkflowMetaAttributes, AbstractWorkflowStep, AbstractWorkflowTransition, AbstractWorkflowTransitionAction, AbstractWorklogAction, AcknowledgeTask, ActivateWorkflow, ActivateWorkflowStep2, AddComment, AddComponent, AddIssueSecurity, AddMailServer, AddNotification, AddPermission, AddPortalPage, AddProject, AddProjectCategory, AddProjectEntity, AddRepository, AddScheme, AddScheme, AddScheme, AddScheme, AddUser, AddVersion, AddWorkflowSchemeEntity, AddWorkflowTransition, AddWorkflowTransitionCondition, AddWorkflowTransitionConditionParams, AddWorkflowTransitionFunctionParams, AddWorkflowTransitionPostFunction, AddWorkflowTransitionValidator, AddWorkflowTransitionValidatorParams, AdjustFavourite, AllUsersRememberMeCookies, AssignIssue, AssociateFieldToScreens, AssociateIssueTypeSchemes, AssociateIssueTypeSchemesWithDefault, AttachFile, AttachScreenshot, AttachTemporaryFile, AvatarPicker, BaseImporter, BrowseComponent, BrowseProject, BrowseProjects, BrowseVersion, BugzillaImport, BulkCancelWizard, BulkChooseOperation, BulkDelete, BulkEdit, BulkEdit1, BulkEditUserGroups, BulkMigrate, BulkMove, BulkWorkflowTransition, CantBrowseCreatedIssue, ChangePassword, CleanData, ClearRememberMeCookies, CloneIssueDetails, CloneWorkflow, CommentAssignIssue, ComponentEdit, ConfigureCsvMapping, ConfigureCustomField, ConfigureFieldLayout, ConfigureFieldLayoutScheme, ConfigureFieldScreen, ConfigureFieldScreenScheme, ConfigureFogBugzMapping, ConfigureIssueCache, ConfigureIssueTypeOptionScheme, ConfigureIssueTypeScreenScheme, ConfigureLogging, ConfigureOptionScheme, ConfigurePortalPages, ConfigureReport, ConfirmInstallationWithLicense, ConfirmNewInstallationWithOldLicense, ConvertIssueToSubTask, ConvertSubTaskToIssue, CopyFieldLayout, CopyFieldLayoutScheme, CopyScheme, CopyScheme, CopyScheme, CopyScheme, CreateCustomField, CreateDraftWorkflow, CreateIssue, CreateIssueDetails, CreateSubTaskIssue, CreateSubTaskIssueDetails, CreateWorklog, CsvImporter, CurrentUsersList, Dashboard, DataClean, DataExport, DataImport, DateRangePicker, DeleteAttachment, DeleteAvatar, DeleteComment, DeleteComponent, DeleteCustomField, DeleteFilter, DeleteGroup, DeleteIssue, DeleteIssueSecurity, DeleteIssueSecurityLevel, DeleteIssueType, DeleteLinkType, DeleteMailServer, DeleteNotification, DeleteOptionScheme, DeletePermission, DeletePortalPage, DeletePriority, DeleteProject, DeleteProjectCategory, DeleteProjectEntity, DeleteProjectRole, DeleteRepository, DeleteResolution, DeleteScheme, DeleteScheme, DeleteScheme, DeleteScheme, DeleteScheme, DeleteStatus, DeleteSubTaskIssueType, DeleteTrustedApplication, DeleteUser, DeleteUserProperty, DeleteVersion, DeleteWorkflowSchemeEntity, DeleteWorkflowStep, DeleteWorkflowTransitionCondition, DeleteWorkflowTransitionPostFunction, DeleteWorkflowTransitions, DeleteWorkflowTransitionValidator, DeleteWorklog, DisableSubTasks, EditAnnouncementBanner, EditApplicationProperties, EditAttachmentSettings, EditBasicConfig, EditComment, EditComponent, EditCustomField, EditCustomFieldDefaults, EditCustomFieldOptions, EditDefaultDashboard, EditDefaultFieldLayoutItem, EditFieldLayout, EditFieldLayoutItem, EditFieldLayoutItemRenderer, EditFieldLayoutItemRendererConfirmation, EditFieldLayoutScheme, EditFieldScreen, EditFieldScreenScheme, EditFieldScreenSchemeItem, EditFilter, EditIssue, EditIssueSecurities, EditIssueType, EditIssueTypeScreenScheme, EditLabels, EditLinkType, EditListener, EditLookAndFeel, EditNotifications, EditPermissions, EditPortalPage, EditPriority, EditProfile, EditProject, EditProjectCategory, EditProjectEntity, EditProjectRole, EditResolution, EditScheme, EditScheme, EditScheme, EditScheme, EditService, EditStatus, EditSubTaskIssueTypes, EditTrustedApplication, EditUser, EditUserDefaultSettings, EditUserGroups, EditUserProjectRoles, EditUserProperties, EditUserProperty, EditVersionArchives, EditVersionDetails, EditVersionReleases, EditWorkflow, EditWorkflowSchemeEntities, EditWorkflowStep, EditWorkflowTransition, EditWorkflowTransitionConditionParams, EditWorkflowTransitionPostFunctionParams, EditWorkflowTransitionValidatorParams, EnterpriseSelectProjectRepository, FavouriteFilters, FilterPickerPopup, FilterSubscription, FogBugzImport, ForgotLoginDetails, FuncTestWriter, GenericEditProfile, GlobalPermissions, GroupBrowser, GroupPickerBrowser, GroupRoleActorAction, I18nBean, IconPicker, ImportAll, ImportWorkflow, IndexAdminImpl, IndexOptimize, IntegrityChecker, IssueActionSupport, IssueDelete, IssueNavigator, IssuePicker, IssueUpdate, JellyRunner, JiraActionSupport, JiraNonWebActionSupport, JiraSupportRequest, JiraWebActionSupport, JiraWizardActionSupport, LDAPConfigurer, LinkExistingIssue, ListenerCreate, ListenerDelete, ListEventTypes, ListWorkflows, Logout, MailQueueAdmin, MailServerActionSupport, ManageAttachments, ManageConfigurationScheme, ManageFilters, ManageIssueTypeSchemes, ManageLinks, ManageSubscriptions, ManageSubTasks, ManageTrackbacks, ManageVersions, ManageWatchers, MantisImport, MapColumns, MapCustomFields, MapIssueTypes, MapPriorities, MapResolutions, MapStatuses, MapUsers, MapValidateImport, MergeVersions, MigrateIssueTypes, MoveIssue, MoveIssueConfirm, MoveIssueSubtasks, MoveIssueUpdateFields, MoveIssueUpdateWorkflow, MoveSubTask, MoveSubTaskChooseOperation, MoveSubTaskParent, ProjectActionSupport, ProjectCategoryCreate, ProjectCategoryDelete, ProjectCategoryEdit, ProjectEmail, ProjectImportBackupOverviewProgress, ProjectImportMappingProgress, ProjectImportMissingMandatoryUsersCannotCreate, ProjectImportMissingMandatoryUsersExtMgmt, ProjectImportMissingOptionalUsersCannotCreate, ProjectImportMissingOptionalUsersExtMgmt, ProjectImportMissingUsersAutoCreate, ProjectImportProgress, ProjectImportResultsAction, ProjectImportSelectBackup, ProjectImportSelectProject, ProjectImportSummary, ProjectRoleUsageAction, PublishDraftWorkflow, QuickSearch, RecentIssueHistory, ReleaseNote, RepositoryActionSupport, RepositoryTest, ResetFailedLoginCount, ResetPassword, RestoreDefaultDashboard, RunPortlet, SaveAsFilter, SaveConfiguration, SaveFilter, SchedulerAdmin, SchemeAwareIssueSecurityAction, SchemeAwareNotificationAction, SchemeAwarePermissionAction, SchemeAwareWorkflowAction, SchemeComparisonPickerAction, SchemeComparisonToolAction, SchemeGroupToRoleMapperAction, SchemeGroupToRolePickerAction, SchemeGroupToRoleResultAction, SchemeGroupToRoleTransformerAction, SchemeMergeAction, SchemeMergePreviewAction, SchemeMergeResultAction, SchemePurgeToolPreviewAction, SchemePurgeToolResultsAction, SchemePurgeTypePickerAction, SchemeToolsAction, SchemeTypePickerAction, SearchDescriptionEnabledAction, SelectComponentAssignees, SelectFieldLayoutScheme, SelectIssueTypeSchemeForProject, SelectIssueTypeScreenScheme, SelectProjectCategory, SelectProjectIssueSecurityScheme, SelectProjectPermissionScheme, SelectProjectRepository, SelectProjectScheme, SelectProjectSecuritySchemeStep2, SelectProjectWorkflowScheme, SelectProjectWorkflowSchemeStep2, SelectProjectWorkflowSchemeStep3, SelectScreenScheme, SendBulkMail, SendTestMail, ServiceExecutor, SessionTimeoutMessage, SetGlobalEmailPreference, SetPassword, SetSelectedIssue, Setup, Setup2, Setup2Existing, Setup3, SetupComplete, SetupDisplayLocaleInfo, SetupImport, ShowConstantsHelp, ShowTimeTrackingHelp, Signup, SimpleWorkflowAction, TaskAdmin, TimeTrackingAdmin, TrackbackAdmin, UpdateIssueFields, UpdateMailServer, UpdateRepository, UpdateUserPreferences, UpdateWorklog, UploadXmlFile, UserBrowser, UserPickerBrowser, UserProperty, UserRememberMeCookies, UserRoleActorAction, ViewApplicationProperties, ViewAttachmentSettings, ViewCustomFields, ViewDefaultProjectRoleActors, ViewFieldLayouts, ViewFieldScreens, ViewFieldScreenSchemes, ViewGroup, ViewIssue, ViewIssueColumns, ViewIssueFields, ViewIssueTypes, ViewIssueTypeScreenSchemes, ViewKeyboardShortcuts, ViewLicense, ViewLinkTypes, ViewListeners, ViewLogging, ViewLookAndFeel, ViewMemoryInfo, ViewPlugins, ViewPriorities, ViewProfile, ViewProject, ViewProjectRoleActors, ViewProjectRoles, ViewProjects, ViewResolutions, ViewSchemes, ViewSchemes, ViewSchemes, ViewSchemes, ViewSchemes, ViewSearchRequestIssueColumns, ViewServices, ViewStatuses, ViewSystemInfo, ViewTranslations, ViewTrustedApplications, ViewUpgradeHistory, ViewUser, ViewUserDefaultSettings, ViewUserHover, ViewUserIssueColumns, ViewUserProjectRoles, ViewVoters, ViewWorkflowStep, ViewWorkflowStepMetaAttributes, ViewWorkflowSteps, ViewWorkflowTransition, ViewWorkflowTransitionConditionalResult, ViewWorkflowTransitionMetaAttributes, ViewWorkflowXml, VoteOrWatchIssue, WikiRendererHelpAction, WorkflowUIDispatcher, XmlBackup, XsrfErrorAction

public interface I18nHelper


Nested Class Summary
static interface I18nHelper.BeanFactory
           
 
Method Summary
 java.util.ResourceBundle getDefaultResourceBundle()
           
 java.util.Set<java.lang.String> getKeysForPrefix(java.lang.String prefix)
          Given a prefix for an i18n key, this method will return all keys that start with the prefix specified.
 java.util.Locale getLocale()
           
 java.lang.String getText(java.lang.String key)
           
 java.lang.String getText(java.lang.String key, java.lang.Object parameters)
           
 java.lang.String getText(java.lang.String key, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3, java.lang.Object value4, java.lang.Object value5, java.lang.Object value6)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1, java.lang.String value2)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1, java.lang.String value2, java.lang.String value3)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1, java.lang.String value2, java.lang.String value3, java.lang.String value4)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.lang.String value5, java.lang.String value6, java.lang.String value7)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.lang.String value5, java.lang.String value6, java.lang.String value7, java.lang.String value8, java.lang.String value9)
           
 java.lang.String getUnescapedText(java.lang.String key)
           
 

Method Detail

getText

java.lang.String getText(java.lang.String key)

getLocale

java.util.Locale getLocale()

getUnescapedText

java.lang.String getUnescapedText(java.lang.String key)

getText

java.lang.String getText(java.lang.String key,
                         java.lang.String value1)

getText

java.lang.String getText(java.lang.String key,
                         java.lang.String value1,
                         java.lang.String value2)

getText

java.lang.String getText(java.lang.String key,
                         java.lang.String value1,
                         java.lang.String value2,
                         java.lang.String value3)

getText

java.lang.String getText(java.lang.String key,
                         java.lang.String value1,
                         java.lang.String value2,
                         java.lang.String value3,
                         java.lang.String value4)

getText

java.lang.String getText(java.lang.String key,
                         java.lang.Object value1,
                         java.lang.Object value2,
                         java.lang.Object value3,
                         java.lang.Object value4,
                         java.lang.Object value5,
                         java.lang.Object value6)

getText

java.lang.String getText(java.lang.String key,
                         java.lang.String value1,
                         java.lang.String value2,
                         java.lang.String value3,
                         java.lang.String value4,
                         java.lang.String value5,
                         java.lang.String value6,
                         java.lang.String value7)

getText

java.lang.String getText(java.lang.String key,
                         java.lang.String value1,
                         java.lang.String value2,
                         java.lang.String value3,
                         java.lang.String value4,
                         java.lang.String value5,
                         java.lang.String value6,
                         java.lang.String value7,
                         java.lang.String value8,
                         java.lang.String value9)

getDefaultResourceBundle

java.util.ResourceBundle getDefaultResourceBundle()

getText

java.lang.String getText(java.lang.String key,
                         java.lang.Object parameters)

getKeysForPrefix

java.util.Set<java.lang.String> getKeysForPrefix(java.lang.String prefix)
Given a prefix for an i18n key, this method will return all keys that start with the prefix specified.

Parameters:
prefix - The prefix for i18n keys. May not be null
Returns:
An immutable set of translation keys that start with the prefix specified.
Since:
4.0.1


Copyright © 2002-2010 Atlassian. All Rights Reserved.