Fix i18n problems with freifunk module and meshwizard
[project/luci.git] / modules / freifunk / luasrc / view / freifunk / adminindex.htm
index 2b72370..4eed2aa 100644 (file)
@@ -8,6 +8,7 @@ local latitude = uci:get_first ("system", "system", "latitude")
 local longitude = uci:get_first ("system", "system", "longitude")
 local location = uci:get_first ("system", "system", "location")
 local basicsurl = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "freifunk", "basics")
+luci.i18n.loadc("freifunk")
 %>
 
 <h2><%:Freifunk Overview%></h2>
@@ -35,7 +36,7 @@ local basicsurl = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "fr
        if section.diversity ~= "0" and section.disabled ~= "1" then
                print('<div class="error">' .. translate("Diversity is enabled for device") .. ' <b>' .. device .. '</b>. '
                .. translate("Go to") .. ' <a href="' .. url .. '">' .. translate("wireless settings") .. '</a> ' ..
-               translate(" to disable it.") .. '</div><p />')
+               translate("to disable it.") .. '</div><p />')
        end
 end) %>