Skip to content

Commit

Permalink
MDL-21695 moving strings related to Choose dataset properties and Edi…
Browse files Browse the repository at this point in the history
…t the datasets from quiz.php to qtype_calculated.php

and adding very elementary.. help strings
  • Loading branch information
ppichet committed May 26, 2010
1 parent 5cefe4f commit efeedf0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions question/type/calculated/lang/en/qtype_calculated.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@
$string['calculated_help'] = 'Calculated questions enable individual numerical questions to be created using wildcards that are substituted with individual values when the quiz is taken.';
$string['addingcalculated_link'] = 'question/type/calculated';
$string['calculatedsummary'] = 'Calculated questions are like numerical questions but with the numbers used selected randomly from a set when the quiz is taken.';
$string['choosedatasetproperties'] = 'Choose wild cards dataset properties';
$string['correctanswershows'] = 'Correct answer shows';
$string['correctanswershowsformat'] = 'Format';
$string['dataitemdefined']='with $a numerical values already defined is available';
$string['datasetrole']= ' The wild cards <strong>{x..}</strong> will be substituted by a numerical value from their dataset';
$string['deleteitem'] = 'Delete Item';
$string['deletelastitem'] = 'Delete Last Item';
$string['editingcalculated'] = 'Editing a Calculated question';
$string['editdatasets'] = 'Edit the wild cards datasets';
$string['existingcategory1'] = 'will use an already existing shared dataset';
$string['existingcategory2'] = 'a file from an already existing set of files that are also used by other questions in this category';
$string['existingcategory3'] = 'a link from an already existing set of links that are also used by other questions in this category';
Expand Down Expand Up @@ -91,6 +93,8 @@
$string['oneanswertrueansweroutsidelimits'] = 'At least one correct answer outside the true value limits.<br />Modify the answers tolerance settings available as Advanced parameters';
$string['param'] = 'Param {<strong>$a</strong>}';
$string['possiblehdr'] = 'Possible wild cards present only in the question text';
$string['questiondatasets'] = 'Question datasets';
$string['questiondatasets_help'] = 'Question datasets of wild cards that will be used in each individual question';
$string['replacewithrandom'] = 'Replace with a random value';
$string['reuseifpossible'] = 'reuse previous value if available';
$string['sharedwildcard']='Shared wild card';
Expand Down
4 changes: 2 additions & 2 deletions question/type/calculated/questiontype.php
Original file line number Diff line number Diff line change
Expand Up @@ -505,10 +505,10 @@ function display_question_editing_page(&$mform, $question, $wizardnow){
return;
break;
case 'datasetdefinitions':
echo $OUTPUT->heading_with_help(get_string("choosedatasetproperties", "quiz"), 'questiondatasets', 'quiz');
echo $OUTPUT->heading_with_help(get_string("choosedatasetproperties", "qtype_calculated"), 'questiondatasets', 'qtype_calculated');
break;
case 'datasetitems':
echo $OUTPUT->heading_with_help(get_string("editdatasets", "quiz"), 'questiondatasets', 'quiz');
echo $OUTPUT->heading_with_help(get_string("editdatasets", "qtype_calculated"), 'questiondatasets', 'qtype_calculated');
break;
}

Expand Down

0 comments on commit efeedf0

Please sign in to comment.