This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Duplicate
FS#398 Text 'Table of contents' not change whith tranlation
Localization
2005-06-16hardian
I create $lang['toc'] in lang.php but the title not change
I found this in xhmtl.php
function toc_open() {
$this->doc .= '<div class="toc">'.DOKU_LF;
$this->doc .= '<div class="tocheader">Table of contents <script type="text/javascript">showTocToggle("+","-")</script></div>'.DOKU_LF;
$this->doc .= '<div id="tocinside">'.DOKU_LF;
}
For me, the solution is change to
function toc_open() {
global $lang;
$this->doc .= '<div class="toc">'.DOKU_LF;
$this->doc .= '<div class="tocheader">'.$lang['toc'].' <script type="text/javascript">showTocToggle("+","-")</script></div>'.DOKU_LF;
$this->doc .= '<div id="tocinside">'.DOKU_LF;
}