diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 3cf6a99a0f4..bcaaf6a7d31 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -484,6 +484,7 @@ $string['deletechecktypename'] = 'Are you sure that you want to delete the {$a-> $string['deletecheckfiles'] = 'Are you absolutely sure you want to delete these files?'; $string['deletecheckfull'] = 'Are you absolutely sure you want to completely delete the user {$a}, including their enrolments, activity and other user data?'; $string['deletecheckwarning'] = 'You are about to delete these files'; +$string['deletepicture'] = 'Delete picture'; $string['deletesection'] = 'Delete section'; $string['deleteselected'] = 'Delete selected'; $string['deleteselectedkey'] = 'Delete selected key'; diff --git a/user/editlib.php b/user/editlib.php index 7c80aab5882..83682747117 100644 --- a/user/editlib.php +++ b/user/editlib.php @@ -352,7 +352,7 @@ function useredit_shared_definition(&$mform, $editoroptions, $filemanageroptions $mform->addElement('static', 'currentpicture', get_string('currentpicture')); - $mform->addElement('checkbox', 'deletepicture', get_string('delete')); + $mform->addElement('checkbox', 'deletepicture', get_string('deletepicture')); $mform->setDefault('deletepicture', 0); $mform->addElement('filemanager', 'imagefile', get_string('newpicture'), '', $filemanageroptions);