Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-37916

Remove usages of AJS.getText from JIRA's gadgets

This issue is archived. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Won't Fix
    • None
    • None
    • Dashboard & Gadgets

    Description

      Gadgets can't depend on locale-dependent resources.

      Therefore, the only acceptable way to include i18n strings in a gadget is via the #supportedLocales directive that will generate the appropiate <msg> elements and include them in the gadget spec to be published by JIRA.

      Consequently, gadget soy-templates need to access these strings via parameters passed in from the gadget spec rather than using AJS.getText

      Gadgets to fix are:

      • Assigned to Me.
      • Admin Gadget.
      • Login Gadget.

      Attachments

        Issue Links

          Activity

            People

              pbugalski Pawel Bugalski (Inactive)
              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              Archiver:
              mandreacchio Michael Andreacchio

              Dates

                Created:
                Updated:
                Resolved:
                Archived: