X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Foxygen%2Fluasrc%2Fview%2Fthemes%2Foxygen%2Fheader.htm;fp=themes%2Foxygen%2Fluasrc%2Fview%2Fthemes%2Foxygen%2Fheader.htm;h=56bb5226062a283d3fcc617645f3fc18735b00ce;hb=6151812920880233d953dd840e4f0bee59321ae7;hp=86ba77596c11b6f6ce473a9614d14e4e862e045f;hpb=c1d69d0146f05c41a9ab0e8951947e57b3b77174;p=project%2Fluci.git diff --git a/themes/oxygen/luasrc/view/themes/oxygen/header.htm b/themes/oxygen/luasrc/view/themes/oxygen/header.htm index 86ba77596..56bb52260 100644 --- a/themes/oxygen/luasrc/view/themes/oxygen/header.htm +++ b/themes/oxygen/luasrc/view/themes/oxygen/header.htm @@ -44,7 +44,7 @@ require("luci.http").prepare_content("application/xhtml+xml") <% if node and node.css then %> <% end -%> -<%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI +<%=striptags( hostname .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI
@@ -77,7 +77,7 @@ local function ucimenu(prefix, node) local href = controller .. prefix .. v.name .. "/" href = (nnode.query) and href .. luci.http.build_querystring(nnode.query) or href %> - > <%=pcdata(striptags(nnode.title))%> + > <%=pcdata(striptags(translate(nnode.title)))%> <%- end end @@ -119,7 +119,7 @@ ucimenu("/" .. category .. "/uci/", tree.nodes[category].nodes["uci"], "changes" if pointer.nodes and pointer.nodes[v] then pointer = pointer.nodes[v] %> - » <%=pcdata(striptags(pointer.title or v))%> + » <%=pcdata(striptags(translate(pointer.title) or v))%> <% end end