MDL-22054 converting block name strings to pluginname

AMOS START
 MOV [blockname,block_blog_recent],[pluginname,block_blog_recent]
AMOS END
This commit is contained in:
Petr Skoda
2010-04-11 11:01:41 +00:00
parent 3d208a19c5
commit 34ac830c96
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ require_once($CFG->dirroot .'/blog/locallib.php');
class block_blog_recent extends block_base {
function init() {
$this->title = get_string('blockrecenttitle', 'blog');
$this->title = get_string('pluginname', 'block_blog_recent');
$this->content_type = BLOCK_TYPE_TEXT;
$this->version = 2009070900;
}
@@ -23,7 +23,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['blockname'] = 'Recent blog entries';
$string['norecentblogentries'] = 'No recent entries';
$string['numentriestodisplay'] = 'Number of recent entries to display';
$string['pluginname'] = 'Recent blog entries';
$string['recentinterval'] = 'Interval of time considered "recent"';
-2
View File
@@ -35,8 +35,6 @@ $string['associationunviewable'] = 'This entry cannot be viewed by others until
$string['autotags'] = 'Tags associated with each imported blog entry';
$string['backupblogshelp'] = 'If enabled then blogs will be included in SITE automated backups';
$string['blockexternalstitle'] = 'External Blogs';
$string['blockmenutitle'] = 'Blog Menu';
$string['blockrecenttitle'] = 'Recent Blog Entries';
$string['blocktagstitle'] = 'Blog Tags';
$string['blocktitle'] = 'Blog tags block title';
$string['blog'] = 'Blog';