summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin/services.lua
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 /modules/admin-full/luasrc/controller/admin/services.lua
parenta8ac3b344f5dee7a79455faa0c699e561464cf4d (diff)
applications, modules: remove i18n handling from controller modules as it moved to the themes now
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin/services.lua')
-rw-r--r--modules/admin-full/luasrc/controller/admin/services.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/services.lua b/modules/admin-full/luasrc/controller/admin/services.lua
index 14ced9f694..1e161d7649 100644
--- a/modules/admin-full/luasrc/controller/admin/services.lua
+++ b/modules/admin-full/luasrc/controller/admin/services.lua
@@ -11,20 +11,20 @@ You may obtain a copy of the License at
$Id$
]]--
+
module("luci.controller.admin.services", package.seeall)
function index()
- luci.i18n.loadc("base")
- local i18n = luci.i18n.translate
+ local page
- local page = node("admin", "services", "crontab")
+ page = node("admin", "services", "crontab")
page.target = form("admin_services/crontab")
- page.title = i18n("Scheduled Tasks")
+ page.title = _("Scheduled Tasks")
page.order = 50
- local page = node("admin", "services")
+ page = node("admin", "services")
page.target = template("admin_services/index")
- page.title = i18n("Services")
+ page.title = _("Services")
page.order = 40
page.index = true
end