summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash/luasrc/controller/splash/splash.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-splash/luasrc/controller/splash/splash.lua')
-rw-r--r--applications/luci-splash/luasrc/controller/splash/splash.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-splash/luasrc/controller/splash/splash.lua b/applications/luci-splash/luasrc/controller/splash/splash.lua
index 362ad9def4..27eff65796 100644
--- a/applications/luci-splash/luasrc/controller/splash/splash.lua
+++ b/applications/luci-splash/luasrc/controller/splash/splash.lua
@@ -1,7 +1,11 @@
module("luci.controller.splash.splash", package.seeall)
function index()
- entry({"admin", "services", "splash"}, cbi("splash/splash"), "Client-Splash")
+ require("luci.i18n")
+ luci.i18n.loadc("freifunk")
+
+ entry({"admin", "services", "splash"}, cbi("splash/splash"), luci.i18n.translate("Client-Splash"), 90)
+ entry({"admin", "services", "splash", "splashtext" }, form("splash/splashtext"), luci.i18n.translate("Splashtext"), 10)
node("splash").target = call("action_dispatch")
node("splash", "activate").target = call("action_activate")