Fix i18n problems with freifunk module and meshwizard
[project/luci.git] / modules / freifunk / luasrc / model / cbi / freifunk / user_index.lua
index 2b8cef9..e23ea90 100644 (file)
@@ -1,12 +1,13 @@
 local fs = require "nixio.fs"
 local file = "/www/luci-static/index_user.html"
+luci.i18n.loadc("freifunk")
 
 m = Map("freifunk", translate("Edit index page"), translate("You can display additional content on the public index page by inserting valid XHTML in the form below.<br />Headlines should be enclosed between &lt;h2&gt; and &lt;/h2&gt;."))
 
 s = m:section(NamedSection, "community", "public", "")
 s.anonymous = true
 
-di = s:option(Flag, "DefaultText", translate("Disable default content"), translate("If checked then the default content element is not shown."))
+di = s:option(Flag, "DefaultText", translate("Disable default content"), translate("If selected then the default content element is not shown."))
 di.enabled = "disabled"
 di.disabled = "enabled"
 di.rmempty = false