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

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

      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.

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

                Created:
                Updated:
                Resolved:
                Archived: