Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402]

   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  /**
  18   * Language strings.
  19   *
  20   * @package availability_profile
  21   * @copyright 2014 The Open University
  22   * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  
  25  $string['conditiontitle'] = 'User profile field';
  26  $string['description'] = 'Control access based on fields within the student\'s profile.';
  27  $string['error_selectfield'] = 'You must select a profile field.';
  28  $string['error_setvalue'] = 'You must type a value.';
  29  $string['label_operator'] = 'Method of comparison';
  30  $string['label_value'] = 'Value to compare against';
  31  $string['pluginname'] = 'Restriction by profile';
  32  $string['requires_contains'] = 'Your <strong>{$a->field}</strong> contains <strong>{$a->value}</strong>';
  33  $string['requires_doesnotcontain'] = 'Your <strong>{$a->field}</strong> does not contain <strong>{$a->value}</strong>';
  34  $string['requires_endswith'] = 'Your <strong>{$a->field}</strong> ends with <strong>{$a->value}</strong>';
  35  $string['requires_isempty'] = 'Your <strong>{$a->field}</strong> is empty';
  36  $string['requires_isequalto'] = 'Your <strong>{$a->field}</strong> is <strong>{$a->value}</strong>';
  37  $string['requires_isnotempty'] = 'Your <strong>{$a->field}</strong> is not empty';
  38  $string['requires_notendswith'] = 'Your <strong>{$a->field}</strong> does not end with <strong>{$a->value}</strong>';
  39  $string['requires_notisequalto'] = 'Your <strong>{$a->field}</strong> is not <strong>{$a->value}</strong>';
  40  $string['requires_notstartswith'] = 'Your <strong>{$a->field}</strong> does not start with <strong>{$a->value}</strong>';
  41  $string['requires_startswith'] = 'Your <strong>{$a->field}</strong> starts with <strong>{$a->value}</strong>';
  42  $string['missing'] = '(Missing field: {$a})';
  43  $string['title'] = 'User profile';
  44  $string['op_contains'] = 'contains';
  45  $string['op_doesnotcontain'] = 'doesn\'t contain';
  46  $string['op_endswith'] = 'ends with';
  47  $string['op_isempty'] = 'is empty';
  48  $string['op_isequalto'] = 'is equal to';
  49  $string['op_isnotempty'] = 'is not empty';
  50  $string['op_startswith'] = 'starts with';
  51  $string['privacy:metadata'] = 'The Restriction by profile plugin does not store any personal data.';