From 760eefb641a01a0e79bc2fda4874dff25a019341 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 6 Dec 2005 10:41:24 +0000 Subject: [PATCH] Some strings are now properly displayed. End of work in IMS for now. --- mod/resource/type/ims/resource.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/resource/type/ims/resource.class.php b/mod/resource/type/ims/resource.class.php index 28cb76d35dd..40e9692a5ea 100644 --- a/mod/resource/type/ims/resource.class.php +++ b/mod/resource/type/ims/resource.class.php @@ -279,9 +279,9 @@ class resource_ims extends resource_base { } 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) {