diff options
Diffstat (limited to 'applications/luci-app-privoxy/luasrc/controller/privoxy.lua')
-rw-r--r-- | applications/luci-app-privoxy/luasrc/controller/privoxy.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/applications/luci-app-privoxy/luasrc/controller/privoxy.lua b/applications/luci-app-privoxy/luasrc/controller/privoxy.lua index 808ddbb447..7d4d982658 100644 --- a/applications/luci-app-privoxy/luasrc/controller/privoxy.lua +++ b/applications/luci-app-privoxy/luasrc/controller/privoxy.lua @@ -72,25 +72,25 @@ end function service_update() local url = DISP.build_url("admin", "system", "packages") if not service_version() then - return [[<h3><strong><br /><font color="red"> ]] + return [[<h3><strong><br /><font color="red">    ]] .. I18N.translate("Software package '%s' is not installed." % srv_name) - .. [[</font><br /><br /> ]] + .. [[</font><br /><br />    ]] .. I18N.translate("required") .. [[: ]] .. srv_name .. [[ ]] .. srv_ver_min .. " " .. I18N.translate("or higher") - .. [[<br /><br /> ]] + .. [[<br /><br />    ]] .. [[<a href="]] .. url ..[[">]] .. I18N.translate("Please install current version !") - .. [[</a><br /> </strong></h3>]] + .. [[</a><br /> </strong></h3>]] else - return [[<h3><strong><br /><br /><font color="red"> ]] + return [[<h3><strong><br /><br /><font color="red">    ]] .. I18N.translate("Software package '%s' is outdated." % srv_name) - .. [[</font><br /><br /> ]] + .. [[</font><br /><br />    ]] .. I18N.translate("installed") .. ": " .. service_version() - .. [[<br /><br /> ]] + .. [[<br /><br />    ]] .. I18N.translate("required") .. ": " .. srv_ver_min .. " " .. I18N.translate("or higher") - .. [[<br /><br /> ]] + .. [[<br /><br />    ]] .. [[<a href="]] .. url ..[[">]] .. I18N.translate("Please update to the current version!") - .. [[</a><br /><br /> </strong></h3>]] + .. [[</a><br /><br /> </strong></h3>]] end end |