MDL-22054 converting block name strings to pluginname
authorPetr Skoda <skodak@moodle.org>
Sun, 11 Apr 2010 11:24:48 +0000 (11:24 +0000)
committerPetr Skoda <skodak@moodle.org>
Sun, 11 Apr 2010 11:24:48 +0000 (11:24 +0000)
AMOS START
 MOV [blockname,block_mentees],[pluginname,block_mentees]
AMOS END

blocks/mentees/block_mentees.php
blocks/mentees/lang/en/block_mentees.php

index db4ac16..9650862 100755 (executable)
@@ -3,7 +3,7 @@
 class block_mentees extends block_base {
 
     function init() {
-        $this->title = get_string('blockname', 'block_mentees');
+        $this->title = get_string('pluginname', 'block_mentees');
         $this->version = 2007101509;
     }
 
index 7570b9e..7b443bb 100755 (executable)
@@ -23,8 +23,8 @@
  * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  */
 
-$string['blockname'] = 'Mentees';
 $string['configtitle'] = 'Block title';
 $string['configtitleblankhides'] = 'Block title (no title if blank)';
 $string['leaveblanktohide'] = 'leave blank to hide the title';
 $string['newmenteesblock'] = '(new Mentees block)';
+$string['pluginname'] = 'Mentees';