The title of TOC is not localized, it always displays the english text "Table of Contents". Below is a patch to fix this problem.
Cheers,
Akos Kiss <
akiss@users.sourceforge.net>
--- xhtml.php.orig 2005-05-07 11:22:56.000000000 +0200
+++ xhtml.php 2005-06-14 00:45:13.000000000 +0200
@@ -59,8 +59,9 @@
}
function toc_open() {
+ global $lang;
$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 class="tocheader">'.$lang['toc'].' <script type="text/javascript">showTocToggle("+","-")</script></div>'.DOKU_LF;
$this->doc .= '<div id="tocinside">'.DOKU_LF;
}