summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr-services/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-08-12 13:16:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-08-12 13:16:27 +0000
commit1d76d8a2158ec397322e54da0b6ad3ca4cadb621 (patch)
tree4c4044d2ca009fa88c154379e439bb2dc784b3a4 /applications/luci-olsr-services/luasrc/controller
parenta8ac3b344f5dee7a79455faa0c699e561464cf4d (diff)
applications, modules: remove i18n handling from controller modules as it moved to the themes now
Diffstat (limited to 'applications/luci-olsr-services/luasrc/controller')
-rw-r--r--applications/luci-olsr-services/luasrc/controller/services.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/applications/luci-olsr-services/luasrc/controller/services.lua b/applications/luci-olsr-services/luasrc/controller/services.lua
index cc1a2f62e8..a4636bfd57 100644
--- 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()
- local i18n = luci.i18n.translate
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
- entry({"freifunk", "services"}, template("freifunk-services/services"), i18n("Services"), 60)
+ entry({"freifunk", "services"}, template("freifunk-services/services"), _("Services"), 60)
end
end