|
25 | 25 |
|
26 | 26 | defined('MOODLE_INTERNAL') || die(); |
27 | 27 |
|
| 28 | +$string['add_rule'] = 'Add new rule'; |
28 | 29 | $string['addcondition'] = 'Add a condition'; |
29 | 30 | $string['addrule'] = 'Add a new rule'; |
30 | | -$string['add_rule'] = 'Add new rule'; |
31 | 31 | $string['after'] = 'After'; |
32 | 32 | $string['any'] = 'Any'; |
33 | 33 | $string['before'] = 'Before'; |
|
38 | 38 | $string['cachedef_conditionrecords'] = 'Conditions for a rule'; |
39 | 39 | $string['cachedef_matchingusers'] = 'Matching users for a rule'; |
40 | 40 | $string['cachedef_rulesconditions'] = 'Rules with a specific condition'; |
| 41 | +$string['cannotenablebrokenrule'] = 'A broken rule can\'t be enabled'; |
| 42 | +$string['cf_include_missing_data'] = 'Include cohorts with missing data.'; |
| 43 | +$string['cf_include_missing_data_help'] = 'Cohorts may not have a custom field data set yet. This option includes those cohorts in the final result.'; |
| 44 | +$string['cf_includingmissingdatadesc'] = '(including cohorts with missing data)'; |
41 | 45 | $string['cohort'] = 'Cohort'; |
42 | 46 | $string['cohortid'] = 'Cohort'; |
43 | | -$string['cohortswith'] = 'Cohort(s) with field'; |
44 | 47 | $string['cohortid_help'] = 'A cohort to manage as part of this rule. Only cohorts that are not managed by other plugins are displayed in this list.'; |
| 48 | +$string['cohortswith'] = 'Cohort(s) with field'; |
45 | 49 | $string['completed:add'] = 'Rule has been added'; |
46 | 50 | $string['completed:delete'] = 'Rule has been deleted'; |
47 | | -$string['completed:enable'] = 'Rule has been enabled'; |
48 | 51 | $string['completed:disable'] = 'Rule has been disabled'; |
| 52 | +$string['completed:enable'] = 'Rule has been enabled'; |
49 | 53 | $string['completed:update'] = 'Rule has been updated'; |
50 | 54 | $string['completiondate'] = 'Completion date'; |
51 | 55 | $string['completionisdisabled'] = 'Completion is disabled for configured course'; |
52 | 56 | $string['condition'] = 'Condition'; |
53 | | -$string['conditions'] = 'Conditions'; |
54 | | -$string['conditionstext'] = '{$a->conditions} ( logical {$a->operator} )'; |
55 | | -$string['conditionsformtitle'] = 'Rule conditions'; |
56 | | -$string['conditionchnagesnotapplied'] = 'Condition changes are not applied until you save the rule form'; |
57 | | -$string['conditionformtitle'] = 'Rule condition'; |
58 | 57 | $string['condition:auth_method'] = 'Authentication method'; |
59 | | -$string['condition:cohort_membership'] = 'Cohort membership'; |
60 | | -$string['condition:cohort_membership_description'] = 'Users who {$a->operator} {$a->cohorts}'; |
61 | | -$string['condition:cohort_membership_broken_description'] = 'Condition is broken. Using the same cohort that the given rule is configured to manage to.'; |
62 | 58 | $string['condition:cohort_field'] = 'Cohort field'; |
63 | 59 | $string['condition:cohort_field_description'] = 'Users who {$a->operator} cohorts with field \'{$a->field}\' {$a->fieldoperator} {$a->fieldvalue}'; |
| 60 | +$string['condition:cohort_membership'] = 'Cohort membership'; |
| 61 | +$string['condition:cohort_membership_broken_description'] = 'Condition is broken. Using the same cohort that the given rule is configured to manage to.'; |
| 62 | +$string['condition:cohort_membership_description'] = 'Users who {$a->operator} {$a->cohorts}'; |
64 | 63 | $string['condition:course_completed'] = 'Course completed'; |
65 | 64 | $string['condition:course_completed_description'] = 'Users who have completed course "{$a->course}" {$a->operator} {$a->timecompleted}'; |
66 | 65 | $string['condition:course_not_completed'] = 'Course not completed'; |
67 | 66 | $string['condition:course_not_completed_description'] = 'Users who have not completed course "{$a->course}"'; |
68 | 67 | $string['condition:profile_field_description'] = 'Users with {$a->field} {$a->fieldoperator} {$a->fieldvalue}'; |
| 68 | +$string['condition:user_created'] = 'User created time'; |
| 69 | +$string['condition:user_custom_profile'] = 'User custom profile field'; |
69 | 70 | $string['condition:user_enrolment'] = 'User enrolment'; |
70 | 71 | $string['condition:user_enrolment_description'] = 'Users who are {$a->operator} into course "{$a->coursename}" (id {$a->courseid}) with "{$a->role}" role using "{$a->enrolmethod}" enrolment method'; |
71 | 72 | $string['condition:user_last_login'] = 'User last login'; |
72 | | -$string['condition:user_created'] = 'User created time'; |
73 | 73 | $string['condition:user_profile'] = 'User standard profile field'; |
74 | 74 | $string['condition:user_profile_interests'] = 'User interests'; |
75 | 75 | $string['condition:user_profile_interests_description'] = 'Users with interests containing the following tags {$a}'; |
76 | 76 | $string['condition:user_profile_interests_description_not'] = 'Users with interests not containing the following tags {$a}'; |
77 | | -$string['condition:user_custom_profile'] = 'User custom profile field'; |
78 | 77 | $string['condition:user_role'] = 'User role'; |
79 | | -$string['condition:user_role_description_system'] = 'Users who {$a->operator} "{$a->role}" in system context'; |
80 | 78 | $string['condition:user_role_description_category'] = 'Users who {$a->operator} "{$a->role}" in category {$a->categoryname} (id {$a->categoryid})'; |
81 | 79 | $string['condition:user_role_description_course'] = 'Users who {$a->operator} "{$a->role}" in course {$a->coursename} (id {$a->courseid})'; |
82 | | -$string['cf_include_missing_data'] = 'Include cohorts with missing data.'; |
83 | | -$string['cf_include_missing_data_help'] = 'Cohorts may not have a custom field data set yet. This option includes those cohorts in the final result.'; |
84 | | -$string['cf_includingmissingdatadesc'] = '(including cohorts with missing data)'; |
| 80 | +$string['condition:user_role_description_system'] = 'Users who {$a->operator} "{$a->role}" in system context'; |
| 81 | +$string['conditionchnagesnotapplied'] = 'Condition changes are not applied until you save the rule form'; |
| 82 | +$string['conditionformtitle'] = 'Rule condition'; |
| 83 | +$string['conditions'] = 'Conditions'; |
| 84 | +$string['conditionsformtitle'] = 'Rule conditions'; |
| 85 | +$string['conditionstext'] = '{$a->conditions} ( logical {$a->operator} )'; |
85 | 86 | $string['delete_confirm'] = 'Are you sure you want to delete rule?'; |
86 | 87 | $string['delete_confirm_condition'] = 'Are you sure you want to delete this condition?'; |
87 | 88 | $string['delete_rule'] = 'Delete rule'; |
88 | 89 | $string['description'] = 'Description'; |
89 | 90 | $string['description_help'] = 'As short description of this rule'; |
90 | | -$string['disabled'] = 'Disabled'; |
91 | 91 | $string['disable_confirm'] = 'Are you sure you want to disable rule?'; |
| 92 | +$string['disabled'] = 'Disabled'; |
| 93 | +$string['donothaverole'] = 'do not have role'; |
92 | 94 | $string['dynamic_cohorts:manage'] = 'Manage rules'; |
93 | 95 | $string['edit_rule'] = 'Edit rule'; |
94 | | -$string['enabled'] = 'Enabled'; |
95 | 96 | $string['enable_confirm'] = 'Are you sure you want to enable rule?'; |
96 | | -$string['enrolmethod'] = 'Enrolment method'; |
| 97 | +$string['enabled'] = 'Enabled'; |
97 | 98 | $string['enrolled'] = 'Enrolled'; |
98 | | -$string['ever'] = 'Ever'; |
99 | | -$string['everloggedin'] = 'Users who have logged in at least once'; |
| 99 | +$string['enrolmethod'] = 'Enrolment method'; |
100 | 100 | $string['event:conditioncreated'] = 'Condition created'; |
101 | 101 | $string['event:conditiondeleted'] = 'Condition deleted'; |
102 | 102 | $string['event:conditionupdated'] = 'Condition updated'; |
103 | 103 | $string['event:matchingfailed'] = 'Matching users failed'; |
104 | 104 | $string['event:rulecreated'] = 'Rule created'; |
105 | | -$string['event:ruleupdated'] = 'Rule updated'; |
106 | 105 | $string['event:ruledeleted'] = 'Rule deleted'; |
107 | | -$string['includechildren'] = 'including children (categories and courses)'; |
108 | | -$string['includingmissingdatadesc'] = '(including users with missing data)'; |
109 | | -$string['includeusersmissingdata'] = 'include users with missing data'; |
| 106 | +$string['event:ruleupdated'] = 'Rule updated'; |
| 107 | +$string['ever'] = 'Ever'; |
| 108 | +$string['everloggedin'] = 'Users who have logged in at least once'; |
| 109 | +$string['haverole'] = 'have role'; |
110 | 110 | $string['include_missing_data'] = 'Include users with missing data.'; |
111 | 111 | $string['include_missing_data_help'] = 'Some users may not have a custom field data set yet. This option includes those user in the final result.'; |
| 112 | +$string['includechildren'] = 'including children (categories and courses)'; |
| 113 | +$string['includeusersmissingdata'] = 'include users with missing data'; |
| 114 | +$string['includingmissingdatadesc'] = '(including users with missing data)'; |
112 | 115 | $string['inlast'] = 'In the last'; |
113 | 116 | $string['inlastloggedin'] = 'Users who have logged in in the last {$a}'; |
| 117 | +$string['inthefuture'] = 'is in the future'; |
| 118 | +$string['inthepast'] = 'is in the past'; |
114 | 119 | $string['invalidfieldvalue'] = 'Invalid field value'; |
115 | | -$string['ismemberof'] = 'are members of'; |
116 | | -$string['isnotmemberof'] = 'are not members of'; |
117 | | -$string['isnotempty'] = 'is not empty'; |
118 | 120 | $string['isafter'] = 'is after'; |
119 | 121 | $string['isbefore'] = 'is before'; |
120 | | -$string['inthepast'] = 'is in the past'; |
121 | | -$string['inthefuture'] = 'is in the future'; |
| 122 | +$string['ismemberof'] = 'are members of'; |
| 123 | +$string['isnotempty'] = 'is not empty'; |
| 124 | +$string['isnotmemberof'] = 'are not members of'; |
122 | 125 | $string['loggedintime'] = 'Users who logged in {$a->operator} {$a->time}'; |
123 | 126 | $string['logical_operator'] = 'Logical operator'; |
124 | 127 | $string['logical_operator_help'] = 'A logical operator to be applied to conditions for this rule. Operator "AND" means a user has to match all conditions to be added to a cohort. "OR" means a user has to match any of conditions to be added to a cohort.'; |
125 | | -$string['managerules'] = 'Manage rules'; |
126 | 128 | $string['managecohorts'] = 'Manage cohorts'; |
| 129 | +$string['managerules'] = 'Manage rules'; |
127 | 130 | $string['matchingusers'] = 'Matching users'; |
128 | 131 | $string['missingcourse'] = 'Missing course'; |
129 | 132 | $string['missingcoursecat'] = 'Missing course category'; |
|
147 | 150 | $string['privacy:metadata:tool_dynamic_cohorts_c:usermodified'] = 'The ID of the user who created or updated a condition'; |
148 | 151 | $string['processrulestask'] = 'Process dynamic cohort rules'; |
149 | 152 | $string['profilefield'] = 'Profile field'; |
150 | | -$string['cannotenablebrokenrule'] = 'A broken rule can\'t be enabled'; |
151 | | -$string['ruledisabledpleasereview'] = 'Newly created or updated rules are disabled by default. Please review the rule below and enable it when ready.'; |
152 | | -$string['ruledeleted'] = 'Rule has been deleted'; |
153 | | -$string['ruleenabled'] = 'Rule has been enabled'; |
154 | | -$string['ruledisabled'] = 'Rule has been disabled'; |
| 153 | +$string['realtime'] = 'Real time processing'; |
| 154 | +$string['realtime_help'] = 'If enabled, the rule will be processed synchronously as part of the event (if conditions support triggering on the event). Use caution when enabling as long running rule processing will block the user interface.'; |
| 155 | +$string['realtimedisabledglobally'] = 'Realtime processing disabled globally'; |
155 | 156 | $string['rule_entity'] = 'Dynamic cohort rule'; |
| 157 | +$string['rule_entity.bulkprocessing'] = 'Bulk processing'; |
| 158 | +$string['rule_entity.description'] = 'Description'; |
156 | 159 | $string['rule_entity.id'] = 'ID'; |
157 | 160 | $string['rule_entity.name'] = 'Name'; |
158 | | -$string['rule_entity.description'] = 'Description'; |
159 | | -$string['rule_entity.bulkprocessing'] = 'Bulk processing'; |
| 161 | +$string['rule_entity.realtime'] = 'Realtime processing'; |
160 | 162 | $string['rule_entity.status'] = 'Status'; |
| 163 | +$string['ruledeleted'] = 'Rule has been deleted'; |
| 164 | +$string['ruledisabled'] = 'Rule has been disabled'; |
| 165 | +$string['ruledisabledpleasereview'] = 'Newly created or updated rules are disabled by default. Please review the rule below and enable it when ready.'; |
| 166 | +$string['ruleenabled'] = 'Rule has been enabled'; |
161 | 167 | $string['settings:realtime'] = 'Real time processing'; |
162 | 168 | $string['settings:realtime_desc'] = 'When enabled, rules with conditions that support triggering on the event will be processed synchronously as part of the event. Use caution when enabling as long running rule processing will block the user interface.'; |
163 | 169 | $string['settings:releasemembers'] = 'Release members'; |
164 | 170 | $string['settings:releasemembers_desc'] = 'If enabled all members will be removed from a cohort once it\'s not managed by the plugin (e.g a rule is deleted or cohort for a rule is changed). <br/> Please note: no cohort_member_removed events will be triggered when members are released from a cohort. Otherwise, the rule will be processed via cron.'; |
165 | 171 | $string['usercreated'] = 'User was created'; |
166 | 172 | $string['usercreatedin'] = 'Users who were created in the last {$a}'; |
167 | 173 | $string['usercreatedtime'] = 'Users who were created {$a->operator} {$a->time}'; |
168 | | -$string['usersforrule'] = 'Users matching rule "{$a->rule}" for cohort "{$a->cohort}"'; |
169 | 174 | $string['userlastlogin'] = 'User\'s last login'; |
170 | | -$string['haverole'] = 'have role'; |
171 | | -$string['donothaverole'] = 'do not have role'; |
172 | | -$string['realtime'] = 'Real time processing'; |
173 | | -$string['realtime_help'] = 'If enabled, the rule will be processed synchronously as part of the event (if conditions support triggering on the event). Use caution when enabling as long running rule processing will block the user interface.'; |
174 | | -$string['rule_entity.realtime'] = 'Realtime processing'; |
175 | | -$string['realtimedisabledglobally'] = 'Realtime processing disabled globally'; |
| 175 | +$string['usersforrule'] = 'Users matching rule "{$a->rule}" for cohort "{$a->cohort}"'; |
0 commit comments