Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-42338 lti_mod: convert hardcoded string.

  • Loading branch information...
commit 4b178e7ab62c088eaf78b9ea5cb837b661a47c87 1 parent 1115bb3
@rwijaya rwijaya authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  mod/lti/grade.php
  2. +1 −0  mod/lti/lang/en/lti.php
View
2  mod/lti/grade.php
@@ -153,7 +153,7 @@
$table = str_replace('<!--table body-->', $rows, $html);
-$title = 'Submissions for ' . $lti->name;
+$title = get_string('submissionsfor', 'lti', $lti->name);
$PAGE->set_title(format_string($title , true));
$PAGE->set_heading($course->fullname);
View
1  mod/lti/lang/en/lti.php
@@ -395,6 +395,7 @@
For example, if all launches to the tool provider just take the user to a landing page instead of to a specific resource.';
$string['size'] = 'Size parameters';
$string['submission'] = 'Submission';
+$string['submissionsfor'] = 'Submissions for {$a}';
$string['toggle_debug_data'] = 'Toggle Debug Data';
$string['tool_config_not_found'] = 'Tool configuration not found for this URL.';
$string['tool_settings'] = 'Tool Settings';
Please sign in to comment.
Something went wrong with that request. Please try again.