summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-14 20:57:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-14 20:57:00 +0000
commit1bd4697acd27b24b11fcaf3d9566226cb7154487 (patch)
tree259ad19873b6dfcd446a75b34e9bc3da1f352988 /applications/luci-olsr/luasrc/view
parent713454cefa40b813a80a91586713fb17d1da963d (diff)
* luci/app-olsr: added rewritten german and english translation
Diffstat (limited to 'applications/luci-olsr/luasrc/view')
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/error_olsr.htm8
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/hna.htm9
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/index.htm20
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/mid.htm9
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/routes.htm13
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/topology.htm11
6 files changed, 37 insertions, 33 deletions
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/error_olsr.htm b/applications/luci-olsr/luasrc/view/status-olsr/error_olsr.htm
index 62731f346e..f401603d28 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/error_olsr.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/error_olsr.htm
@@ -13,7 +13,7 @@ $Id$
-%>
<%+header%>
-<h1><%:olsr%></h1>
-<p class="error"><%:olsr_error1%></p>
-<p><%:olsr_error2%></p>
-<%+footer%> \ No newline at end of file
+<h1><%:olsrd%></h1>
+<p class="error"><%:olsrd_error%></p>
+<p><%:olsrd_error_desc%></p>
+<%+footer%>
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/hna.htm b/applications/luci-olsr/luasrc/view/status-olsr/hna.htm
index e15a235f95..cae8a1fd9c 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/hna.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/hna.htm
@@ -13,12 +13,13 @@ $Id$
-%>
<%+header%>
-<h1><%:olsrhna%></h1>
+<h1><%:olsrd_hna%></h1>
+<p><%:olsrd_hna_desc%></p>
<br />
<table class="smalltext" cellspacing="0" cellpadding="6">
<tr>
-<th><%:destination%></th>
-<th><%:gateway%></th>
+<th><%:olsrd_network%></th>
+<th><%:olsrd_gateway%></th>
</tr>
<% for k, route in ipairs(routes) do %>
<tr>
@@ -28,4 +29,4 @@ $Id$
<% end %>
</table>
<br />
-<%+footer%> \ No newline at end of file
+<%+footer%>
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/index.htm b/applications/luci-olsr/luasrc/view/status-olsr/index.htm
index 037151d1da..291e3a47e2 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/index.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/index.htm
@@ -13,20 +13,20 @@ $Id$
-%>
<%+header%>
-<h1><%:olsr_links%></h1>
-<p><%:olsr_links1%></p>
+<h1><%:olsrd_links%></h1>
+<p><%:olsrd_links_desc%></p>
<br />
<table class="smalltext" cellspacing="0" cellpadding="6">
<tr>
-<th><%:destination%></th>
-<th><%:local%></th>
+<th><%:olsrd_neighbour_ip%></th>
+<th><%:olsrd_local_ip%></th>
<th>LQ</th>
<th>NLQ</th>
<th>ETX</th>
</tr>
-<% for k, link in ipairs(links) do
+<% for k, link in ipairs(links) do
local color = "#bb3333"
-
+
link.Cost = tonumber(link.Cost) or 0
if link.Cost == 0 then
color = "#bb3333"
@@ -50,8 +50,8 @@ $Id$
<br />
<h3><%:legend%>:</h3>
<ul>
-<li><strong>LQ: </strong><%:olsrlinks_lq1%></li>
-<li><strong>NLQ: </strong><%:olsrlinks_nlq1%></li>
-<li><strong>ETX: </strong><%:olsrlinks_etx1%></li>
+<li><strong>LQ: </strong><%:olsrd_links_lq_desc%></li>
+<li><strong>NLQ: </strong><%:olsrd_links_nlq_desc%></li>
+<li><strong>ETX: </strong><%:olsrd_links_etx_desc%></li>
</ul>
-<%+footer%> \ No newline at end of file
+<%+footer%>
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/mid.htm b/applications/luci-olsr/luasrc/view/status-olsr/mid.htm
index 0646bb5f60..f7ad682fd6 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/mid.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/mid.htm
@@ -13,12 +13,13 @@ $Id$
-%>
<%+header%>
-<h1><%:olsr_mid%></h1>
+<h1><%:olsrd_mid%></h1>
+<p><%:olsrd_mid_desc%></h1>
<br />
<table class="smalltext" cellspacing="0" cellpadding="6">
<tr>
-<th><%:node%></th>
-<th><%:aliases%></th>
+<th><%:olsrd_node%></th>
+<th><%:olsrd_mid_aliases%></th>
</tr>
<% for k, mid in ipairs(mids) do %>
<tr>
@@ -28,4 +29,4 @@ $Id$
<% end %>
</table>
<br />
-<%+footer%> \ No newline at end of file
+<%+footer%>
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/routes.htm b/applications/luci-olsr/luasrc/view/status-olsr/routes.htm
index 27d9670806..c5cce76145 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/routes.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/routes.htm
@@ -13,19 +13,20 @@ $Id$
-%>
<%+header%>
-<h1><%:olsr_routes%></h1>
+<h1><%:olsrd_routes%></h1>
+<p><%:olsrd_routes_desc%></p>
<br />
<table class="smalltext" cellspacing="0" cellpadding="6">
<tr>
-<th><%:destination%></th>
-<th><%:gateway%></th>
+<th><%:olsrd_network%></th>
+<th><%:olsrd_gateway%></th>
<th><%:interface%></th>
<th><%:metric%></th>
<th>ETX</th>
</tr>
-<% for k, route in ipairs(routes) do
+<% for k, route in ipairs(routes) do
local color = "#bb3333"
-
+
route.ETX = tonumber(route.ETX)
if route.ETX == 0 then
color = "#bb3333"
@@ -47,4 +48,4 @@ $Id$
<% end %>
</table>
<br />
-<%+footer%> \ No newline at end of file
+<%+footer%>
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/topology.htm b/applications/luci-olsr/luasrc/view/status-olsr/topology.htm
index df10b78466..3ce16a4c29 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/topology.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/topology.htm
@@ -13,17 +13,18 @@ $Id$
-%>
<%+header%>
-<h1><%:olsr_topology%></h1>
+<h1><%:olsrd_topology%></h1>
+<p><%:olsrd_topology_desc%></p>
<br />
<table class="smalltext" cellspacing="0" cellpadding="6">
<tr>
-<th><%:destination%></th>
-<th><%:olsr_lasthop%></th>
+<th><%:olsrd_node%></th>
+<th><%:olsrd_topology_lasthop%></th>
<th>LQ</th>
<th>ILQ</th>
<th>ETX</th>
</tr>
-<% for k, route in ipairs(routes) do
+<% for k, route in ipairs(routes) do
%>
<tr>
<td><a href="http://<%=route["Dest. IP"]%>"><%=route["Dest. IP"]%></a></td>
@@ -35,4 +36,4 @@ $Id$
<% end %>
</table>
<br />
-<%+footer%> \ No newline at end of file
+<%+footer%>