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 0318522281f2917cfceec0d9dfae6d6e626d1153..4fc71cefab5cdbf2b82f36d6e49bb6aaf157a036 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"