diff options
-rw-r--r-- | applications/luci-splash/luasrc/view/splash/splash.htm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/applications/luci-splash/luasrc/view/splash/splash.htm b/applications/luci-splash/luasrc/view/splash/splash.htm index 36aa80b931..b9de464db9 100644 --- a/applications/luci-splash/luasrc/view/splash/splash.htm +++ b/applications/luci-splash/luasrc/view/splash/splash.htm @@ -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 |