MDL-41421 tool_generator: Fixing help text
[moodle.git] / admin / tool / generator / lang / en / tool_generator.php
CommitLineData
6c7365d9
PS
1<?php
2// This file is part of Moodle - http://moodle.org/
3//
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.
8//
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.
13//
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/>.
16
17/**
bc4054f9 18 * Language strings.
6c7365d9 19 *
bc4054f9 20 * @package tool_generator
21 * @copyright 2013 The Open University
22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
6c7365d9
PS
23 */
24
bc4054f9 25$string['bigfile'] = 'Big file {$a}';
1325d493 26$string['courseexplanation'] = 'This tool creates standard test courses that include many
bc4054f9 27sections, activities, and files.
28
29This is intended to provide a standardised measure for checking the reliability
30and performance of various system components (such as backup and restore).
31
32This test is important because there have been many cases previously where,
33faced with real-life use cases (e.g. a course with 1,000 activities), the system
34does not work.
35
36Courses created using this feature can occupy a large amount of database and
37filesystem space (tens of gigabytes). You will need to delete the courses
38(and wait for various cleanup runs) to release this space again.
39
40**Do not use this feature on a live system**. Use only on a developer server.
41(To avoid accidental use, this feature is disabled unless you have also selected
42DEVELOPER debugging level.)';
43
1325d493
DM
44$string['coursesize_0'] = 'XS (~10KB; create in ~1 second)';
45$string['coursesize_1'] = 'S (~10MB; create in ~30 seconds)';
46$string['coursesize_2'] = 'M (~100MB; create in ~5 minutes)';
47$string['coursesize_3'] = 'L (~1GB; create in ~1 hour)';
48$string['coursesize_4'] = 'XL (~10GB; create in ~4 hours)';
49$string['coursesize_5'] = 'XXL (~20GB; create in ~8 hours)';
50$string['coursewithoutusers'] = 'The selected course has no users';
51$string['createcourse'] = 'Create course';
52$string['createtestplan'] = 'Create test plan';
53$string['creating'] = 'Creating course';
54$string['done'] = 'done ({$a}s)';
55$string['downloadtestplan'] = 'Download test plan';
56$string['downloadusersfile'] = 'Download users file';
57$string['error_nocourses'] = 'There are no courses to generate the test plan';
58$string['error_noforumdiscussions'] = 'The selected course does not contain forum discussions';
59$string['error_noforuminstances'] = 'The selected course does not contain forum module instances';
60$string['error_noforumreplies'] = 'The selected course does not contain forum replies';
61$string['error_nonexistingcourse'] = 'The specified course does not exist';
62$string['error_nopageinstances'] = 'The selected course does not contain page module instances';
bc4054f9 63$string['error_notdebugging'] = 'Not available on this server because debugging is not set to DEVELOPER';
1325d493 64$string['error_nouserspassword'] = 'You need to set $CFG->tool_generator_users_password in config.php to generate the test plan';
bc4054f9 65$string['firstname'] = 'Test course user';
66$string['fullname'] = 'Test course: {$a->size}';
67$string['maketestcourse'] = 'Make test course';
1325d493
DM
68$string['maketestplan'] = 'Make JMeter test plan';
69$string['notenoughusers'] = 'The selected course does not have enough users';
1a780189 70$string['pluginname'] = 'Development data generator';
bc4054f9 71$string['progress_checkaccounts'] = 'Checking user accounts ({$a})';
8cac8d3e 72$string['progress_coursecompleted'] = 'Course completed ({$a}s)';
bc4054f9 73$string['progress_createaccounts'] = 'Creating user accounts ({$a->from} - {$a->to})';
74$string['progress_createbigfiles'] = 'Creating big files ({$a})';
1325d493 75$string['progress_createcourse'] = 'Creating course {$a}';
bc4054f9 76$string['progress_createforum'] = 'Creating forum ({$a} posts)';
77$string['progress_createpages'] = 'Creating pages ({$a})';
78$string['progress_createsmallfiles'] = 'Creating small files ({$a})';
79$string['progress_enrol'] = 'Enrolling users into course ({$a})';
338bf2e0 80$string['progress_sitecompleted'] = 'Site completed ({$a}s)';
bc4054f9 81$string['shortsize_0'] = 'XS';
82$string['shortsize_1'] = 'S';
83$string['shortsize_2'] = 'M';
84$string['shortsize_3'] = 'L';
85$string['shortsize_4'] = 'XL';
86$string['shortsize_5'] = 'XXL';
338bf2e0
DM
87$string['sitesize_0'] = 'XS (~10MB; 3 courses, created in ~30 seconds)';
88$string['sitesize_1'] = 'S (~50MB; 8 courses, created in ~2 minutes)';
89$string['sitesize_2'] = 'M (~200MB; 73 courses, created in ~10 minutes)';
90$string['sitesize_3'] = 'L (~1\'5GB; 277 courses, created in ~1\'5 hours)';
91$string['sitesize_4'] = 'XL (~10GB; 1065 courses, created in ~5 hours)';
92$string['sitesize_5'] = 'XXL (~20GB; 4177 courses, created in ~10 hours)';
bc4054f9 93$string['size'] = 'Size of course';
bc4054f9 94$string['smallfiles'] = 'Small files';
1325d493
DM
95$string['targetcourse'] = 'Test target course';
96$string['testplanexplanation'] = 'This tool creates a JMeter test plan file along with the user credentials file.
97
98This test plan is designed to work along with {$a}, which makes easier to run the test plan in a specific Moodle environment, gathers information about the runs and compares the results, so you will need to download it and use it\'s test_runner.sh script or follow the installation and usage instructions.
99
6427c7d5 100You need to set a password for the course users in config.php (e.g. $CFG->tool_generator_users_password = \'moodle\';). There is no default value for this password to prevent unintended usages of the tool. You need to use the update passwords option in case your course users have other passwords or they were generated by tool_generator but without setting a $CFG->tool_generator_users_password value.
1325d493
DM
101
102It is part of tool_generator so it works well with the courses generated by the courses and the site generators, it can
103also be used with any course that contains, at least:
6427c7d5 104
1325d493
DM
105* Enough enrolled users (depends on the test plan size you select) with the password reset to \'moodle\'
106* A page module instance
107* A forum module instance with at least one discussion and one reply
108
109You might want to consider your servers capacity when running large test plans as the amount to load generated by JMeter
110can be specially big. The ramp up period has been adjusted according to the number of threads (users) to reduce this kind
111of issues but the load is still huge.
112
113**Do not run the test plan on a live system**. This feature only creates the files to feed JMeter so is not dangerous by
35aa0182 114itself, but you should **NEVER** run this test plan in a production site.
1325d493
DM
115
116';
117$string['testplansize_0'] = 'XS ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
118$string['testplansize_1'] = 'S ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
119$string['testplansize_2'] = 'M ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
120$string['testplansize_3'] = 'L ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
121$string['testplansize_4'] = 'XL ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
122$string['testplansize_5'] = 'XXL ({$a->users} users, {$a->loops} loops and {$a->rampup} rampup period)';
123$string['updateuserspassword'] = 'Update course users password';
124$string['updateuserspassword_help'] = 'JMeter needs to login as the course users, you can set the users password using $CFG->tool_generator_users_password in config.php; this setting updates the course user\'s password according to $CFG->tool_generator_users_password. It can be useful in case you are using a course not generated by tool_generator or $CFG->tool_generator_users_password was not set when you created the test courses.';