<?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     availability_dmavailabilitywindow
 * @category    string
 * @copyright   2020 NED
 * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

defined('MOODLE_INTERNAL') || die();

$string['ajaxerror'] = 'Error contacting server';
$string['pluginname'] = 'DM - Availability Window';
$string['title'] = 'DM - Availability Window';
$string['description'] = 'Gives the user access according to the configured deadline window';
$string['date_format'] = '%d %b %Y';
$string['date_none'] = 'N/A';
$string['window_description_none'] = 'Only available within the Activity Viewing Window';
$string['window_description_single'] = 'Only available within the Activity Viewing Window time period {$a->start} – {$a->end}';
$string['window_description_after'] = 'Only available within the Activity Viewing Window after {$a}';
$string['window_description_list'] = 'Only available within the Activity Viewing Window time periods: {$a}';
$string['availabilitywindow'] = 'DM - Activity Availability Window - {$a}';
$string['availabilitywindow_desc'] = '';
$string['numberofrestrictions'] = 'Number of restrictions';
$string['numberofrestrictions_desc'] = '';
$string['tag'] = 'Tag - {$a}';
$string['restriction'] = 'Restriction - {$a}';
$string['dmavailabilitywindow:applyteacherrestriction'] = 'Apply teacher restriction';
