From 1d76d8a2158ec397322e54da0b6ad3ca4cadb621 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 12 Aug 2011 13:16:27 +0000 Subject: applications, modules: remove i18n handling from controller modules as it moved to the themes now --- applications/luci-olsr-services/luasrc/controller/services.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '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 cc1a2f62e..a4636bfd5 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 -- cgit v1.2.3