<?php
// This file is part of Moodle - https://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 <https://www.gnu.org/licenses/>.

/**
 * Strings for component 'availability_role', language 'zh_cn', version '5.0'.
 *
 * @package     availability_role
 * @category    string
 * @copyright   1999 Martin Dougiamas and contributors
 * @license     https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

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

$string['description'] = '仅允许指定的课程角色';
$string['error_selectrole'] = '必须选择一个角色';
$string['missing'] = '[缺失角色]';
$string['pluginname'] = '课程角色限制';
$string['privacy:metadata'] = '课程角色限制插件不存储任何个人数据。';
$string['requires_notrole'] = '你不是 <em>{$a}</em>';
$string['requires_role'] = '你是 <em>{$a}</em>';
$string['setting_supportedrolesheading'] = '支持角色';
$string['setting_supportguestrole'] = '客人角色';
$string['setting_supportguestrole_desc'] = '如果激活，活动的可用性将被限制或禁止作为访客的用户。';
$string['setting_supportnotloggedinrole'] = '未登录角色';
$string['setting_supportnotloggedinrole_desc'] = '如果激活，活动的可用性将被限制或禁止未登录的用户。';
$string['title'] = '角色限制';
