web commit by http://getopenid.com/ptecza: Bug report
[ikiwiki] / doc / bugs / hardcoded___34__Discussion__34___link.mdwn
1 I can't translate "Discussion" link in `templates/inlinepage.tmpl`
2 and `templates/page.tmpl` files, because it's hardcoded in
3 ikiwiki sources:
4
5     ptecza@horus:~/svn/ikiwiki$ rgrep -i DISCUSSIONLINK . |grep -v '.svn'
6     ./templates/inlinepage.tmpl:<TMPL_IF NAME="DISCUSSIONLINK">
7     ./templates/inlinepage.tmpl:<li><TMPL_VAR DISCUSSIONLINK></li>
8     ./templates/page.tmpl:<TMPL_IF NAME="DISCUSSIONLINK">
9     ./templates/page.tmpl:<li><TMPL_VAR DISCUSSIONLINK><br /></li>
10     ./IkiWiki/Plugin/inline.pm:                                     $template->param(discussionlink => htmllink($page, $params{page}, "Discussion", 1, 1));
11     ./IkiWiki/Render.pm:            $template->param(discussionlink => htmllink($page, $page, "Discussion", 1, 1));
12
13 I hope it's a bug, not a feature, because I don't have the same
14 problem with other links, for example "Edit", "RecentChanges"
15 or "History".
16
17 --Pawel