Commit e692f585 authored by Mark Nelson's avatar Mark Nelson
Browse files

MDL-43557 events: removed underscores from event string keys

AMOS START
 MOV [event_legacy_logged, logstore_legacy],[eventlegacylogged,logstore_legacy]
 MOV [event_cohort_created,cohort],[eventcohortcreated,cohort]
 MOV [event_cohort_deleted,cohort],[eventcohortdeleted,cohort]
 MOV [event_cohort_member_added,cohort],[eventcohortmemberadded,cohort]
 MOV [event_cohort_member_removed,cohort],[eventcohortmemberremoved,cohort]
 MOV [event_cohort_updated,cohort],[eventcohortupdated,cohort]
 MOV [event_group_created,group],[eventgroupcreated,group]
 MOV [event_group_deleted,group],[eventgroupdeleted,group]
 MOV [event_group_member_added,group],[eventgroupmemberadded,group]
 MOV [event_group_member_removed,group],[eventgroupmemberremoved,group]
 MOV [event_group_updated,group],[eventgroupupdated,group]
 MOV [event_grouping_created,group],[eventgroupingcreated,group]
 MOV [event_grouping_deleted,group],[eventgroupingdeleted,group]
 MOV [event_grouping_updated,group],[eventgroupingupdated,group]
 MOV [event_webservice_function_called,webservice],[eventwebservicefunctioncalled,webservice]
 MOV [event_webservice_login_failed,webservice],[eventwebserviceloginfailed,webservice]
 MOV [event_webservice_service_created,webservice],[eventwebserviceservicecreated,webservice]
 MOV [event_webservice_service_deleted,webservice],[eventwebserviceservicedeleted,webservice]
 MOV [event_webservice_service_updated,webservice],[eventwebserviceserviceupdated,webservice]
 MOV [event_webservice_service_user_added,webservice],[eventwebserviceserviceuseradded,webservice]
 MOV [event_webservice_service_user_removed,webservice],[eventwebserviceserviceuserremoved,webservice]
 MOV [event_webservice_token_created,webservice],[eventwebservicetokencreated,webservice]
 MOV [event_webservice_token_sent,webservice],[eventwebservicetokensent,webservice]
 MOV [event_user_loggedin,auth],[eventuserloggedin,auth]
 MOV [event_assessable_uploaded,assignsubmission_file],[eventassessableuploaded,assignsubmission_file]
 MOV [event_assessable_uploaded,assignsubmission_onlinetext],[eventassessableuploaded,assignsubmission_onlinetext]
 MOV [event_chapter_created,mod_book],[eventchaptercreated,mod_book]
 MOV [event_chapter_deleted,mod_book],[eventchapterdeleted,mod_book]
 MOV [event_chapter_updated,mod_book],[eventchapterupdated,mod_book]
 MOV [event_chapter_viewed,mod_book],[eventchapterviewed,mod_book]
 MOV [event_book_exported,booktool_exportimscp],[eventbookexported,booktool_exportimscp]
 MOV [event_book_printed,booktool_print],[eventbookprinted,booktool_print]
 MOV [event_chapter_printed,booktool_print],[eventchapterprinted,booktool_print]
 MOV [event_message_sent,mod_chat],[eventmessagesent,mod_chat]
 MOV [event_sessions_viewed,mod_chat],[eventsessionsviewed,mod_chat]
 MOV [event_answer_created,mod_choice],[eventanswercreated,mod_choice]
 MOV [event_answer_updated,mod_choice],[eventanswerupdated,mod_choice]
 MOV [event_report_viewed,mod_choice],[eventreportviewed,mod_choice]
 MOV [event_assessable_uploaded,mod_forum],[eventassessableuploaded,mod_forum]
 MOV [event_assessable_uploaded,mod_workshop],[eventassessableuploaded,mod_workshop]
