mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-25353 Correcting lang string
This commit is contained in:
parent
d6f50ce6d1
commit
a3130f2cf7
@ -35,7 +35,7 @@ $string['cannotdeletecate'] = 'You can\'t delete that category it is the default
|
||||
$string['cannotenable'] = 'Question type {$a} cannot be created directly.';
|
||||
$string['cannotfindcate'] = 'Could not find category record';
|
||||
$string['cannotfindquestionfile'] = 'Could not find question data file in zip';
|
||||
$string['cannotgetdsfordependent'] = 'Cannot get the specified dataset for a dataset dependent question! (question: {$a[0]}, datasetitem: {a[1]})';
|
||||
$string['cannotgetdsfordependent'] = 'Cannot get the specified dataset for a dataset dependent question! (question: {$a->id}, datasetitem: {$a->item})';
|
||||
$string['cannotgetdsforquestion'] = 'Cannot get the specified dataset for a calculated question! (question: {$a})';
|
||||
$string['cannothidequestion'] = 'Was not able to hide question';
|
||||
$string['cannotimportformat'] = 'Sorry, importing this format is not yet implemented!';
|
||||
|
@ -1767,7 +1767,10 @@ class question_calculated_qtype extends default_questiontype {
|
||||
FROM {question_dataset_definitions} d, {question_dataset_items} i, {question_datasets} q
|
||||
WHERE q.question = ? AND q.datasetdefinition = d.id AND d.id = i.definition AND i.itemnumber = ?
|
||||
ORDER by i.id DESC ", array($question->id, $datasetitem))) {
|
||||
print_error('cannotgetdsfordependent', 'question', '', array($question->id, $datasetitem));
|
||||
$a = new stdClass;
|
||||
$a->id = $question->id;
|
||||
$a->item = $datasetitem ;
|
||||
print_error('cannotgetdsfordependent', 'question', '', $a );
|
||||
}
|
||||
$dataset = Array();
|
||||
foreach($dataitems as $id => $dataitem ){
|
||||
|
Loading…
x
Reference in New Issue
Block a user