-
Notifications
You must be signed in to change notification settings - Fork 14
/
surveyprofield_checkbox.php
69 lines (67 loc) · 5.86 KB
/
surveyprofield_checkbox.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?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 'surveyprofield_checkbox', language 'en'
*
* @package surveyprofield_checkbox
* @subpackage checkbox
* @copyright 2013 onwards kordan <stringapiccola@gmail.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['adjustment_help'] = 'How this list of items will be shown? In horizontal or in vertical?';
$string['adjustment'] = 'Adjustment';
$string['allowed'] = 'allowed';
$string['defaultvalue_help'] = 'This is the value the remote user will find answered by default.';
$string['defaultvalue'] = 'Default';
$string['downloadformat_help'] = 'Use this option to define the format of the value returned by this field.<br>Choosing \'<strong>selection</strong>\' you get a comma separated list of the values corresponding to the selection of the remote user.<br>Choosing \'<strong>positional answer</strong>\' you get an answer made by as much values as the number of the options defined for this field. For each option selected by the remote user you will get a 1 (or the corresponding value whether defined), for each option not selected by the remote user you will get a 0.<br>Example: let us suppose the question: "What do you usually get for breakfast?" with options: "milk, jam, ham, eggs, bread, orange juice". Let us futher suppose that the user selected: "ham" AND "eggs" AND "orange juice".<br>By choosing \'selection\' here, the value returned by this item will be: "ham, eggs, orange juice".<br>By choosing \'positional answer\' here, the value returned by this item will be: "0, 0, 1, 1, 0, 1" because the first and the second options ("milk, jam") were not choosed, the third and the fourth options ("ham, eggs") were selected, the second last ("bread") was not selected and the last one ("orange juice") was choosed by the remote user.';
$string['downloadformat'] = 'Download format';
$string['horizontal'] = 'horizontal';
$string['ierr_defaultsduplicated'] = 'Defaults must be different each other';
$string['ierr_foreigndefaultvalue'] = 'The default item "{$a}" was not found among options';
$string['ierr_labelduplicated'] = 'Labels must be different each other';
$string['ierr_maximumrequired'] = 'The maximun number of checkboxes to select must be lower than {$a}';
$string['ierr_maxrequiredlowerthanminrequired'] = 'Maximum number of checkboxes to select can not be lower than minimum';
$string['ierr_minimumrequired'] = 'The minimum number of checkboxes to select must be lower than {$a}';
$string['ierr_optionswithseparator'] = 'Options can not contain "{$a}"';
$string['ierr_valuesduplicated'] = 'Values must be different each other';
$string['labelother_help'] = 'If this question is equipped with the option "other" followed by a text field, enter here the label for that option. You can choose to write this option with the format: label->value. The label will be displayed on the screen, the value will be used as default for the text field. If you only specify one word, the field default will be neglected. (Take care: the separator "->" is defined in lib.php and can be changed by a developer)';
$string['labelother'] = 'Option "other"';
$string['maximumrequired_help'] = 'The maximum number of checkboxes the user can choose in his/her answer';
$string['maximumrequired'] = 'Maximum allowed options';
$string['minimumrequired_help'] = 'The minimum number of checkboxes the user is forced to choose in his/her answer';
$string['minimumrequired'] = 'Minimum required options';
$string['noanswerdefault_help'] = 'Use this option to include "No answer" among defaults';
$string['noanswerdefault'] = '"No answer" as defaults';
$string['option'] = 'Option';
$string['options_help'] = 'The list of the options for this item. You are allowed to write them as: value::label in order to define value and label both. The label will be displayed close to the corresponding checkbox, the value will be stored in the db. If you only specify one word per line (without separator), value and label will both be set to that word. (Take care: the separator "::" is defined in lib.php and can be changed by a developer)';
$string['options'] = 'Options';
$string['parentformat'] = '[One<br>label<br>per<br>line]';
$string['pluginname'] = 'Checkbox';
$string['restrictions_maximumrequired_more'] = 'No more than {$a} checkboxes are allowed';
$string['restrictions_maximumrequired_one'] = 'No more than 1 checkbox is allowed';
$string['restrictions_minimumrequired_more'] = 'At least {$a} checkboxes have to be selected';
$string['restrictions_minimumrequired_one'] = 'At least 1 checkbox has to be selected';
$string['returnlabels'] = 'label of selected items';
$string['returnposition'] = 'positional answer';
$string['returnvalues'] = 'value of selected items';
$string['uerr_greaterthanmaximum_more'] = 'Please tick no more than {$a} options';
$string['uerr_greaterthanmaximum_one'] = 'Please tick no more than 1 option';
$string['uerr_lowerthanminimum_more'] = 'Please tick at least {$a} options';
$string['uerr_lowerthanminimum_one'] = 'Please tick at least 1 option';
$string['uerr_missingothertext'] = 'Please add the text required by your selection';
$string['userfriendlypluginname'] = 'Checkbox';
$string['vertical'] = 'vertical';
$string['privacy:metadata'] = 'The "Checkbox" field plugin does not store any personal data.';