summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua')
-rw-r--r--applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua b/applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua
index 5f75e80156..453942152c 100644
--- a/applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua
+++ b/applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua
@@ -13,6 +13,8 @@ You may obtain a copy of the License at
]]--
local fs = require "nixio.fs"
+luci.i18n.loadc("splash")
+
local splashtextfile = "/usr/lib/luci-splash/splashtext.html"
f = SimpleForm("splashtext", translate("Edit Splash text"), translate("You can change the text that is displayed to clients here.<br /> It is possible to use the following markers: ###COMMUNITY###, ###COMMUNITY_URL###, ###LEASETIME### and ###ACCEPT###.<br />Click here to <a href='/luci/splash/'>test the splash page</a> after you saved it."))