Merge branch 'MDL-28176' of git://github.com/danpoltawski/moodle
[moodle.git] / lang / en / condition.php
CommitLineData
82bd6a5e 1<?php
30c8dd34
DM
2
3// This file is part of Moodle - http://moodle.org/
4//
5// Moodle is free software: you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// Moodle is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
17
18/**
19 * Strings for component 'condition', language 'en', branch 'MOODLE_20_STABLE'
20 *
21 * @package condition
22 * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
23 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
24 */
25
26$string['addcompletions'] = 'Add {no} activity conditions to form';
27$string['addgrades'] = 'Add {no} grade conditions to form';
3371ff92
SM
28$string['availabilityconditions'] = 'Restrict access';
29$string['availablefrom'] = 'Allow access from';
30$string['availablefrom_help'] = 'Access from/to dates determine when students can access the activity via a link on the course page.
2168d332 31
3371ff92
SM
32The difference between access from/to dates and availability settings for the activity is that outside the set dates the latter allows students to view the activity description, whereas access from/to dates prevent access completely.';
33$string['availableuntil'] = 'Allow access until';
34$string['badavailabledates'] = 'Invalid dates. If you set both dates, the \'Allow access from\' date should be before the \'until\' date.';
af4e4408 35$string['badgradelimits'] = 'If you set both an upper and lower grade limit, the upper limit must be higher than the lower limit.';
30c8dd34
DM
36$string['completion_complete'] = 'must be marked complete';
37$string['completioncondition'] = 'Activity completion condition';
3371ff92 38$string['completioncondition_help'] = 'This setting determines any activity completion conditions which must be met in order to access the activity. Note that completion tracking must first be set before an activity completion condition can be set.
d3c18e39 39
3371ff92 40Multiple activity completion conditions may be set if desired. If so, access to the activity will only be permitted when ALL activity completion conditions are met.';
30c8dd34
DM
41$string['completion_fail'] = 'must be complete with fail grade';
42$string['completion_incomplete'] = 'must not be marked complete';
43$string['completion_pass'] = 'must be complete with pass grade';
d3272039 44$string['configenableavailability'] = 'When enabled, this lets you set conditions (based on date, grade, or completion) that control whether an activity or resource can be accessed.';
3371ff92 45$string['enableavailability'] = 'Enable conditional access';
30c8dd34
DM
46$string['grade_atleast'] = 'must be at least';
47$string['gradecondition'] = 'Grade condition';
3371ff92 48$string['gradecondition_help'] = 'This setting determines any grade conditions which must be met in order to access the activity.
d3c18e39 49
3371ff92 50Multiple grade conditions may be set if desired. If so, the activity will only allow access when ALL grade conditions are met.';
30c8dd34 51$string['grade_upto'] = 'and less than';
af4e4408
TH
52$string['gradeitembutnolimits'] = 'You must enter an upper or lower limit, or both.';
53$string['gradelimitsbutnoitem'] = 'You must choose a grade item.';
54$string['gradesmustbenumeric'] = 'The minimum and maximum grades must be numeric (or blank).';
30c8dd34
DM
55$string['none'] = '(none)';
56$string['notavailableyet'] = 'Not available yet';
57$string['requires_completion_0'] = 'Not available unless the activity <strong>{$a}</strong> is incomplete.';
58$string['requires_completion_1'] = 'Not available until the activity <strong>{$a}</strong> is marked complete.';
59$string['requires_completion_2'] = 'Not available until the activity <strong>{$a}</strong> is complete and passed.';
60$string['requires_completion_3'] = 'Not available unless the activity <strong>{$a}</strong> is complete and failed.';
61$string['requires_date'] = 'Available from {$a}.';
62$string['requires_date_before'] = 'Available until {$a}.';
63$string['requires_date_both'] = 'Available from {$a->from} to {$a->until}.';
6282381d 64$string['requires_date_both_single_day'] = 'Available on {$a}.';
30c8dd34
DM
65$string['requires_grade_any'] = 'Not available until you have a grade in <strong>{$a}</strong>.';
66$string['requires_grade_max'] = 'Not available unless you get an appropriate score in <strong>{$a}</strong>.';
67$string['requires_grade_min'] = 'Not available until you achieve a required score in <strong>{$a}</strong>.';
68$string['requires_grade_range'] = 'Not available unless you get a particular score in <strong>{$a}</strong>.';
3371ff92 69$string['showavailability'] = 'Before activity can be accessed';
30c8dd34
DM
70$string['showavailability_hide'] = 'Hide activity entirely';
71$string['showavailability_show'] = 'Show activity greyed-out, with restriction information';
72$string['userrestriction_hidden'] = 'Restricted (completely hidden, no message): &lsquo;{$a}&rsquo;';
73$string['userrestriction_visible'] = 'Restricted: &lsquo;{$a}&rsquo;';