Permalink
Browse files

Some strings are now properly displayed. End of work in IMS for now.

  • Loading branch information...
1 parent a2920a4 commit 760eefb641a01a0e79bc2fda4874dff25a019341 stronk7 committed Dec 6, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/resource/type/ims/resource.class.php
@@ -279,9 +279,9 @@ function display() {
} else {
/// Depending of the error, show different messages and pages
if ($errorcode ==1) {
- $errortext = get_string('invalidfiletype','resource');
+ $errortext = get_string('invalidfiletype','error', $resource->reference);
} else if ($errorcode == 2) {
- $errortext = get_string('filenotexists','resource');
+ $errortext = get_string('filenotfound','error', $resource->reference);
} else if ($errorcode == 3) {
$errortext = get_string('packagenotdeplyed','resource');
} else if ($errorcode == 4) {

0 comments on commit 760eefb

Please sign in to comment.