summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-11-26 12:53:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-11-26 12:53:43 +0000
commit848e43a5b47c0467b90e7d9a029e59ec53461da3 (patch)
tree175f8f2aae92abc3a587fe39f082f53ea627ccc9 /applications/luci-splash/luasrc/controller
parent264aae7910c2598fe845ebdd952e504bf8f0e48e (diff)
remove .i18n annotations from controller files
Diffstat (limited to 'applications/luci-splash/luasrc/controller')
-rw-r--r--applications/luci-splash/luasrc/controller/splash/splash.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/applications/luci-splash/luasrc/controller/splash/splash.lua b/applications/luci-splash/luasrc/controller/splash/splash.lua
index aceeb4a8c..73584580d 100644
--- a/applications/luci-splash/luasrc/controller/splash/splash.lua
+++ b/applications/luci-splash/luasrc/controller/splash/splash.lua
@@ -1,28 +1,25 @@
module("luci.controller.splash.splash", package.seeall)
-luci.i18n.loadc("splash")
local uci = luci.model.uci.cursor()
local util = require "luci.util"
function index()
- entry({"admin", "services", "splash"}, cbi("splash/splash"), _("Client-Splash"), 90).i18n = "freifunk"
+ entry({"admin", "services", "splash"}, cbi("splash/splash"), _("Client-Splash"), 90)
entry({"admin", "services", "splash", "splashtext" }, form("splash/splashtext"), _("Splashtext"), 10)
local e
e = node("splash")
e.target = call("action_dispatch")
- e.i18n = "freifunk"
node("splash", "activate").target = call("action_activate")
node("splash", "splash").target = template("splash_splash/splash")
node("splash", "blocked").target = template("splash/blocked")
- entry({"admin", "status", "splash"}, call("action_status_admin"), _("Client-Splash")).i18n = "freifunk"
+ entry({"admin", "status", "splash"}, call("action_status_admin"), _("Client-Splash"))
local page = node("splash", "publicstatus")
page.target = call("action_status_public")
- page.i18n = "freifunk"
page.leaf = true
end