MDL-22054 converting block name strings to pluginname

AMOS START
 MOV [formaltitle,block_quiz_results],[pluginname,block_quiz_results]
AMOS END
This commit is contained in:
Petr Skoda 2010-04-11 11:36:04 +00:00
parent 99f3c138f7
commit 559198b879
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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:';