diff --git a/lib/editor/htmlarea/coursefiles.php b/lib/editor/htmlarea/coursefiles.php
index f75284850b172..e85ecd3c9a613 100644
--- a/lib/editor/htmlarea/coursefiles.php
+++ b/lib/editor/htmlarea/coursefiles.php
@@ -608,7 +608,7 @@ function printfilelist($filelist) {
foreach ($filelist as $file) {
if (is_dir($basedir.$file)) {
- echo "pixpath/f/folder.gif\" height=\"16\" width=\"16\" alt=\"\" /> $file
";
+ echo "pixpath/f/folder.gif\" height=\"16\" width=\"16\" alt=\"".get_string('folder')."\" /> $file
";
$subfilelist = array();
$currdir = opendir($basedir.$file);
while (false !== ($subfile = readdir($currdir))) {
@@ -620,7 +620,7 @@ function printfilelist($filelist) {
} else {
$icon = mimeinfo("icon", $file);
- echo "pixpath/f/$icon\" height=\"16\" width=\"16\" alt=\"\" /> $file
";
+ echo "pixpath/f/$icon\" height=\"16\" width=\"16\" alt=\"".get_string('file')."\" /> $file
";
}
}
}
@@ -705,7 +705,7 @@ function displaydir ($wdir) {
}
print "