-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtool_cloudmetrics.php
More file actions
132 lines (114 loc) · 5.87 KB
/
tool_cloudmetrics.php
File metadata and controls
132 lines (114 loc) · 5.87 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?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
*
* @package tool_cloudmetrics
* @author Jason den Dulk <jasondendulk@catalyst-au.net>
* @copyright 2022, Catalyst IT
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$string['pluginname'] = 'Cloudmetrics';
// Privacy.
$string['privacy:metadata'] = 'No personal information is stored';
// Subplugins.
$string['subplugintype_cltr'] = 'Collector for a cloud metric service';
$string['subplugintype_cltr_plural'] = 'Collectors for cloud metric services';
// Tasks.
$string['collect_metrics_task'] = 'Collect Metrics';
// Settings.
$string['manage_collectors'] = 'Manage Collectors';
$string['manage_metrics'] = 'Manage Metrics';
$string['enable_disable_collectors'] = 'Enable or disable collectors.';
$string['enable_disable_metrics'] = 'Enable or disable metrics.';
$string['builtin_metrics_settings'] = 'Built in metric settings';
$string['activeusers_frequency'] = 'Active users frequency';
$string['activeusers_frequency_desc'] = 'Frequency of taking the active users metric.';
$string['activeusers_time_window'] = 'Active user time window';
$string['activeusers_time_window_desc'] = 'Metric will include users who have been active in this time period.';
$string['newusers_frequency'] = 'New users frequency';
$string['newusers_frequency_desc'] = 'Frequency of taking the new users metric.';
$string['newusers_time_window'] = 'New user time window';
$string['newusers_time_window_desc'] = 'Metric will include users who first started in this time period.';
$string['onlineusers_frequency'] = 'Online users frequency';
$string['onlineusers_frequency_desc'] = 'Frequency of taking the online users metric.';
$string['onlineusers_time_window'] = 'Online user time window';
$string['onlineusers_time_window_desc'] = 'Metric will include users who were active in this time period.';
$string['colour'] = 'Colour';
$string['frequency'] = 'Frequency';
$string['change_frequency'] = 'Change frequency';
$string['backfillable'] = 'Backfillable';
$string['no_support'] = 'Not supported';
// Built in metrics.
$string['activeusers'] = 'Active users';
$string['activeusers_desc'] = 'Users that have been active in the recent past.';
$string['onlineusers'] = 'Online users';
$string['onlineusers_desc'] = 'Users that are currently online.';
$string['newusers'] = 'New users';
$string['newusers_desc'] = 'Users who have signed up recently.';
$string['dailyusers'] = 'Daily users';
$string['dailyusers_desc'] = 'Unique users over a day (fixed frequency).';
$string['yearlyactiveusers'] = 'Yearly active users';
$string['yearlyactiveusers_desc'] = 'Users that have been active within the past 365 days from today.';
// User selection labels.
$string['data_empty'] = 'Your database for this metric is empty.';
$string['data_in_db'] = 'Your database contains data from {$a->dbstart} to {$a->dbend}.';
$string['data_period'] = 'Current information shows data can be retrieved from {$a->startdate} to {$a->enddate}.';
$string['different_freq'] = 'Caution - frequency has been changed, new data will complete currently present but no data will be added between
{$a->backfilledfrom} and {$a->backfilledto}.';
$string['period_select'] = 'Select period to retrieve data from: ';
$string['return_to_backfill'] = 'Backfill {$a} period';
$string['return_to_chart'] = 'Return to {$a} chart';
$string['view_chart'] = 'View {$a} chart';
$string['same_freq'] = 'Backfilling to a further date in the past will complete already present data.';
// Frequency labels.
$string['one_minute'] = '1 minute';
$string['five_minutes'] = '5 minutes';
$string['fifteen_minutes'] = '15 minutes';
$string['thirty_minutes'] = '30 minutes';
$string['one_hour'] = '1 hour';
$string['three_hour'] = '3 hours';
$string['twelve_hour'] = '12 hours';
$string['one_day'] = '1 day';
$string['one_week'] = '1 week';
$string['two_week'] = '2 week';
$string['one_fortnight'] = '1 fortnight';
$string['one_month'] = '1 month';
$string['two_month'] = '2 months';
$string['four_month'] = '4 months'; // Chart length only.
$string['six_month'] = '6 months'; // Chart length only.
$string['twelve_month'] = '12 months'; // Chart length only.
$string['two_year'] = '2 years'; // Chart length only.
// Error and status messages.
$string['backfill_not_supported'] = 'Metric \'{$a}\' does not support backfilling';
$string['metric_enabled'] = 'Metric \'{$a}\' enabled';
$string['metric_not_enabled'] = 'Metric \'{$a}\' not enabled';
$string['metric_not_found'] = 'Metric \'{$a}\' not found';
$string['clientnotfound'] = 'Client not found';
$string['collector_failed'] = 'Collector \'{$a->name}\' failed {$a->time}';
$string['collector_passed'] = 'Collector \'{$a->name}\' succeeded since {$a->time}';
$string['collector_never'] = 'Collector \'{$a}\' has never executed';
$string['collector_frequency'] = 'Data collected every {$a}.';
$string['no_collectors'] = 'No active collectors';
$string['checkcollectorcheck'] = 'Cloudmetrics collector status';
$string['managelink'] = 'Manage collectors';
// Backfill progress.
$string['backfillcomplete'] = 'Backfilling data for {$a} complete.';
$string['backfillsaving'] = 'Saving metric items for {$a}.';
$string['backfillgenerating'] = 'Generating metric items for {$a}.';
// Groups.
$string['user_activity'] = 'User activity';