From: Jo-Philipp Wich Date: Tue, 30 May 2017 19:24:41 +0000 (+0200) Subject: luci-mod-admin-full: use "Lease time" instead of "Leasetime" as translation label X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b753cc503f0865570f14c34026347fdcb5e90a2a;p=oweals%2Fluci.git luci-mod-admin-full: use "Lease time" instead of "Leasetime" as translation label This allows sharing a common translation string between DHCP and interface pages. Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua index 16a104494..4f5e3b820 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -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 (2m).")) ltime.rmempty = true ltime.default = "12h"