-
Notifications
You must be signed in to change notification settings - Fork 14
/
local_cohortauto.php
69 lines (62 loc) · 2.97 KB
/
local_cohortauto.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Language strings for auto-cohort plugin.
* @package local_cohortauto
* @copyright 2019 Catalyst IT
* @author David Thompson <david.thompson@catalyst.net.nz>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['pluginname'] = 'Auto-cohort plugin';
$string['plugindescription'] = 'This plugin provides a way to automatically add users into cohorts.';
// Admin strings.
$string['label_cohortautotool'] = 'CohortAuto conversion operations';
$string['label_cohortautoview'] = 'CohortAuto viewer';
// View strings.
$string['selectcohort'] = 'Select cohort';
$string['username'] = 'User name';
$string['link'] = 'Link';
$string['emptycohort'] = 'Empty cohort';
$string['viewcohort'] = 'Cohort view';
$string['userprofile'] = 'User profile >>';
$string['total'] = 'Total users in cohort';
// Convert strings.
$string['cohortoper_help'] = '<p>Select cohorts you want to convert.</p>'
. '<p><b>NOTE:</b> <i>You <b>cannot</b> edit converted cohorts manually!</i></p>'
. '<p>Backup your database!!!</p>';
$string['userlink'] = 'View users';
$string['heading_cohortname'] = 'Cohort name';
$string['heading_component'] = 'Managed by';
$string['heading_count'] = '# Users';
$string['heading_link'] = 'Link';
$string['convert_do'] = 'Convert to local_cohortauto';
$string['convert_restore'] = 'Convert to manual';
$string['convert_delete'] = 'Delete cohorts';
$string['error_unknown_action'] = 'Unknown form action: \'{$a}\'';
// Settings strings.
$string['mainrule_fld'] = 'Main template (one value per line)';
$string['profile_help'] = 'Available template values';
$string['delim'] = 'New line delimiter';
$string['delim_help'] = 'Different operating use different end of line delimiters.' .
'<br>This is usually CR+LF for Windows, and LF for Linux/MacOS systems.' .
'<br>If the plugin does not work with the current setting, experiment with other values.';
$string['secondrule_fld'] = 'Empty field text';
$string['replace_arr'] = 'Replace array (one value per line, in the format: old_val|new_val)';
$string['donttouchusers'] = 'Ignore users';
$string['donttouchusers_help'] = 'Comma-separated usernames.';
$string['enableunenrol'] = 'Enable automatic removal from managed cohorts';
// Privacy API strings.
$string['privacy:metadata'] = 'Auto-cohort plugin does not store any user data.';