diff --git a/blocks/blog_tags/block_blog_tags.php b/blocks/blog_tags/block_blog_tags.php index 424db0dfca9..6ef5a779d16 100644 --- a/blocks/blog_tags/block_blog_tags.php +++ b/blocks/blog_tags/block_blog_tags.php @@ -9,7 +9,7 @@ require_once($CFG->dirroot .'/blog/lib.php'); class block_blog_tags extends block_base { function init() { $this->version = 2007101509; - $this->title = get_string('blocktagstitle', 'blog'); + $this->title = get_string('pluginname', 'block_blog_tags'); } function instance_allow_multiple() { @@ -32,7 +32,7 @@ class block_blog_tags extends block_base { // load userdefined title and make sure it's never empty if (empty($this->config->title)) { - $this->title = get_string('blocktagstitle','blog'); + $this->title = get_string('pluginname', 'block_blog_tags'); } else { $this->title = $this->config->title; } diff --git a/blocks/blog_tags/lang/en/block_blog_tags.php b/blocks/blog_tags/lang/en/block_blog_tags.php new file mode 100644 index 00000000000..65f6df4f079 --- /dev/null +++ b/blocks/blog_tags/lang/en/block_blog_tags.php @@ -0,0 +1,26 @@ +. + +/** + * Strings for component 'block_blog_tags', language 'en', branch 'MOODLE_20_STABLE' + * + * @package block_blog_tags + * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +$string['pluginname'] = 'Blog Tags'; diff --git a/lang/en/blog.php b/lang/en/blog.php index d9f7967217d..cc7b7a77ad2 100755 --- a/lang/en/blog.php +++ b/lang/en/blog.php @@ -35,7 +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['blocktagstitle'] = 'Blog Tags'; $string['blocktitle'] = 'Blog tags block title'; $string['blog'] = 'Blog'; $string['blogaboutthis'] = 'Blog about this {$a->type}';