From 2a71e9f24fa8b9b72a9c321e74583acda360c727 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 11 Apr 2010 11:19:29 +0000 Subject: [PATCH] MDL-22054 converting block name strings to pluginname AMOS START MOV [blockname,block_glossary_random],[pluginname,block_glossary_random] AMOS END --- blocks/glossary_random/block_glossary_random.php | 2 +- blocks/glossary_random/lang/en/block_glossary_random.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/glossary_random/block_glossary_random.php b/blocks/glossary_random/block_glossary_random.php index 343aaf3fe1b..c98e9fe4e5e 100644 --- a/blocks/glossary_random/block_glossary_random.php +++ b/blocks/glossary_random/block_glossary_random.php @@ -18,7 +18,7 @@ class block_glossary_random extends block_base { // load userdefined title and make sure it's never empty if (empty($this->config->title)) { - $this->title = get_string('blockname','block_glossary_random'); + $this->title = get_string('pluginname','block_glossary_random'); } else { $this->title = $this->config->title; } diff --git a/blocks/glossary_random/lang/en/block_glossary_random.php b/blocks/glossary_random/lang/en/block_glossary_random.php index a7839559f96..6abe07d2a63 100644 --- a/blocks/glossary_random/lang/en/block_glossary_random.php +++ b/blocks/glossary_random/lang/en/block_glossary_random.php @@ -27,7 +27,6 @@ $string['addentry'] = 'Add your own favorite quotes!'; $string['askaddentry'] = 'When users can add entries to the glossary, show a link with this text'; $string['askinvisible'] = 'When users cannot edit or view the glossary, show this text (without link)'; $string['askviewglossary'] = 'When users can view the glossary but not add entries, show a link with this text'; -$string['blockname'] = 'Random Glossary Entry'; $string['intro'] = 'Make sure you have at least one glossary with at least one entry added to this course. Then you can adjust the following settings'; $string['invisible'] = '(to be continued)'; $string['lastmodified'] = 'Last modified entry'; @@ -35,6 +34,7 @@ $string['nextone'] = 'Next entry'; $string['noentriesyet'] = 'There are no entries yet in the chosen glossary.'; $string['notyetconfigured'] = 'Please configure this block using the edit icon.'; $string['notyetglossary'] = 'You need to have at least one glossary to choose.'; +$string['pluginname'] = 'Random Glossary Entry'; $string['random'] = 'Random entry'; $string['refresh'] = 'Days before a new entry is chosen'; $string['select_glossary'] = 'Take entries from this glossary'; -- 2.17.1