AMOS END
parent 3f0a5f28
......@@ -33,7 +33,7 @@ class legacy_logged extends \core\event\base {
}
public static function get_name() {
return get_string('event_legacy_logged', 'logstore_legacy');
return get_string('eventlegacylogged', 'logstore_legacy');
}
public function get_description() {
......
......@@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['event_legacy_logged'] = 'Legacy event logged';
$string['eventlegacylogged'] = 'Legacy event logged';
$string['loglegacy'] = 'Log legacy data';
$string['loglegacy_help'] = 'This plugin records log data to the legacy log table (mdl_log). This functionality has been replaced by newer, richer and more efficient logging plugins, so you should only run this plugin if you have old custom reports that directly query the old log table. Writing to the legacy logs will increase load, so it is recommended that you disable this plugin for performance reasons when it is not needed.';
$string['pluginname'] = 'Legacy log';
......
......@@ -81,7 +81,7 @@ $string['errorminpasswordlower'] = 'Passwords must have at least {$a} lower case
$string['errorminpasswordnonalphanum'] = 'Passwords must have at least {$a} non-alphanumeric character(s).';
$string['errorminpasswordupper'] = 'Passwords must have at least {$a} upper case letter(s).';
$string['errorpasswordupdate'] = 'Error updating password, password not changed';
$string['event_user_loggedin'] = 'User has logged in';
$string['eventuserloggedin'] = 'User has logged in';
$string['eventuserloggedinas'] = 'User logged in as another user';
$string['eventuserloginfailed'] = 'User login failed';
$string['forcechangepassword'] = 'Force change password';
......
......@@ -45,11 +45,11 @@ $string['delconfirm'] = 'Do you really want to delete cohort \'{$a}\'?';
$string['description'] = 'Description';
$string['duplicateidnumber'] = 'Cohort with the same ID number already exists';
$string['editcohort'] = 'Edit cohort';
$string['event_cohort_created'] = 'Cohort created';
$string['event_cohort_deleted'] = 'Cohort deleted';
$string['event_cohort_member_added'] = 'User added to a cohort';
$string['event_cohort_member_removed'] = 'User removed from a cohort';
$string['event_cohort_updated'] = 'Cohort updated';
$string['eventcohortcreated'] = 'Cohort created';
$string['eventcohortdeleted'] = 'Cohort deleted';
$string['eventcohortmemberadded'] = 'User added to a cohort';
$string['eventcohortmemberremoved'] = 'User removed from a cohort';
$string['eventcohortupdated'] = 'Cohort updated';
$string['external'] = 'External cohort';
$string['idnumber'] = 'Cohort ID';
$string['memberscount'] = 'Cohort size';
......
......@@ -69,14 +69,14 @@ $string['errorremovenotpermitted'] = 'You do not have permission to remove autom
$string['errorselectone'] = 'Please select a single group before choosing this option';
$string['errorselectsome'] = 'Please select one or more groups before choosing this option';
$string['evenallocation'] = 'Note: To keep group allocation even, the actual number of members per group differs from the number you specified.';
$string['event_group_created'] = 'Group created';
$string['event_group_deleted'] = 'Group deleted';
$string['event_group_member_added'] = 'Group member added';
$string['event_group_member_removed'] = 'Group member removed';
$string['event_group_updated'] = 'Group updated';
$string['event_grouping_created'] = 'Grouping created';
$string['event_grouping_deleted'] = 'Grouping deleted';
$string['event_grouping_updated'] = 'Grouping updated';
$string['eventgroupcreated'] = 'Group created';
$string['eventgroupdeleted'] = 'Group deleted';
$string['eventgroupmemberadded'] = 'Group member added';
$string['eventgroupmemberremoved'] = 'Group member removed';
$string['eventgroupupdated'] = 'Group updated';
$string['eventgroupingcreated'] = 'Grouping created';
$string['eventgroupingdeleted'] = 'Grouping deleted';
$string['eventgroupingupdated'] = 'Grouping updated';
$string['existingmembers'] = 'Existing members: {$a}';
$string['filtergroups'] = 'Filter groups by:';
$string['group'] = 'Group';
......
......@@ -82,15 +82,15 @@ $string['errorcoursecontextnotvalid'] = 'You cannot execute functions in the cou
$string['errorinvalidparam'] = 'The param "{$a}" is invalid.';
$string['errornotemptydefaultparamarray'] = 'The web service description parameter named \'{$a}\' is an single or multiple structure. The default can only be empty array. Check web service description.';
$string['erroroptionalparamarray'] = 'The web service description parameter named \'{$a}\' is an single or multiple structure. It can not be set as VALUE_OPTIONAL. Check web service description.';
$string['event_webservice_function_called'] = 'Web service function called';
$string['event_webservice_login_failed'] = 'Web service login failed';
$string['event_webservice_service_created'] = 'Web service service created';
$string['event_webservice_service_deleted'] = 'Web service service deleted';
$string['event_webservice_service_updated'] = 'Web service service updated';
$string['event_webservice_service_user_added'] = 'Web service service user added';
$string['event_webservice_service_user_removed'] = 'Web service service user removed';
$string['event_webservice_token_created'] = 'Web service token created';
$string['event_webservice_token_sent'] = 'Web service token sent';
$string['eventwebservice_function_called'] = 'Web service function called';
$string['eventwebserviceloginfailed'] = 'Web service login failed';
$string['eventwebserviceservicecreated'] = 'Web service service created';
$string['eventwebserviceservicedeleted'] = 'Web service service deleted';
$string['eventwebserviceserviceupdated'] = 'Web service service updated';
$string['eventwebserviceserviceuseradded'] = 'Web service service user added';
$string['eventwebserviceserviceuserremoved'] = 'Web service service user removed';
$string['eventwebservicetokencreated'] = 'Web service token created';
$string['eventwebservicetokensent'] = 'Web service token sent';
$string['execute'] = 'Execute';
$string['executewarnign'] = 'WARNING: If you press execute your database will be modified and changes can not be reverted automatically!';
$string['externalservice'] = 'External service';
......
......@@ -52,7 +52,7 @@ class cohort_created extends base {
* @return string
*/
public static function get_name() {
return get_string('event_cohort_created', 'core_cohort');
return get_string('eventcohortcreated', 'core_cohort');
}
/**
......
......@@ -52,7 +52,7 @@ class cohort_deleted extends base {
* @return string
*/
public static function get_name() {
return get_string('event_cohort_deleted', 'core_cohort');
return get_string('eventcohortdeleted', 'core_cohort');
}
/**
......
......@@ -52,7 +52,7 @@ class cohort_member_added extends base {
* @return string
*/
public static function get_name() {
return get_string('event_cohort_member_added', 'core_cohort');
return get_string('eventcohortmemberadded', 'core_cohort');
}
/**
......
......@@ -53,7 +53,7 @@ class cohort_member_removed extends base {
* @return string
*/
public static function get_name() {
return get_string('event_cohort_member_removed', 'core_cohort');
return get_string('eventcohortmemberremoved', 'core_cohort');
}
/**
......
......@@ -52,7 +52,7 @@ class cohort_updated extends base {
* @return string
*/
public static function get_name() {
return get_string('event_cohort_updated', 'core_cohort');
return get_string('eventcohortupdated', 'core_cohort');
}
/**
......
......@@ -68,7 +68,7 @@ class group_created extends \core\event\base {
* @return string
*/
public static function get_name() {
return get_string('event_group_created', 'group');
return get_string('eventgroupcreated', 'group');
}
/**
......
......@@ -68,7 +68,7 @@ class group_deleted extends \core\event\base {
* @return string
*/
public static function get_name() {
return get_string('event_group_deleted', 'group');
return get_string('eventgroupdeleted', 'group');
}
/**
......
......@@ -80,7 +80,7 @@ class group_member_added extends \core\event\base {
* @return string
*/
public static function get_name() {
return get_string('event_group_member_added', 'group');
return get_string('eventgroupmemberadded', 'group');
}
/**
......
......@@ -71,7 +71,7 @@ class group_member_removed extends \core\event\base {
* @return string
*/
public static function get_name() {
return get_string('event_group_member_removed', 'group');
return get_string('eventgroupmemberremoved', 'group');
}
/**
......
......@@ -68,7 +68,7 @@ class group_updated extends \core\event\base {
* @return string
*/
public static function get_name() {
return get_string('event_group_updated', 'group');
return get_string('eventgroupupdated', 'group');
}
/**
......
......@@ -68,7 +68,7 @@ class grouping_created extends \core\event\base {
* @return string
*/
public static function get_name() {
return get_string('event_grouping_created', 'group');
return get_string('eventgroupingcreated', 'group');
}
/**
......
......@@ -75,7 +75,7 @@ class grouping_deleted extends \core\event\base {
* @return string
*/
public static function get_name() {
return get_string('event_grouping_deleted', 'group');
return get_string('eventgroupingdeleted', 'group');
}
/**
......
......@@ -68,7 +68,7 @@ class grouping_updated extends \core\event\base {
* @return string
*/
public static function get_name() {
return get_string('event_grouping_updated', 'group');
return get_string('eventgroupingupdated', 'group');
}
/**
......
......@@ -67,7 +67,7 @@ class user_loggedin extends \core\event\base {
* @return string
*/
public static function get_name() {
return get_string('event_user_loggedin', 'auth');
return get_string('eventuserloggedin', 'auth');
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment