* template header: Added translation support for path bar
[project/luci.git] / src / ffluci / view / header.htm
index db5570515b3b19dd0fe761e1a1d19632471718e3..40d54f51640afacae4a216d8d5e50255f622dd21 100644 (file)
@@ -11,6 +11,8 @@ require("ffluci.http").htmlheader()
 <head>
        <link rel="stylesheet" type="text/css" href="<%=media%>/cascade.css" />
        <link rel="stylesheet" type="text/css" href="<%=media%>/css/<%=req.category%>_<%=req.module%>.css" />
+       <meta http-equiv="content-type" content="text/xhtml+xml; charset=utf-8" />
+       <meta http-equiv="content-script-type" content="text/javascript" />
        <title>FFLuCI</title>
 </head>
 <body>
@@ -29,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">