← Back to team overview

mahara-contributors team mailing list archive

[Bug 1431679] A change has been merged

 

Reviewed:  https://reviews.mahara.org/4403
Committed: http://gitorious.org/mahara/mahara/commit/b552de97e0b141595a052f378d91ba601c29c2ad
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit b552de97e0b141595a052f378d91ba601c29c2ad
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Fri Mar 13 18:01:16 2015 +1300

Provide support for JS lang strings in artefact blocktypes

Bug 1431679. This should let blocktypes that live underneath
artefacts, provide lang strings for JS the same as other plugins can.

Change-Id: I08ca4d15c44418affeb1877b0ac78940ca215c49

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1431679

Title:
  Support for JS lang strings in artefact blocktypes

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Mahara has a system set up to allow language strings to be accessed
  via Javascript:
  https://wiki.mahara.org/index.php/Developer_Area/Language_strings#How_to_use_lang_strings_from_Javascript

  There's a spinoff of this for JS lang strings provided by plugins. If
  a JS file is loaded from a plugin's "js" directory, and the plugin
  class has a public static "jsstrings" method, then that method is
  called to load up strings for the page.

  BUT, this doesn't work for blocktypes that live under artefacts. And I
  need it to work for the artefact/annotation/blocktype/annotation
  block. (See Bug 1431673)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1431679/+subscriptions


References