summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-olsr/luasrc')
-rw-r--r--applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua18
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/error_olsr.htm7
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/hna.htm6
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/index.htm16
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/mid.htm6
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/routes.htm10
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/topology.htm6
7 files changed, 34 insertions, 35 deletions
diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
index c5f86d089..b89fb253d 100644
--- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
+++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
@@ -33,16 +33,16 @@ noint.disabled = "no"
s:option(Value, "Pollrate")
tcr = s:option(ListValue, "TcRedundancy")
-tcr:value("0", translate("olsr_general_tcredundancy_0", "MPR-Selektoren"))
-tcr:value("1", translate("olsr_general_tcredundancy_1", "MPR-Selektoren und MPR"))
-tcr:value("2", translate("olsr_general_tcredundancy_2", "Alle Nachbarn"))
+tcr:value("0", translate("olsr_general_tcredundancy_0"))
+tcr:value("1", translate("olsr_general_tcredundancy_1"))
+tcr:value("2", translate("olsr_general_tcredundancy_2"))
s:option(Value, "MprCoverage")
lql = s:option(ListValue, "LinkQualityLevel")
-lql:value("0", translate("disable", "deaktivieren"))
-lql:value("1", translate("olsr_general_linkqualitylevel_1", "MPR-Auswahl"))
-lql:value("2", translate("olsr_general_linkqualitylevel_2", "MPR-Auswahl und Routing"))
+lql:value("0", translate("disable"))
+lql:value("1", translate("olsr_general_linkqualitylevel_1"))
+lql:value("2", translate("olsr_general_linkqualitylevel_2"))
lqfish = s:option(Flag, "LinkQualityFishEye")
@@ -55,12 +55,12 @@ hyst.enabled = "yes"
hyst.disabled = "no"
-i = m:section(TypedSection, "Interface", translate("interfaces", "Schnittstellen"))
+i = m:section(TypedSection, "Interface", translate("interfaces"))
i.anonymous = true
i.addremove = true
i.dynamic = true
-network = i:option(ListValue, "Interface", translate("network", "Netzwerk"))
+network = i:option(ListValue, "Interface", translate("network"))
network:value("")
luci.model.uci.foreach("network", "interface",
function (section)
@@ -83,7 +83,7 @@ p = m:section(TypedSection, "LoadPlugin")
p.addremove = true
p.dynamic = true
-lib = p:option(ListValue, "Library", translate("library", "Bibliothek"))
+lib = p:option(ListValue, "Library", translate("library"))
lib:value("")
for k, v in pairs(luci.fs.dir("/usr/lib")) do
if v:sub(1, 6) == "olsrd_" then
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 c88ddfc33..94440f617 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/error_olsr.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/error_olsr.htm
@@ -1,6 +1,5 @@
<%+header%>
-<h1><%:olsr OLSR%></h1>
-<p class="error"><%:olsr_error1 Es konnte keine Verbindung zum OLSR-Daemon hergestellt werden!%></p>
-<p><%:olsr_error2 Um die Statusinformationen abfragen zu können muss der OLSR-Daemon gestartet
-und das Plugin "txtinfo" geladen sein.%></p>
+<h1><%:olsr%></h1>
+<p class="error"><%:olsr_error1%></p>
+<p><%:olsr_error2%></p>
<%+footer%> \ No newline at end of file
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/hna.htm b/applications/luci-olsr/luasrc/view/status-olsr/hna.htm
index c13369f42..38430fcf8 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/hna.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/hna.htm
@@ -1,10 +1,10 @@
<%+header%>
-<h1><%:olsrhna OLSR-HNA%></h1>
+<h1><%:olsrhna%></h1>
<br />
<table cellspacing="0" cellpadding="6">
<tr>
-<th><%:destination Ziel%></th>
-<th><%:gateway Gateway%></th>
+<th><%:destination%></th>
+<th><%:gateway%></th>
</tr>
<% for k, route in ipairs(routes) do %>
<tr>
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/index.htm b/applications/luci-olsr/luasrc/view/status-olsr/index.htm
index 8a49232ee..dabacd15a 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/index.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/index.htm
@@ -1,11 +1,11 @@
<%+header%>
-<h1><%:olsr_links OLSR-Verbindungen%></h1>
-<p><%:olsr_links1 Übersicht über aktuell bestehende OLSR-Verbindungen%></p>
+<h1><%:olsr_links%></h1>
+<p><%:olsr_links1%></p>
<br />
<table cellspacing="0" cellpadding="6">
<tr>
-<th><%:destination Ziel%></th>
-<th><%:local Lokal%></th>
+<th><%:destination%></th>
+<th><%:local%></th>
<th>LQ</th>
<th>NLQ</th>
<th>ETX</th>
@@ -34,10 +34,10 @@
<% end %>
</table>
<br />
-<h3><%:legend Legende%>:</h3>
+<h3><%:legend%>:</h3>
<ul>
-<li><strong>LQ: </strong><%:olsrlinks_lq1 Erfolgsquote gesendeter Pakete%></li>
-<li><strong>NLQ: </strong><%:olsrlinks_nlq1 Erfolgsquote empfangener Pakete%></li>
-<li><strong>ETX: </strong><%:olsrlinks_etx1 Zu erwartende Sendeversuche pro Paket%></li>
+<li><strong>LQ: </strong><%:olsrlinks_lq1%></li>
+<li><strong>NLQ: </strong><%:olsrlinks_nlq1%></li>
+<li><strong>ETX: </strong><%:olsrlinks_etx1%></li>
</ul>
<%+footer%> \ No newline at end of file
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/mid.htm b/applications/luci-olsr/luasrc/view/status-olsr/mid.htm
index fb29e7dfa..63b8c25b2 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/mid.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/mid.htm
@@ -1,10 +1,10 @@
<%+header%>
-<h1><%:olsr_mid OLSR-MID%></h1>
+<h1><%:olsr_mid%></h1>
<br />
<table cellspacing="0" cellpadding="6">
<tr>
-<th><%:node Knoten%></th>
-<th><%:aliases Aliasse%></th>
+<th><%:node%></th>
+<th><%:aliases%></th>
</tr>
<% for k, mid in ipairs(mids) do %>
<tr>
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/routes.htm b/applications/luci-olsr/luasrc/view/status-olsr/routes.htm
index 4840bf655..ae075e8f4 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/routes.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/routes.htm
@@ -1,12 +1,12 @@
<%+header%>
-<h1><%:olsr_routes OLSR-Routen%></h1>
+<h1><%:olsr_routes%></h1>
<br />
<table cellspacing="0" cellpadding="6">
<tr>
-<th><%:destination Ziel%></th>
-<th><%:gateway Gateway%></th>
-<th><%:interface Schnittstelle%></th>
-<th><%:metric Metrik%></th>
+<th><%:destination%></th>
+<th><%:gateway%></th>
+<th><%:interface%></th>
+<th><%:metric%></th>
<th>ETX</th>
</tr>
<% for k, route in ipairs(routes) do
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/topology.htm b/applications/luci-olsr/luasrc/view/status-olsr/topology.htm
index 129319794..6ad9f5c67 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/topology.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/topology.htm
@@ -1,10 +1,10 @@
<%+header%>
-<h1><%:olsr_topology OLSR-Topologie%></h1>
+<h1><%:olsr_topology%></h1>
<br />
<table cellspacing="0" cellpadding="6">
<tr>
-<th><%:destination Ziel%></th>
-<th><%:olsr_lasthop Letzter Router%></th>
+<th><%:destination%></th>
+<th><%:olsr_lasthop%></th>
<th>LQ</th>
<th>ILQ</th>
<th>ETX</th>