From: stronk7 Date: Tue, 29 Jul 2003 15:38:55 +0000 (+0000) Subject: Included language support. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a42de971876c0ab10c84da34d8495cbd04bcb518;p=moodle.git Included language support. --- diff --git a/backup/restore_precheck.html b/backup/restore_precheck.html index fdd6aa84a8..78a9f08847 100644 --- a/backup/restore_precheck.html +++ b/backup/restore_precheck.html @@ -49,31 +49,32 @@ $status = check_and_create_backup_dir($backup_unique_code); //Empty dir if ($status) { - echo "
  • Creating temp dir"; + echo "
  • ".get_string("creatingtemporarystructures"); $status = clear_backup_dir($backup_unique_code); } //Now delete old data and directories under dataroot/temp/backup if ($status) { - echo "
  • Cleaning old data"; + echo "
  • ".get_string("deletingolddata"); $status = backup_delete_old_data(); } //Now copy he zip file to dataroot/temp/backup/backup_unique_code if ($status) { + echo "
  • ".get_string("copyingzipfile"); $status = backup_copy_file($file,$CFG->dataroot."/temp/backup/".$backup_unique_code."/".basename($file)); } //Now unzip the file if ($status) { - echo "
  • Retrieving backup file"; + echo "
  • ".get_string("unzippingbackup"); $status = restore_unzip ($CFG->dataroot."/temp/backup/".$backup_unique_code."/".basename($file),$moodle_home); } //Now check for the moodle.xml file if ($status) { $xml_file = $CFG->dataroot."/temp/backup/".$backup_unique_code."/moodle.xml"; - echo "
  • Checking backup file"; + echo "
  • ".get_string("checkingbackup"); $status = restore_check_moodle_file ($xml_file); } @@ -82,7 +83,7 @@ //Now read the info tag (all) if ($status) { - echo "
  • Reading info from file"; + echo "
  • ".get_string("readinginfofrombackup"); //Reading info from file $info = restore_read_xml_info ($xml_file); //Reading course_header from file