2 // This file is part of Moodle - http://moodle.org/
4 // Moodle is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
9 // Moodle is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License
15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
20 * This files lists lang strings related to tool_monitor.
22 * @package tool_monitor
23 * @copyright 2014 onwards Ankit Agarwal <ankit.agrr@gmail.com>
24 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
27 $string['addrule'] = 'Add a new rule';
28 $string['allevents'] = 'All events';
29 $string['allmodules'] = 'All instances';
30 $string['area'] = 'Area';
31 $string['areatomonitor'] = 'Area to monitor';
32 $string['cachedef_eventsubscriptions'] = 'This stores the list of event subscriptions for individual courses';
33 $string['contactadmin'] = 'Contact your administrator to enable it.';
34 $string['core'] = 'Core';
35 $string['currentsubscriptions'] = 'Your current subscriptions';
36 $string['defaultmessagetemplate'] = 'Rule name: {rulename}<br />Description: {description}<br />Event name: {eventname}';
37 $string['deleterule'] = 'Delete rule';
38 $string['deletesubscription'] = 'Delete subscription';
39 $string['description'] = 'Description:';
40 $string['disablefieldswarning'] = 'Some fields can not be edited as this rule already has subscriptions.';
41 $string['duplicaterule'] = 'Duplicate rule';
42 $string['editrule'] = 'Edit rule';
43 $string['enablehelp'] = 'Enable/disable event monitoring';
44 $string['enablehelp_help'] = 'Event monitoring must be enabled before you can create and subscribe to rules. Note that enabling Event monitoring may affect the performance of your site.';
45 $string['event'] = 'Event';
46 $string['eventnotfound'] = 'Event not found';
47 $string['eventrulecreated'] = 'Rule created';
48 $string['eventruledeleted'] = 'Rule deleted';
49 $string['eventruleupdated'] = 'Rule updated';
50 $string['eventsubcreated'] = 'Subscription created';
51 $string['eventsubcriteriamet'] = 'Subscription criteria met';
52 $string['eventsubdeleted'] = 'Subscription deleted';
53 $string['errorincorrectevent'] = 'Please select an event related to the selected plugin';
54 $string['freqdesc'] = '{$a->freq} time(s) in {$a->mins} minute(s)';
55 $string['frequency'] = 'Notification threshold';
56 $string['frequency_help'] = 'The number of events within a specified time period required for a notification message to be sent.';
57 $string['inminutes'] = 'in minutes';
58 $string['invalidmodule'] = 'Invalid module';
59 $string['manageruleslink'] = 'You can manage rules from the {$a} page.';
60 $string['managesubscriptionslink'] = 'You can subscribe to rules from the {$a} page.';
61 $string['manage'] = 'Manage';
62 $string['managesubscriptions'] = 'Event monitoring';
63 $string['managerules'] = 'Event monitoring rules';
64 $string['messageprovider:notification'] = 'Notifications of rule subscriptions';
65 $string['messagetemplate'] = 'Notification message';
66 $string['messagetemplate_help'] = 'A notification message is sent to subscribers once the notification threshold has been reached. It can include any or all of the following placeholders:
68 * Link to the location of the event {link}
69 * Link to the area monitored {modulelink}
70 * Rule name {rulename}
71 * Description {description}
73 $string['messagetemplate_link'] = 'admin/tool/monitor/managerules';
74 $string['moduleinstance'] = 'Instance';
75 $string['monitorenabled'] = 'Event monitoring is currently enabled. ';
76 $string['monitordisabled'] = 'Event monitoring is currently disabled.';
77 $string['monitor:managerules'] = 'Manage event monitor rules';
78 $string['monitor:managetool'] = 'Enable/disable event monitoring';
79 $string['monitor:subscribe'] = 'Subscribe to event monitor rules';
80 $string['norules'] = 'There are no event monitoring rules.';
81 $string['pluginname'] = 'Event monitor';
82 $string['privacy:createdrules'] = 'Event monitor rules I created';
83 $string['privacy:metadata:description'] = 'Description of the rule';
84 $string['privacy:metadata:eventname'] = 'Fully qualified name of the event';
85 $string['privacy:metadata:frequency'] = 'Frequency of notifications';
86 $string['privacy:metadata:historysummary'] = 'Stores the history of the message notifications sent';
87 $string['privacy:metadata:inactivedate'] = 'Period of time, in days, after which an inactive subscription will be removed completely';
88 $string['privacy:metadata:lastnotificationsent'] = 'When a notification was last sent for this subscription.';
89 $string['privacy:metadata:messagesummary'] = 'Notifications are sent to the message system.';
90 $string['privacy:metadata:name'] = 'Name of the rule';
91 $string['privacy:metadata:plugin'] = 'Frankenstlye name of the plugin';
92 $string['privacy:metadata:rulessummary'] = 'This stores monitor rules.';
93 $string['privacy:metadata:subscriptionssummary'] = 'Stores user subscriptions to various rules';
94 $string['privacy:metadata:template'] = 'Message template';
95 $string['privacy:metadata:timecreatedrule'] = 'When this rule was created';
96 $string['privacy:metadata:timecreatedsub'] = 'When this subscription was created';
97 $string['privacy:metadata:timemodifiedrule'] = 'When this rule was last modified';
98 $string['privacy:metadata:timesent'] = 'When the message was sent';
99 $string['privacy:metadata:timewindow'] = 'Time window in seconds';
100 $string['privacy:metadata:userid'] = 'The ID of user who created the rule.';
101 $string['privacy:metadata:useridhistory'] = 'The ID of the user to whom this notification was sent';
102 $string['privacy:metadata:useridsub'] = 'The ID of the subscriber.';
103 $string['privacy:subscriptions'] = 'My event monitor subscriptions';
104 $string['processevents'] = 'Process events';
105 $string['rulename'] = 'Rule name';
106 $string['ruleareyousure'] = 'Are you sure you want to delete the rule "{$a}"?';
107 $string['ruleareyousureextra'] = 'There are {$a} subscription(s) to this rule that will also be deleted.';
108 $string['rulecopysuccess'] = 'Rule successfully duplicated';
109 $string['ruledeletesuccess'] = 'Rule successfully deleted';
110 $string['rulehelp'] = 'Rule details';
111 $string['rulehelp_help'] = 'This rule listens for when the event \'{$a->eventname}\' in \'{$a->eventcomponent}\' has been triggered {$a->frequency} time(s) in {$a->minutes} minute(s).';
112 $string['rulenopermission'] = 'You do not have permission to subscribe to any events.';
113 $string['rulenopermissions'] = 'You do not have permissions to "{$a} a rule"';
114 $string['rulescansubscribe'] = 'Rules you can subscribe to';
115 $string['selectacourse'] = 'Select a course';
116 $string['selectcourse'] = 'Visit this report at course level to get a list of possible modules';
117 $string['subareyousure'] = 'Are you sure you want to delete the subscription to the rule "{$a}"?';
118 $string['subcreatesuccess'] = 'Subscription successfully created';
119 $string['subdeletesuccess'] = 'Subscription successfully removed';
120 $string['subhelp'] = 'Subscription details';
121 $string['subhelp_help'] = 'This subscription listens for when the event \'{$a->eventname}\' has been triggered in \'{$a->moduleinstance}\' {$a->frequency} time(s) in {$a->minutes} minute(s).';
122 $string['subscribeto'] = 'Subscribe to rule "{$a}"';
123 $string['taskcleanevents'] = 'Cleanup event monitor events';
124 $string['taskchecksubscriptions'] = 'Activate/deactivate invalid rule subscriptions';
125 $string['unsubscribe'] = 'Unsubscribe';