2008-12-17 16:37:35 +00:00
< ? php
2010-04-10 14:01:45 +00:00
// 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/>.
/**
* Strings for component 'condition' , language 'en' , branch 'MOODLE_20_STABLE'
*
* @ package condition
* @ copyright 1999 onwards Martin Dougiamas { @ link http :// moodle . com }
* @ license http :// www . gnu . org / copyleft / gpl . html GNU GPL v3 or later
*/
$string [ 'addcompletions' ] = 'Add {no} activity conditions to form' ;
$string [ 'addgrades' ] = 'Add {no} grade conditions to form' ;
2010-11-26 13:52:16 +00:00
$string [ 'availabilityconditions' ] = 'Restrict access' ;
$string [ 'availablefrom' ] = 'Allow access from' ;
$string [ 'availablefrom_help' ] = ' Access from / to dates determine when students can access the activity via a link on the course page .
2010-09-28 09:46:11 +00:00
2010-11-26 13:52:16 +00:00
The 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 . ' ;
$string [ 'availableuntil' ] = 'Allow access until' ;
$string [ 'badavailabledates' ] = 'Invalid dates. If you set both dates, the \'Allow access from\' date should be before the \'until\' date.' ;
2011-12-02 16:16:41 +00:00
$string [ 'badgradelimits' ] = 'If you set both an upper and lower grade limit, the upper limit must be higher than the lower limit.' ;
2010-04-10 14:01:45 +00:00
$string [ 'completion_complete' ] = 'must be marked complete' ;
$string [ 'completioncondition' ] = 'Activity completion condition' ;
2010-11-26 13:52:16 +00:00
$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 .
2010-05-05 11:51:43 +00:00
2010-11-26 13:52:16 +00:00
Multiple 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 . ' ;
2010-04-10 14:01:45 +00:00
$string [ 'completion_fail' ] = 'must be complete with fail grade' ;
$string [ 'completion_incomplete' ] = 'must not be marked complete' ;
$string [ 'completion_pass' ] = 'must be complete with pass grade' ;
2010-11-26 13:52:16 +00:00
$string [ 'configenableavailability' ] = 'When enabled, this lets you set conditions (based on date, grade, or completion) that control whether an activity can be accessed.' ;
$string [ 'enableavailability' ] = 'Enable conditional access' ;
2010-04-10 14:01:45 +00:00
$string [ 'grade_atleast' ] = 'must be at least' ;
$string [ 'gradecondition' ] = 'Grade condition' ;
2010-11-26 13:52:16 +00:00
$string [ 'gradecondition_help' ] = ' This setting determines any grade conditions which must be met in order to access the activity .
2010-05-05 11:51:43 +00:00
2010-11-26 13:52:16 +00:00
Multiple grade conditions may be set if desired . If so , the activity will only allow access when ALL grade conditions are met . ' ;
2010-04-10 14:01:45 +00:00
$string [ 'grade_upto' ] = 'and less than' ;
2011-12-02 16:16:41 +00:00
$string [ 'gradeitembutnolimits' ] = 'You must enter an upper or lower limit, or both.' ;
$string [ 'gradelimitsbutnoitem' ] = 'You must choose a grade item.' ;
$string [ 'gradesmustbenumeric' ] = 'The minimum and maximum grades must be numeric (or blank).' ;
2010-04-10 14:01:45 +00:00
$string [ 'none' ] = '(none)' ;
$string [ 'notavailableyet' ] = 'Not available yet' ;
$string [ 'requires_completion_0' ] = 'Not available unless the activity <strong>{$a}</strong> is incomplete.' ;
$string [ 'requires_completion_1' ] = 'Not available until the activity <strong>{$a}</strong> is marked complete.' ;
$string [ 'requires_completion_2' ] = 'Not available until the activity <strong>{$a}</strong> is complete and passed.' ;
$string [ 'requires_completion_3' ] = 'Not available unless the activity <strong>{$a}</strong> is complete and failed.' ;
$string [ 'requires_date' ] = 'Available from {$a}.' ;
$string [ 'requires_date_before' ] = 'Available until {$a}.' ;
$string [ 'requires_date_both' ] = 'Available from {$a->from} to {$a->until}.' ;
2011-10-11 14:50:01 +01:00
$string [ 'requires_date_both_single_day' ] = 'Available on {$a}.' ;
2010-04-10 14:01:45 +00:00
$string [ 'requires_grade_any' ] = 'Not available until you have a grade in <strong>{$a}</strong>.' ;
$string [ 'requires_grade_max' ] = 'Not available unless you get an appropriate score in <strong>{$a}</strong>.' ;
$string [ 'requires_grade_min' ] = 'Not available until you achieve a required score in <strong>{$a}</strong>.' ;
$string [ 'requires_grade_range' ] = 'Not available unless you get a particular score in <strong>{$a}</strong>.' ;
2010-11-26 13:52:16 +00:00
$string [ 'showavailability' ] = 'Before activity can be accessed' ;
2010-04-10 14:01:45 +00:00
$string [ 'showavailability_hide' ] = 'Hide activity entirely' ;
$string [ 'showavailability_show' ] = 'Show activity greyed-out, with restriction information' ;
$string [ 'userrestriction_hidden' ] = 'Restricted (completely hidden, no message): ‘{$a}’' ;
$string [ 'userrestriction_visible' ] = 'Restricted: ‘{$a}’' ;