summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/view
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-01-28 23:31:10 +0000
committerManuel Munz <freifunk@somakoma.de>2011-01-28 23:31:10 +0000
commit77475804e0ae65eb6924b64094c77c31911c7bb3 (patch)
treeffe994284c9adda4a3a339b237a0980fa5cad822 /modules/freifunk/luasrc/view
parent2006a2a82744c66a71e5a6048df9c35600cd474b (diff)
modules/freifunk: i18n
Diffstat (limited to 'modules/freifunk/luasrc/view')
-rw-r--r--modules/freifunk/luasrc/view/freifunk/adminindex.htm8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/freifunk/luasrc/view/freifunk/adminindex.htm b/modules/freifunk/luasrc/view/freifunk/adminindex.htm
index 57f6bddbaa..8846b5c876 100644
--- a/modules/freifunk/luasrc/view/freifunk/adminindex.htm
+++ b/modules/freifunk/luasrc/view/freifunk/adminindex.htm
@@ -17,16 +17,14 @@ 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 missing. Please go to this page and fill all required fields: %>
- <a href='<%=basicsurl%>'><%:Basic settings%></a>
+ <%: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 missing. Please go to this page and fill all required fields: %>
- <a href='<%=contacturl%>'><%:Contact%></a><p />
+ <%:Contact information is incomplete. Please go to <a href='<%=contacturl%>'><%:Contact%></a> and fill out all required fields.%></p>
</div>
<%end%>
@@ -34,7 +32,7 @@ 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 change that.</div><p />')
+ 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 />')
end
end) %>