Skip to content

Commit

Permalink
MDL-22054 startinging blocks to pluginname
Browse files Browse the repository at this point in the history
AMOS START
 CPY [messages,core_message],[pluginname,block_messages]
AMOS END
  • Loading branch information
skodak committed Apr 11, 2010
1 parent 2c4d7e2 commit ef1e4c2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/messages/block_messages.php
Expand Up @@ -2,7 +2,7 @@

class block_messages extends block_base {
function init() {
$this->title = get_string('messages','message');
$this->title = get_string('pluginname', 'block_messages');
$this->version = 2007101509;
}

Expand Down
26 changes: 26 additions & 0 deletions blocks/messages/lang/en/block_messages.php
@@ -0,0 +1,26 @@
<?php

// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Strings for component 'block_messages', language 'en', branch 'MOODLE_20_STABLE'
*
* @package block_messages
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

$string['pluginname'] = 'Messages';

0 comments on commit ef1e4c2

Please sign in to comment.