luci-mod-admin-full: use "Lease time" instead of "Leasetime" as translation label
authorJo-Philipp Wich <jo@mein.io>
Tue, 30 May 2017 19:24:41 +0000 (21:24 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 30 May 2017 19:25:28 +0000 (21:25 +0200)
This allows sharing a common translation string between DHCP and interface pages.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua

index 0318522..4fc71ce 100644 (file)
@@ -445,7 +445,7 @@ if has_dnsmasq and net:proto() == "static" then
                limit.datatype = "uinteger"
                limit.default = "150"
 
-               local ltime = s:taboption("general", Value, "leasetime", translate("Leasetime"),
+               local ltime = s:taboption("general", Value, "leasetime", translate("Lease time"),
                        translate("Expiry time of leased addresses, minimum is 2 minutes (<code>2m</code>)."))
                ltime.rmempty = true
                ltime.default = "12h"