MDL-31201 wiki: fix a hardcoded string
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
b574c078a6
commit
8b3d60557c
@@ -195,6 +195,7 @@ $string['searchcontent'] = 'Search in page content';
|
||||
$string['searchresult'] = 'Search results:';
|
||||
$string['searchwikis'] = 'Search wikis';
|
||||
$string['special'] = 'Special';
|
||||
$string['tableofcontents'] = 'Table of contents';
|
||||
$string['tagsdeleted'] = 'Wiki tags have been deleted';
|
||||
$string['tagtitle'] = 'See the "{$a}" tag';
|
||||
$string['teacherrating'] = 'Teacher rating';
|
||||
|
||||
@@ -239,7 +239,7 @@ abstract class wiki_markup_parser extends generic_parser {
|
||||
$i++;
|
||||
}
|
||||
|
||||
$this->returnvalues['toc'] = "<div class=\"wiki-toc\"><p class=\"wiki-toc-title\">Table of contents</p>$toc</div>";
|
||||
$this->returnvalues['toc'] = "<div class=\"wiki-toc\"><p class=\"wiki-toc-title\">" . get_string('tableofcontents', 'wiki') . "</p>$toc</div>";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user