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=2a81ae6d1542db4d421f62872c3a868af47d3500;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 031852228..4fc71cefa 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 @@ -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 (2m).")) ltime.rmempty = true ltime.default = "12h"