diff --git a/api/controller/TestController.php b/api/controller/TestController.php index ccf2ad7c14532aba5f7381d82fd70df091542845..1f60dada4d8af6cbf1ddcb7a9cdb0dc594ca156b 100644 --- a/api/controller/TestController.php +++ b/api/controller/TestController.php @@ -194,7 +194,7 @@ class TestController { $passes = 1; } else { $fails = 1; - $message = stack_string('default_test_fail'); + $message = stack_string('defaulttestfail'); } } diff --git a/api/public/bulktest.php b/api/public/bulktest.php index 08c1b84e63d8719113457a2b6f530bcd47a51348..a50e7f4b48bf7a62d756f09e6bf89844e5b3195e 100644 --- a/api/public/bulktest.php +++ b/api/public/bulktest.php @@ -160,7 +160,7 @@ require_login(); } } if (!json.istests && json.results[seed].passes == 1) { - resultHtml += '<p class="feedback passed">' + '<?php echo stack_string('default_test_pass')?>' + '</p>'; + resultHtml += '<p class="feedback passed">' + '<?php echo stack_string('defaulttestpass')?>' + '</p>'; } // Display seed level messages - will be exceptions. if (json.results[seed].messages) { diff --git a/lang/en/qtype_stack.php b/lang/en/qtype_stack.php index 7265141ba68dc9d5e6d38613470cbe8092d781c4..072b01484a10fe381de5408786bfb6e65310549e 100644 --- a/lang/en/qtype_stack.php +++ b/lang/en/qtype_stack.php @@ -1530,8 +1530,6 @@ $string['castext_error_unevaluated'] = 'This text content was never evaluated.'; -$string['default_test_fail'] = 'Default test using the model answers does not return a score of 1.'; -$string['default_test_pass'] = 'Default test using the model answers returns a score of 1.'; // API strings. $string['api_choose_file'] = 'Please select a question file'; $string['api_choose_folder'] = 'Choose a STACK folder';