MDL-53988 mod_lti: Add language string for unactivated proxies

This commit is contained in:
John Okely 2016-05-19 11:55:17 +08:00
parent 811d9ff941
commit b1c8a860cb
2 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@ Some tool providers support reporting grades back to Moodle based on actions tak
Note that this setting may be overridden in the tool configuration.';
$string['action'] = 'Action';
$string['activate'] = 'Activate';
$string['activatetoadddescription'] = 'You will need to activate this tool before you can add a description.';
$string['active'] = 'Active';
$string['activity'] = 'Activity';
$string['addnewapp'] = 'Enable external application';

View File

@ -2499,7 +2499,7 @@ function serialise_tool_proxy(stdClass $proxy) {
return array(
'id' => $proxy->id,
'name' => $proxy->name,
'description' => $proxy->regurl . ' You will need to activate this proxy before adding a description',
'description' => get_string('activatetoadddescription', 'mod_lti'),
'urls' => get_tool_proxy_urls($proxy),
'state' => array(
'text' => get_string('pending', 'mod_lti'),