// 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;
}
$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';
$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';