diff options
author | Jo-Philipp Wich <jo@mein.io> | 2017-05-30 21:24:41 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-05-30 21:25:28 +0200 |
commit | 2a81ae6d1542db4d421f62872c3a868af47d3500 (patch) | |
tree | 8e0184ae6c2e91cfe88d71f88ed5583864a6ca4e | |
parent | 830f2245a8aed834fbe4f9228278d6e2dbba0790 (diff) |
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 <jo@mein.io>
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 (<code>2m</code>).")) ltime.rmempty = true ltime.default = "12h" |