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>
Wed, 31 May 2017 22:25:53 +0000 (00: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 16a104494af07ea409499f48b132e3f744b318c7..4f5e3b8200ea043bfcb988c6a1cc014671465583 100644 (file)
@@ -439,7 +439,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"