From dfe73442f7306325c733ce0df48abb56fb56710a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mudr=C3=A1k?= Date: Wed, 26 Oct 2016 10:37:39 +0200 Subject: [PATCH] MDL-56542 lang: Fix coding style of qtype_calculated strings file This patch does not actually change the value of strings. It only fixes the coding style issues raised by the prechecker (missing spaces around the assignment operator). --- .../calculated/lang/en/qtype_calculated.php | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/question/type/calculated/lang/en/qtype_calculated.php b/question/type/calculated/lang/en/qtype_calculated.php index 435086e7d40..f56e297ed8e 100644 --- a/question/type/calculated/lang/en/qtype_calculated.php +++ b/question/type/calculated/lang/en/qtype_calculated.php @@ -33,8 +33,8 @@ $string['answerstoleranceparam'] = 'Answers tolerance parameters'; $string['answerwithtolerance'] = '{$a->answer} (±{$a->tolerance} {$a->tolerancetype})'; $string['anyvalue'] = 'Any value'; $string['atleastoneanswer'] = 'You need to provide at least one answer.'; -$string['atleastonerealdataset']='There should be at least one real dataset in question text'; -$string['atleastonewildcard']='There should be at least one wild card in answer formula or question text'; +$string['atleastonerealdataset'] = 'There should be at least one real dataset in question text'; +$string['atleastonewildcard'] = 'There should be at least one wild card in answer formula or question text'; $string['calcdistribution'] = 'Distribution'; $string['calclength'] = 'Decimal places'; $string['calcmax'] = 'Maximum'; @@ -45,8 +45,8 @@ $string['correctanswerformula'] = 'Correct answer formula'; $string['correctanswershows'] = 'Correct answer shows'; $string['correctanswershowsformat'] = 'Format'; $string['correctfeedback'] = 'For any correct response'; -$string['dataitemdefined']='with {$a} numerical values already defined is available'; -$string['datasetrole']= ' The wild cards {x..} will be substituted by a numerical value from their dataset'; +$string['dataitemdefined'] = 'with {$a} numerical values already defined is available'; +$string['datasetrole'] = ' The wild cards {x..} will be substituted by a numerical value from their dataset'; $string['decimals'] = 'with {$a}'; $string['deleteitem'] = 'Delete item'; $string['deletelastitem'] = 'Delete last item'; @@ -72,7 +72,7 @@ $string['illegalformulasyntax'] = 'Illegal formula syntax starting with \'{$a}\' $string['incorrectfeedback'] = 'For any incorrect response'; $string['item(s)'] = 'item(s)'; $string['itemno'] = 'Item {$a}'; -$string['itemscount']='Items
Count'; +$string['itemscount'] = 'Items
Count'; $string['itemtoadd'] = 'Item to add'; $string['keptcategory1'] = 'will use the same existing shared dataset as before'; $string['keptcategory2'] = 'a file from the same category reusable set of files as before'; @@ -118,18 +118,18 @@ $string['pluginnamesummary'] = 'Calculated questions are like numerical question $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['questionstoredname'] ='Question stored name'; +$string['questionstoredname'] = 'Question stored name'; $string['replacewithrandom'] = 'Replace with a random value'; $string['reuseifpossible'] = 'reuse previous value if available'; -$string['sharedwildcard']='Shared wild card {{$a}}'; -$string['sharedwildcardname']='Shared wild card '; -$string['sharedwildcards']='Shared wild cards'; +$string['sharedwildcard'] = 'Shared wild card {{$a}}'; +$string['sharedwildcardname'] = 'Shared wild card '; +$string['sharedwildcards'] = 'Shared wild cards'; $string['significantfigures'] = 'with {$a}'; $string['significantfiguresformat'] = 'significant figures'; -$string['synchronize']='Synchronise the data from shared datasets with other questions in a quiz'; -$string['synchronizeno']='Do not synchronise'; -$string['synchronizeyes']='Synchronise'; -$string['synchronizeyesdisplay']='Synchronise and display the shared datasets name as prefix of the question name'; +$string['synchronize'] = 'Synchronise the data from shared datasets with other questions in a quiz'; +$string['synchronizeno'] = 'Do not synchronise'; +$string['synchronizeyes'] = 'Synchronise'; +$string['synchronizeyesdisplay'] = 'Synchronise and display the shared datasets name as prefix of the question name'; $string['tolerance'] = 'Tolerance ±'; $string['tolerancetype'] = 'Type'; $string['trueanswerinsidelimits'] = 'Correct answer : {$a->correct} inside limits of true value {$a->true}';