From c79f9629ed8d4c1acb70cca4dfc040063b355231 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 23 Aug 2003 15:47:57 +0000 Subject: [PATCH] Some extra explanation so that hitting "yes" on the restore screen isn't so scary! :-) --- files/index.php | 3 ++- lang/en/moodle.php | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/files/index.php b/files/index.php index fcf90354e6..1d1d629d8d 100644 --- a/files/index.php +++ b/files/index.php @@ -529,7 +529,8 @@ print_simple_box_start("center"); echo $file; print_simple_box_end(); - echo "
"; + echo "
"; + echo "

".get_string("areyousuretorestorethisinfo")."

"; $restore_path = "../backup/restore.php"; notice_yesno (get_string("areyousuretorestorethis"), $restore_path."?id=".$id."&file=".$id.$wdir."/".$file, diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 235ff8dc49..a1eec97111 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -58,7 +58,8 @@ $string['allparticipants'] = "All participants"; $string['alphanumerical'] = "Can only contain alphabetical letters or numbers"; $string['alreadyconfirmed'] = "Registration has already been confirmed"; $string['answer'] = "Answer"; -$string['areyousuretorestorethis'] = "Are you sure to restore it ?"; +$string['areyousuretorestorethis'] = "Do you want to continue?"; +$string['areyousuretorestorethisinfo'] = "Later in this process you will have a choice of adding this backup to an existing course or creating a completely new course."; $string['assessment'] = "Assessment"; $string['assignadmins'] = "Assign admins"; $string['assigncreators'] = "Assign creators"; @@ -805,7 +806,7 @@ $string['writinguserinfo'] = "Writing users info"; $string['wrongpassword'] = "Incorrect password for this username"; $string['yes'] = "Yes"; $string['youareabouttocreatezip'] = "You are about to create a zip file containing"; -$string['youaregoingtorestorefrom'] = "You are going to restore from"; +$string['youaregoingtorestorefrom'] = "You are about to start the restore process for"; $string['yourlastlogin'] = "Your last login was"; $string['yourself'] = "yourself"; $string['yourteacher'] = "your \$a"; -- 2.39.5