From 559198b8792ed5897aaba276f5076bc1efe2fd7f Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 11 Apr 2010 11:36:04 +0000 Subject: [PATCH] MDL-22054 converting block name strings to pluginname AMOS START MOV [formaltitle,block_quiz_results],[pluginname,block_quiz_results] AMOS END --- blocks/quiz_results/block_quiz_results.php | 2 +- blocks/quiz_results/lang/en/block_quiz_results.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/quiz_results/block_quiz_results.php b/blocks/quiz_results/block_quiz_results.php index 008219de525..08ee2eae7f2 100644 --- a/blocks/quiz_results/block_quiz_results.php +++ b/blocks/quiz_results/block_quiz_results.php @@ -9,7 +9,7 @@ define('B_QUIZRESULTS_GRADE_FORMAT_ABS', 3); class block_quiz_results extends block_base { function init() { - $this->title = get_string('formaltitle', 'block_quiz_results'); + $this->title = get_string('pluginname', 'block_quiz_results'); $this->version = 2007101509; } diff --git a/blocks/quiz_results/lang/en/block_quiz_results.php b/blocks/quiz_results/lang/en/block_quiz_results.php index 7a8f9b7a1fc..2c9b9f1be23 100644 --- a/blocks/quiz_results/lang/en/block_quiz_results.php +++ b/blocks/quiz_results/lang/en/block_quiz_results.php @@ -44,7 +44,7 @@ $string['config_use_groups'] = 'Show groups instead of students (only if the qui $string['error_emptyquizid'] = 'There is an error right now with this block: you need to select which quiz it should display results from.'; $string['error_emptyquizrecord'] = 'There is an error right now with this block: the selected quiz does not seem to exist in the database.'; $string['error_nogroupsexist'] = 'There is an error right now with this block: it is set to display grades in group mode, but the course has no defined groups.'; -$string['formaltitle'] = 'Quiz Results'; +$string['pluginname'] = 'Quiz Results'; $string['worstgrade'] = 'The lowest grade:'; $string['worstgrades'] = 'The {$a} lowest grades:'; $string['worstgroupgrade'] = 'The group with the lowest average:'; -- 2.43.0