applications, modules: remove i18n handling from controller modules as it moved to...
[project/luci.git] / modules / admin-full / luasrc / controller / admin / services.lua
index 14ced9f..1e161d7 100644 (file)
@@ -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