diff --git a/files/index.php b/files/index.php
index 673cd702e22..b6a48679ccf 100644
--- a/files/index.php
+++ b/files/index.php
@@ -168,12 +168,12 @@
} else {
html_header($course, $wdir);
if (setfilelist($_POST)) {
- echo "
You are about to delete:
";
+ echo "".get_string("deletecheckwarning").":
";
print_simple_box_start("center");
printfilelist($USER->filelist);
print_simple_box_end();
- echo "
";
- notice_yesno ("Are you sure you want to delete these?",
+ echo "
";
+ notice_yesno (get_string("deletecheckfiles"),
"index.php?id=$id&wdir=$wdir&action=delete&confirm=1",
"index.php?id=$id&wdir=$wdir&action=cancel");
} else {
@@ -188,7 +188,9 @@
if ($count = setfilelist($_POST)) {
$USER->fileop = $action;
$USER->filesource = $wdir;
- echo "$count files selected for moving. Now go to the destination and press \"Move files to here\".
";
+ echo "";
+ print_string("selectednowmove", "moodle", $count);
+ echo "
";
}
displaydir($wdir);
html_footer();
@@ -515,7 +517,7 @@
case "restore":
html_header($course, $wdir);
if (!empty($file)) {
- echo "".get_string("youaregoingtorestorefrom")."
";
+ echo "".get_string("youaregoingtorestorefrom").":
";
print_simple_box_start("center");
echo $file;
print_simple_box_end();
@@ -764,7 +766,7 @@ function displaydir ($wdir) {
}
}
echo "";
- echo "
";
+ echo "
";
if (empty($wdir)) {
$wdir = "/";
diff --git a/lang/en/moodle.php b/lang/en/moodle.php
index 947c4810f9b..163477f5f78 100644
--- a/lang/en/moodle.php
+++ b/lang/en/moodle.php
@@ -167,7 +167,9 @@ $string['defaultcourseteacher'] = "Teacher";
$string['defaultcourseteachers'] = "Teachers";
$string['delete'] = "Delete";
$string['deletecheck'] = "Delete \$a ?";
+$string['deletecheckfiles'] = "Are you absolutely sure you want to delete these files?";
$string['deletecheckfull'] = "Are you absolutely sure you want to completely delete \$a ?";
+$string['deletecheckwarning'] = "You are about to delete these files";
$string['deletecompletely'] = "Delete completely";
$string['deletecoursecheck'] = "Are you absolutely sure you want to completely delete this course and all the data it contains?";
$string['deletecourse'] = "Delete a course";
@@ -451,7 +453,6 @@ $string['modified'] = "Modified";
$string['moduledeleteconfirm'] = "You are about to completely delete the module '\$a'. This will completely delete everything in the database associated with this activity module. Are you SURE you want to continue?";
$string['moduledeletefiles'] = "All data associated with the module '\$a->module' has been deleted from the database. To complete the deletion (and prevent the module re-installing itself), you should now delete this directory from your server: \$a->directory";
$string['modulesetup'] = "Setting up module tables";
-$string['modulesetup'] = "Setting up module tables";
$string['modulesuccess'] = "\$a tables have been set up correctly";
$string['moodleversion'] = "Moodle Version";
$string['mostrecently'] = "most recently";
@@ -610,6 +611,7 @@ $string['secs'] = "secs";
$string['section'] = "Section";
$string['sections'] = "Sections";
$string['selectacountry'] = "Select a country";
+$string['selectednowmove'] = "\$a files selected for moving. Now go to the destination and press 'Move files to here'";
$string['senddetails'] = "Send my details via email";
$string['separateandconnected'] = "Separate and Connected ways of knowing";
$string['serverlocaltime'] = "Server's local time";
@@ -745,8 +747,8 @@ $string['writingmoduleinfo'] = "Writing modules info";
$string['writinguserinfo'] = "Writing users info";
$string['wrongpassword'] = "Incorrect password for this username";
$string['yes'] = "Yes";
-$string['youareabouttocreatezip'] = "You are going to restore from:";
-$string['youaregoingtorestorefrom'] = "You are going to restore from:";
+$string['youareabouttocreatezip'] = "You are about to create a zip file containing";
+$string['youaregoingtorestorefrom'] = "You are going to restore from";
$string['yourlastlogin'] = "Your last login was";
$string['yourself'] = "yourself";
$string['yourteacher'] = "your \$a";