Panopto / Moodle-2.0-plugin-for-Panopto

Panopto's integration with the Moodle LMS.
http://www.panopto.com
GNU General Public License v3.0
18 stars 38 forks source link

Localize the link "Provision Course" #51

Closed jackdaniels79 closed 7 years ago

jackdaniels79 commented 8 years ago

In block_panopto.php, please use get_string for the link displayed in the block when the course have not been sync with Panopto yet. Right now, "Provision Course" is hardcoded in the function get_content:

#152: $this->content->text = get_string('unprovisioned', 'block_panopto') . " <br/><br/> <a href='$CFG->wwwroot/blocks/panopto/provision_course_internal.php?id=$COURSE->id'>Provision Course</a>";

jmalmsten-panopto commented 7 years ago

This line is no longer in the code base and all language strings should be using get_string now.