Uploaded image for project: 'Jira Data Center'
  1. Jira 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
    • Resolution: Won't Fix
    • Medium
    • 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: