diff options
author | Manuel Munz <freifunk@somakoma.de> | 2013-08-19 11:33:14 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2013-08-19 11:33:14 +0000 |
commit | 9cf8a23f52527f1b817720c22be98a539c4d9ae0 (patch) | |
tree | 90bada1af39c8040c89bb3c1f57367f8d8e1eeeb /applications/luci-splash | |
parent | 86801ad26f622713fc9bbbc0eee163acc22ead42 (diff) |
applications/luci-splash: Fix a translation problem with 2 strings
Diffstat (limited to 'applications/luci-splash')
-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 36aa80b93..b9de464db 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 |