X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-splash%2Fluasrc%2Fcontroller%2Fsplash%2Fsplash.lua;h=73584580d83d10b06f97e6ebd8fed19c031889c6;hp=aceeb4a8c50e455fed4ddc65fb19aedce54d47e0;hb=839dcdc01299869bc714990c19d8e244f18318b5;hpb=31d76dbb64da3bcba3132d6246422ae50b376e5c diff --git a/applications/luci-splash/luasrc/controller/splash/splash.lua b/applications/luci-splash/luasrc/controller/splash/splash.lua index aceeb4a8c5..73584580d8 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