diff options
author | Manuel Munz <freifunk@somakoma.de> | 2011-01-29 01:19:22 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2011-01-29 01:19:22 +0000 |
commit | c2b107ed46571a1494d74d4c1af3bb22b8b2f821 (patch) | |
tree | 8596a0a7914c3e9b88a4946962b12d43e84d63e8 | |
parent | 77475804e0ae65eb6924b64094c77c31911c7bb3 (diff) |
modules/freifunk: Oops, forgot to fix that one before commiting, working again now
-rw-r--r-- | modules/freifunk/luasrc/view/freifunk/adminindex.htm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/freifunk/luasrc/view/freifunk/adminindex.htm b/modules/freifunk/luasrc/view/freifunk/adminindex.htm index 8846b5c87..0188f2e6d 100644 --- a/modules/freifunk/luasrc/view/freifunk/adminindex.htm +++ b/modules/freifunk/luasrc/view/freifunk/adminindex.htm @@ -17,14 +17,15 @@ local basicsurl = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "fr <% if not (hostname and latitude and longitude and location) then%> <div class="error"> - <%:Basic settings are incomplete. Please go to <a href='<%=basicsurl%>'><%:Basic settings%></a> and fill out all required fields.%></p> + <%:Basic settings are incomplete. Please go to%> <a href='<%=basicsurl%>'<%:Basic settings%></a> <%:and fill out all required fields.%></p> </div> <%end%> <p /> <% if not (contact.nickname and contact.name and contact.mail) then%> <div class="error"> - <%:Contact information is incomplete. Please go to <a href='<%=contacturl%>'><%:Contact%></a> and fill out all required fields.%></p> + <%:Contact information is incomplete. Please go to%> <a href='<%=contacturl%>'><%:Contact%></a> <%:and fill out all required fields.%> + <p /> </div> <%end%> @@ -32,9 +33,10 @@ local basicsurl = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "fr local device = section[".name"] local url = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "network", "wireless") if section.diversity ~= "0" and section.disabled ~= "1" then - print('<div class="error">Diversity is enabled for device <b>' .. device .. '</b>. Go to <a href="' .. url .. '">wireless settings</a> to disable it.</div><p />') + 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 />') end end) %> - <%+footer%> |