mirror of
https://github.com/moodle/moodle.git
synced 2025-03-02 23:09:37 +01:00
The content of the autocomplete selection div is purged by javascript so we have to move its label outside of it. aria-labeledby is the way to go. Each time the suggestion box is expanded, autocomplete js renders the autocomplete suggestions template. So the label cannot be outside the suggestions ul.
92 lines
4.6 KiB
PHP
92 lines
4.6 KiB
PHP
<?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/>.
|
|
|
|
/**
|
|
* Strings for component 'form', language 'en', branch 'MOODLE_20_STABLE'
|
|
*
|
|
* @package core
|
|
* @subpackage form
|
|
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
$string['addfields'] = 'Add {$a} field(s) to form';
|
|
$string['advancedelement'] = 'Advanced element';
|
|
$string['close'] = 'Close';
|
|
$string['custom'] = 'Custom';
|
|
$string['day'] = 'Day';
|
|
$string['default'] = 'Default';
|
|
$string['display'] = 'Display';
|
|
$string['err_alphanumeric'] = 'You must enter only letters or numbers here.';
|
|
$string['err_email'] = 'You must enter a valid email address here.';
|
|
$string['err_lettersonly'] = 'You must enter only letters here.';
|
|
$string['err_maxfiles'] = 'You must not attach more than {$a} files here.';
|
|
$string['err_maxlength'] = 'You must enter no more than {$a->format} characters here.';
|
|
$string['err_minlength'] = 'You must enter at least {$a->format} characters here.';
|
|
$string['err_nonzero'] = 'You must enter a number not starting with a 0 here.';
|
|
$string['err_nopunctuation'] = 'You must enter no punctuation characters here.';
|
|
$string['err_numeric'] = 'You must enter a number here.';
|
|
$string['err_rangelength'] = 'You must enter between {$a->format[0]} and {$a->format[1]} characters here.';
|
|
$string['err_required'] = 'You must supply a value here.';
|
|
$string['err_wrappingwhitespace'] = 'The value must not start or end with whitespace.';
|
|
$string['err_wrongfileextension'] = 'Some files ({$a->wrongfiles}) cannot be uploaded. Only file types {$a->allowlist} are allowed.';
|
|
$string['filesofthesetypes'] = 'Accepted file types:';
|
|
$string['filetypesany'] = 'All file types';
|
|
$string['filetypesnotall'] = 'It is not allowed to select \'All file types\' here';
|
|
$string['filetypesnotallowed'] = 'These file types are not allowed here: {$a}';
|
|
$string['filetypesothers'] = 'Other files';
|
|
$string['filetypesunknown'] = 'Unknown file types: {$a}';
|
|
$string['general'] = 'General';
|
|
$string['hideadvanced'] = 'Hide advanced';
|
|
$string['hour'] = 'Hour';
|
|
$string['minute'] = 'Minute';
|
|
$string['miscellaneoussettings'] = 'Miscellaneous settings';
|
|
$string['modstandardels'] = 'Common module settings';
|
|
$string['month'] = 'Month';
|
|
$string['mustbeoverriden'] = 'Abstract form_definition() method in class {$a} must be overridden, please fix the code.';
|
|
$string['newvaluefor'] = 'New value for {$a}';
|
|
$string['nomethodforaddinghelpbutton'] = 'There is no method for adding a help button to form element {$a->name} (class {$a->classname})';
|
|
$string['nonexistentformelements'] = 'Trying to add help buttons to non-existent form elements : {$a}';
|
|
$string['noselection'] = 'No selection';
|
|
$string['nosuggestions'] = 'No suggestions';
|
|
$string['novalue'] = 'Nothing entered';
|
|
$string['novalueclicktoset'] = 'Click to enter text';
|
|
$string['optional'] = 'Optional';
|
|
$string['othersettings'] = 'Other settings';
|
|
$string['passwordunmaskedithint'] = 'Edit password';
|
|
$string['passwordunmaskrevealhint'] = 'Reveal';
|
|
$string['passwordunmaskinstructions'] = 'Press enter to save changes';
|
|
$string['privacy:metadata:preference:filemanager_recentviewmode'] = 'Recently selected view mode of the file picker element.';
|
|
$string['privacy:preference:filemanager_recentviewmode'] = 'Your preferred way of displaying files in the file picker is: {$a}';
|
|
$string['requiredelement'] = 'Required field';
|
|
$string['security'] = 'Security';
|
|
$string['selectallornone'] = 'Select all/none';
|
|
$string['selected'] = 'Selected';
|
|
$string['selecteditems'] = 'Selected items:';
|
|
$string['showadvanced'] = 'Show advanced';
|
|
$string['showless'] = 'Show less...';
|
|
$string['showmore'] = 'Show more...';
|
|
$string['somefieldsrequired'] = 'There are required fields in this form marked {$a}.';
|
|
$string['suggestions'] = 'Suggestions';
|
|
$string['time'] = 'Time';
|
|
$string['timeunit'] = 'Time unit';
|
|
$string['timing'] = 'Timing';
|
|
$string['unmaskpassword'] = 'Unmask';
|
|
$string['year'] = 'Year';
|
|
|
|
// Deprecated since Moodle 3.10.
|
|
$string['filetypesnotwhitelisted'] = 'These file types are not allowed here: {$a}';
|