mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-16223, MDL-16222 - module context now available in xxx_add_instance() module method and $mform is passed as second parameter; $cm is updated/inserted before the activity insert/update hook; other related refactoring and cleanup; error string improvements
This commit is contained in:
parent
455a8fede8
commit
d857e8b627
3 changed files with 147 additions and 148 deletions
|
@ -126,7 +126,7 @@ $string['cannotupgradeblock'] = 'Upgrade of blocks system failed! (Could not upd
|
|||
$string['cannotupgradecaps'] = 'Had difficulties upgrading the core capabilities for the Roles system';
|
||||
$string['cannotupdateblock'] = 'Could not update block $a record in block table!';
|
||||
$string['cannotupdatecategory'] = 'Could not update the category ($a)';
|
||||
$string['cannotupdatecoursemodule'] = 'Could not update the course module with the correct section';
|
||||
$string['cannotupdatecoursemodule'] = 'Could not update the course module';
|
||||
$string['cannotupdatecomment'] = 'Could not update this comment';
|
||||
$string['cannotupdatecm'] = 'Could not update the course module with the correct section';
|
||||
$string['cannotupdatefield'] = 'Error updating field';
|
||||
|
@ -161,11 +161,9 @@ $string['cannotviewprofile'] = 'You cannot view the profile of this user';
|
|||
$string['cannotwritefile'] = 'Cannot write to file ($a)';
|
||||
$string['cantunenrollfrommetacourse'] = 'You cannot unenrol from this meta course';
|
||||
$string['cantunenrollinthisrole'] = 'You cannot unenrol from this course while you are in your current role';
|
||||
$string['cmunknown'] = 'Couldn\'t find this course module';
|
||||
$string['commentmisconf'] = 'Comment ID is misconfigured';
|
||||
$string['componentisuptodate'] = 'Component is up-to-date';
|
||||
$string['confirmsesskeybad'] = 'Sorry, but your session key could not be confirmed to carry out this action. This security feature prevents against accidental or malicious execution of important functions in your name. Please make sure you really wanted to execute this function.';
|
||||
$string['copiedcmnotexist'] = 'The copied course module does not exist!';
|
||||
$string['couldnotassignrole'] = 'A serious but unspecified error occurred while trying to assign a role to you';
|
||||
$string['coursegroupunknown'] = 'Course corresponding to group $a not specified';
|
||||
$string['coursemisconf'] = 'Course is misconfigured';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue