Browse files

MDL-20534 lti: Fixing some language in lti's index.php

  • Loading branch information...
1 parent 78d52bf commit d00d058d55131754dab050bb46777b118717005d @scriby scriby committed Nov 11, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 mod/lti/index.php
  2. +1 −0 mod/lti/lang/en/lti.php
View
2 mod/lti/index.php
@@ -69,7 +69,7 @@
// Get all the appropriate data
if (! $basicltis = get_all_instances_in_course("lti", $course)) {
- notice("There are no basicltis", "../../course/view.php?id=$course->id");
+ notice(get_string('noltis', 'lti'), "../../course/view.php?id=$course->id");
die;
}
View
1 mod/lti/lang/en/lti.php
@@ -126,6 +126,7 @@
$string['modulenamepluralformatted'] = 'LTI Instances';
$string['never'] = 'Never';
$string['noattempts'] = 'No attempts have been made on this tool instance';
+$string['noltis'] = 'There are no lti instances';
$string['noservers'] = 'No servers found';
$string['notypes'] = 'There are currently no LTI tools setup in Moodle. Click the Install link above to add some.';
$string['noviewusers'] = 'No users were found with permissions to use this tool';

0 comments on commit d00d058

Please sign in to comment.