* template header: Added translation support for path bar
authorSteven Barth <steven@midlink.org>
Sun, 30 Mar 2008 19:30:30 +0000 (19:30 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 30 Mar 2008 19:30:30 +0000 (19:30 +0000)
src/ffluci/view/header.htm

index 66495da..40d54f5 100644 (file)
@@ -31,9 +31,9 @@ require("ffluci.http").htmlheader()
 </div>
 
 <div class="separator yellow bold">
-<%:path Pfad%>: <a href="<%=controller .. "/" .. req.category%>"><%=req.category%></a>
-&#187; <a href="<%=controller .. "/" .. req.category .. "/" .. req.module %>"><%=req.module%></a>
-&#187; <a href="<%=controller .. "/" .. req.category .. "/" .. req.module .. "/" .. req.action %>"><%=req.action%></a>
+<%:path Pfad%>: <a href="<%=controller .. "/" .. req.category%>"><%=translate(req.category, req.category)%></a>
+&#187; <a href="<%=controller .. "/" .. req.category .. "/" .. req.module %>"><%=translate(req.module, req.module)%></a>
+&#187; <a href="<%=controller .. "/" .. req.category .. "/" .. req.module .. "/" .. req.action %>"><%=translate(req.action, req.action)%></a>
 </div>
 
 <div id="columns"><div id="columnswrapper">