Skip to content

Commit

Permalink
MDL-41101 mod_assign: removed underscores from event string keys
Browse files Browse the repository at this point in the history
AMOS BEGIN
 MOV [event_all_submissions_downloaded, mod_assign],[eventallsubmissionsdownloaded, mod_assign]
 MOV [event_assessable_submitted, mod_assign],[eventassessablesubmitted, mod_assign]
 MOV [event_extension_granted, mod_assign],[eventextensiongranted, mod_assign]
 MOV [event_identities_revealed, mod_assign],[eventidentitiesrevealed, mod_assign]
 MOV [event_marker_updated, mod_assign],[eventmarkerupdated, mod_assign]
 MOV [event_statement_accepted, mod_assign],[eventstatementaccepted, mod_assign]
 MOV [event_submission_duplicated, mod_assign],[eventsubmissionduplicated, mod_assign]
 MOV [event_submission_graded, mod_assign],[eventsubmissiongraded, mod_assign]
 MOV [event_submission_locked, mod_assign],[eventsubmissionlocked, mod_assign]
 MOV [event_submission_status_updated, mod_assign],[eventsubmissionstatusupdated, mod_assign]
 MOV [event_submission_unlocked, mod_assign],[eventsubmissionunlocked, mod_assign]
 MOV [event_workflow_state_updated, mod_assign],[eventworkflowstateupdated, mod_assign]
AMOS END
  • Loading branch information
mdjnelson authored and Petr Skoda committed Apr 17, 2014
1 parent 6f9ab86 commit 6f8f304
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion mod/assign/classes/event/all_submissions_downloaded.php
Expand Up @@ -67,7 +67,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_all_submissions_downloaded', 'mod_assign');
return get_string('eventallsubmissionsdownloaded', 'mod_assign');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/classes/event/assessable_submitted.php
Expand Up @@ -98,7 +98,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_assessable_submitted', 'mod_assign');
return get_string('eventassessablesubmitted', 'mod_assign');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/classes/event/extension_granted.php
Expand Up @@ -67,7 +67,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_extension_granted', 'mod_assign');
return get_string('eventextensiongranted', 'mod_assign');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/classes/event/identities_revealed.php
Expand Up @@ -67,7 +67,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_identities_revealed', 'mod_assign');
return get_string('eventidentitiesrevealed', 'mod_assign');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/classes/event/marker_updated.php
Expand Up @@ -73,7 +73,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_marker_updated', 'mod_assign');
return get_string('eventmarkerupdated', 'mod_assign');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/classes/event/statement_accepted.php
Expand Up @@ -67,7 +67,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_statement_accepted', 'mod_assign');
return get_string('eventstatementaccepted', 'mod_assign');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/classes/event/submission_duplicated.php
Expand Up @@ -67,7 +67,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_submission_duplicated', 'mod_assign');
return get_string('eventsubmissionduplicated', 'mod_assign');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/classes/event/submission_graded.php
Expand Up @@ -67,7 +67,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_submission_graded', 'mod_assign');
return get_string('eventsubmissiongraded', 'mod_assign');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/classes/event/submission_locked.php
Expand Up @@ -67,7 +67,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_submission_locked', 'mod_assign');
return get_string('eventsubmissionlocked', 'mod_assign');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/classes/event/submission_status_updated.php
Expand Up @@ -73,7 +73,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_submission_status_updated', 'mod_assign');
return get_string('eventsubmissionstatusupdated', 'mod_assign');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/classes/event/submission_unlocked.php
Expand Up @@ -67,7 +67,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_submission_unlocked', 'mod_assign');
return get_string('eventsubmissionunlocked', 'mod_assign');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/classes/event/workflow_state_updated.php
Expand Up @@ -73,7 +73,7 @@ protected function get_legacy_logdata() {
* @return string
*/
public static function get_name() {
return get_string('event_workflow_state_updated', 'mod_assign');
return get_string('eventworkflowstateupdated', 'mod_assign');
}

/**
Expand Down
24 changes: 12 additions & 12 deletions mod/assign/lang/en/assign.php
Expand Up @@ -140,20 +140,20 @@
$string['editsubmission_help'] = 'Make changes to your submission';
$string['editingstatus'] = 'Editing status';
$string['editaction'] = 'Actions...';
$string['event_assessable_submitted'] = 'A submission has been submitted.';
$string['event_all_submissions_downloaded'] = 'All the submissions are being downloaded.';
$string['event_extension_granted'] = 'An extension has been granted.';
$string['event_identities_revealed'] = 'The identities have been revealed.';
$string['event_marker_updated'] = 'The allocated marker has been updated.';
$string['event_statement_accepted'] = 'The user has accepted the statement of the submission.';
$string['event_submission_duplicated'] = 'The user duplicated his submission.';
$string['event_submission_graded'] = 'The submission has been graded.';
$string['event_submission_locked'] = 'The submissions have been locked for a user.';
$string['event_submission_status_updated'] = 'The status of the submission has been updated.';
$string['event_submission_unlocked'] = 'The submissions have been unlocked for a user.';
$string['event_workflow_state_updated'] = 'The state of the workflow has been updated.';
$string['eventallsubmissionsdownloaded'] = 'All the submissions are being downloaded.';
$string['eventassessablesubmitted'] = 'A submission has been submitted.';
$string['eventextensiongranted'] = 'An extension has been granted.';
$string['eventidentitiesrevealed'] = 'The identities have been revealed.';
$string['eventmarkerupdated'] = 'The allocated marker has been updated.';
$string['eventstatementaccepted'] = 'The user has accepted the statement of the submission.';
$string['eventsubmissioncreated'] = 'Submission created.';
$string['eventsubmissionduplicated'] = 'The user duplicated his submission.';
$string['eventsubmissiongraded'] = 'The submission has been graded.';
$string['eventsubmissionlocked'] = 'The submissions have been locked for a user.';
$string['eventsubmissionstatusupdated'] = 'The status of the submission has been updated.';
$string['eventsubmissionunlocked'] = 'The submissions have been unlocked for a user.';
$string['eventsubmissionupdated'] = 'Submission updated.';
$string['eventworkflowstateupdated'] = 'The state of the workflow has been updated.';
$string['extensionduedate'] = 'Extension due date';
$string['extensionnotafterduedate'] = 'Extension date must be after the due date';
$string['extensionnotafterfromdate'] = 'Extension date must be after the allow submissions from date';
Expand Down

0 comments on commit 6f8f304

Please sign in to comment.