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-qos/luasrc/controller/qos.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'applications/luci-qos/luasrc') diff --git a/applications/luci-qos/luasrc/controller/qos.lua b/applications/luci-qos/luasrc/controller/qos.lua index af9b11499..c9eb9e5d1 100644 --- a/applications/luci-qos/luasrc/controller/qos.lua +++ b/applications/luci-qos/luasrc/controller/qos.lua @@ -11,6 +11,7 @@ You may obtain a copy of the License at $Id$ ]]-- + module("luci.controller.qos", package.seeall) function index() @@ -18,12 +19,13 @@ function index() return end - local page = entry({"admin", "network", "qos"}, cbi("qos/qos"), "QoS") + local page + + page = entry({"admin", "network", "qos"}, cbi("qos/qos"), _("QoS")) page.i18n = "qos" page.dependent = true - - - local page = entry({"mini", "network", "qos"}, cbi("qos/qosmini", {autoapply=true}), "QoS") + + page = entry({"mini", "network", "qos"}, cbi("qos/qosmini", {autoapply=true}), _("QoS")) page.i18n = "qos" page.dependent = true end -- cgit v1.2.3