From 61e2e77526e4d63c23227da77412ddfdbadbaa90 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 11 Apr 2010 11:44:30 +0000 Subject: [PATCH] MDL-22054 converting block name strings to pluginname AMOS START MOV [blockname,block_section_links],[pluginname,block_section_links] AMOS END --- blocks/section_links/block_section_links.php | 2 +- blocks/section_links/lang/en/block_section_links.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/section_links/block_section_links.php b/blocks/section_links/block_section_links.php index aa37097d4e8..f038849e0e4 100644 --- a/blocks/section_links/block_section_links.php +++ b/blocks/section_links/block_section_links.php @@ -25,7 +25,7 @@ class block_section_links extends block_base { function init() { - $this->title = get_string('blockname', 'block_section_links'); + $this->title = get_string('pluginname', 'block_section_links'); $this->version = 2007101511; } diff --git a/blocks/section_links/lang/en/block_section_links.php b/blocks/section_links/lang/en/block_section_links.php index f2ee126cb7f..427fe720377 100644 --- a/blocks/section_links/lang/en/block_section_links.php +++ b/blocks/section_links/lang/en/block_section_links.php @@ -23,7 +23,6 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['blockname'] = 'Section Links'; $string['incbydesc1'] = 'This is the value the section is incremented each time a section link is displayed starting at 1.'; $string['incbydesc2'] = 'This is the value the section is incremented each time a section link is displayed starting at 1.'; $string['incby1'] = 'Increase by'; @@ -34,5 +33,6 @@ $string['numsectionsdesc1'] = 'Once the number of sections in the course reaches $string['numsectionsdesc2'] = 'Once the number of sections in the course reaches this number then the Alternative increment by value is used.'; $string['numsections1'] = 'Number of Sections'; $string['numsections2'] = 'Alternative Number of Sections'; +$string['pluginname'] = 'Section Links'; $string['topics'] = 'Topics'; $string['weeks'] = 'Weeks';