]> git.mjollnir.org Git - moodle.git/commitdiff
Polishing that Add/Edit Blocks button
authordefacer <defacer>
Tue, 1 Feb 2005 08:35:06 +0000 (08:35 +0000)
committerdefacer <defacer>
Tue, 1 Feb 2005 08:35:06 +0000 (08:35 +0000)
lang/en/moodle.php
mod/quiz/view.php

index 59985c49ce85e3fb772e2534b559bd0658e6aca6..5325d72572fe2bb2d52a4cfe63ba303b58550192 100644 (file)
@@ -122,6 +122,7 @@ $string['blockconfigbad'] = 'This block has not been implemented correctly and t
 $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['blocksaddedit'] = 'Add/Edit Blocks';
 $string['blocksetup'] = 'Setting up block tables';
 $string['blocksuccess'] = '$a tables have been set up correctly';
 $string['bycourseorder'] = 'By course order';
index 3d9034e4cee62bf8038287c9ed4fec96974732f8..18305726ed13983d44861a151444151577c656e6 100644 (file)
@@ -84,7 +84,7 @@
                '<td><form target="'.$CFG->framename.'" method="get" action="view.php">'.
                '<input type="hidden" name="id" value="'.$cm->id.'" />'.
                '<input type="hidden" name="edit" value="'.($PAGE->user_is_editing()?'off':'on').'" />'.
-               '<input type="submit" value="add/edit blocks" /></form></td></tr></table>';
+               '<input type="submit" value="'.get_string($PAGE->user_is_editing()?'turneditingoff':'blocksaddedit').'" /></form></td></tr></table>';
     } else {
         $buttons = '';
     }