From: stronk7 Date: Thu, 6 May 2004 22:41:55 +0000 (+0000) Subject: Added two strings about deleting blocks from admin interface... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c3ff2d75c6a278a2151ff96c20e0ee1e1bea54b0;p=moodle.git Added two strings about deleting blocks from admin interface... --- diff --git a/admin/blocks.php b/admin/blocks.php index b64bf48cd3..9ac17b8cd5 100644 --- a/admin/blocks.php +++ b/admin/blocks.php @@ -74,7 +74,7 @@ error("Block doesn't exist!"); } - $strblockname = get_string('modulename', 'block_'.$block->name); + $strblockname = get_string('blockname', 'block_'.$block->name); if (!$_GET['confirm']) { notice_yesno(get_string('blockdeleteconfirm', '', $strblockname), diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 5ecd292ad5..e2de8dadfb 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -102,6 +102,8 @@ $string['backupsavetohelp'] = 'Full path to the directory where you want to save $string['backupuserfileshelp'] = 'Choose whether user files (eg profile images) should be included in automated backups'; $string['backupusershelp'] = 'Select whether you want to include all the users in the server or only the needed users for each course'; $string['backupversion'] = 'Backup Version'; +$string['blockdeleteconfirm'] = 'You are about to completely delete the block \'$a\'. This will completely delete everything in the database associated with this block. Are you SURE you want to continue?'; +$string['blockdeletefiles'] = 'All data associated with the block \'$a->block\' has been deleted from the database. To complete the deletion (and prevent the block re-installing itself), you should now delete this directory from your server: $a->directory'; $string['blocks'] = 'Blocks'; $string['blocksetup'] = 'Setting up block tables'; $string['blocksuccess'] = '$a tables have been set up correctly';