From c2b107ed46571a1494d74d4c1af3bb22b8b2f821 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sat, 29 Jan 2011 01:19:22 +0000 Subject: [PATCH] modules/freifunk: Oops, forgot to fix that one before commiting, working again now --- modules/freifunk/luasrc/view/freifunk/adminindex.htm | 10 ++++++---- 1 file 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%>
- <%:Basic settings are incomplete. Please go to <%:Basic settings%> and fill out all required fields.%>

+ <%:Basic settings are incomplete. Please go to%> <%:and fill out all required fields.%>

<%end%>

<% if not (contact.nickname and contact.name and contact.mail) then%>

- <%:Contact information is incomplete. Please go to <%:Contact%> and fill out all required fields.%>

+ <%:Contact information is incomplete. Please go to%> <%:Contact%> <%:and fill out all required fields.%> +

<%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('
Diversity is enabled for device ' .. device .. '. Go to wireless settings to disable it.

') + print('

' .. translate("Diversity is enabled for device") .. ' ' .. device .. '. ' + .. translate("Go to") .. ' ' .. translate("wireless settings") .. ' ' .. + translate(" to disable it.") .. '

') end end) %> - <%+footer%> -- 2.11.0