summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/model/cbi/olsr
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/model/cbi/olsr
parent713454cefa40b813a80a91586713fb17d1da963d (diff)
* luci/app-olsr: added rewritten german and english translation
Diffstat (limited to 'applications/luci-olsr/luasrc/model/cbi/olsr')
-rw-r--r--applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua20
-rw-r--r--applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua2
-rw-r--r--applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua2
3 files changed, 12 insertions, 12 deletions
diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
index cbcc3e64c5..addb64539d 100644
--- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
+++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
@@ -14,9 +14,9 @@ $Id$
require("luci.tools.webadmin")
-m = Map("olsrd", "OLSR")
+m = Map("olsrd", translate("olsrd", "OLSR Daemon"))
-s = m:section(TypedSection, "olsrd", translate("olsr_general"))
+s = m:section(TypedSection, "olsrd", translate("olsrd_general"))
s.dynamic = true
s.anonymous = true
@@ -38,26 +38,26 @@ noint.optional = true
s:option(Value, "Pollrate").optional = true
tcr = s:option(ListValue, "TcRedundancy")
-tcr:value("0", translate("olsr_general_tcredundancy_0"))
-tcr:value("1", translate("olsr_general_tcredundancy_1"))
-tcr:value("2", translate("olsr_general_tcredundancy_2"))
+tcr:value("0", translate("olsrd_olsrd_tcredundancy_0"))
+tcr:value("1", translate("olsrd_olsrd_tcredundancy_1"))
+tcr:value("2", translate("olsrd_olsrd_tcredundancy_2"))
tcr.optional = true
s:option(Value, "MprCoverage").optional = true
lql = s:option(ListValue, "LinkQualityLevel")
lql:value("0", translate("disable"))
-lql:value("1", translate("olsr_general_linkqualitylevel_1"))
-lql:value("2", translate("olsr_general_linkqualitylevel_2"))
+lql:value("1", translate("olsrd_olsrd_linkqualitylevel_1"))
+lql:value("2", translate("olsrd_olsrd_linkqualitylevel_2"))
lql.optional = true
s:option(Value, "LinkQualityAging").optional = true
lqa = s:option(ListValue, "LinkQualityAlgorithm")
lqa.optional = true
-lqa:value("etx_fpm", translate("olsr_etx_fpm"))
-lqa:value("etx_float", translate("olsr_etx_float"))
-lqa:value("etx_ff", translate("olsr_etx_ff"))
+lqa:value("etx_fpm", translate("olsrd_etx_fpm"))
+lqa:value("etx_float", translate("olsrd_etx_float"))
+lqa:value("etx_ff", translate("olsrd_etx_ff"))
lqa.optional = true
lqfish = s:option(Flag, "LinkQualityFishEye")
diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua
index b784ea1436..a5b6b1289a 100644
--- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua
+++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua
@@ -12,7 +12,7 @@ You may obtain a copy of the License at
$Id$
]]--
-mh = Map("olsrd", "OLSR - HNA Announcements")
+mh = Map("olsrd", translate("olsrd_hna", "OLSR - HNA-Ankündigungen"))
for i, sect in ipairs({ "Hna4", "Hna6" }) do
hna = mh:section(TypedSection, sect)
diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua
index f760c995f2..6a498a5b2b 100644
--- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua
+++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua
@@ -17,7 +17,7 @@ require("luci.ip")
if arg[1] then
- mp = Map("olsrd", "OLSR - Plugins")
+ mp = Map("olsrd", translate("olsrd_plugins", "OLSR - Plugins"))
p = mp:section(TypedSection, "LoadPlugin")
p:depends("library", arg[1])