projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #278 from nmav/ocserv
[project/luci.git]
/
applications
/
luci-olsr-services
/
luasrc
/
controller
/
services.lua
diff --git
a/applications/luci-olsr-services/luasrc/controller/services.lua
b/applications/luci-olsr-services/luasrc/controller/services.lua
index
cc1a2f6
..
a4636bf
100644
(file)
--- a/
applications/luci-olsr-services/luasrc/controller/services.lua
+++ b/
applications/luci-olsr-services/luasrc/controller/services.lua
@@
-2,7
+2,6
@@
module "luci.controller.services"
function index()
local uci = require "luci.model.uci".cursor()
function index()
local uci = require "luci.model.uci".cursor()
- local i18n = luci.i18n.translate
uci:foreach("olsrd", "LoadPlugin", function(s)
if s.library == "olsrd_nameservice.so.0.3" then
uci:foreach("olsrd", "LoadPlugin", function(s)
if s.library == "olsrd_nameservice.so.0.3" then
@@
-11,7
+10,7
@@
function index()
end)
if has_serv then
end)
if has_serv then
- entry({"freifunk", "services"}, template("freifunk-services/services"),
i18n
("Services"), 60)
+ entry({"freifunk", "services"}, template("freifunk-services/services"),
_
("Services"), 60)
end
end
end
end