applications/luci-splash: Fix a translation problem with 2 strings

This commit is contained in:
Manuel Munz 2013-08-19 11:33:14 +00:00
parent 86801ad26f
commit 9cf8a23f52

View file

@ -55,8 +55,11 @@ if limit_up and limit_down then
"to this project.") .. "</p>"
end
contact = translatef('Get in %s with the operator of this access point.' % ('<a href="' .. contacturl .. '">' .. translatef('Contact') .. '</a>'))
accepttext = translatef('By accepting these rules you can use this network for %s hour(s). After this time you need to accept these rules again.' % leasetime)
local contact = translate('Get in %s with the operator of this access point.')
contact = contact % ('<a href="' .. contacturl .. '">' .. translatef('Contact') .. '</a>')
local accepttext = translate('By accepting these rules you can use this network for %s hour(s). After this time you need to accept these rules again.')
accepttext = accepttext % leasetime
if has_custom_splash then