applications/luci-splash: Finish translation work and move translation strings to...
[project/luci.git] / applications / luci-splash / luasrc / model / cbi / splash / splashtext.lua
index 5f75e80156bc763f13081980afaba33665389313..453942152c6db63d9851c837ee54160447dac933 100644 (file)
@@ -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."))