summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-10-31 15:54:11 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-10-31 15:54:11 +0000
commit7c765875884d6866c53b63757731b079bace2e9b (patch)
treedb436df0eaff7de048bca26a7e419aedeb4a08a4 /modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
parentdc7138e424dfd454951ed5ed4eeddbf842457e87 (diff)
all: change most translate statements to new format, some need manual cleanup
Diffstat (limited to 'modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua b/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
index 5817a93d77..8c405ca599 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/dhcp.lua
@@ -31,12 +31,12 @@ enable = s:option(ListValue, "ignore", translate("enable"), "")
enable:value(0, translate("enable"))
enable:value(1, translate("disable"))
-start = s:option(Value, "start", translate("m_n_d_firstaddress"))
+start = s:option(Value, "start", translate("First leased address"))
start.rmempty = true
start:depends("ignore", "0")
-limit = s:option(Value, "limit", translate("m_n_d_numleases"), "")
+limit = s:option(Value, "limit", translate("Number of leased addresses"), "")
limit:depends("ignore", "0")
function limit.cfgvalue(self, section)
@@ -60,7 +60,7 @@ time.rmempty = true
-m2 = Map("luci_ethers", translate("dhcp_leases"))
+m2 = Map("luci_ethers", translate("Leases"))
local leasefn, leasefp, leases
uci:foreach("dhcp", "dnsmasq",
@@ -77,25 +77,25 @@ if leasefp then
end
if leases then
- v = m2:section(Table, leases, translate("dhcp_leases_active"))
- ip = v:option(DummyValue, 3, translate("ipaddress"))
+ v = m2:section(Table, leases, translate("Active Leases"))
+ ip = v:option(DummyValue, 3, translate("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Address"))
- mac = v:option(DummyValue, 2, translate("macaddress"))
+ mac = v:option(DummyValue, 2, translate("<abbr title=\"Media Access Control\">MAC</abbr>-Address"))
- ltime = v:option(DummyValue, 1, translate("dhcp_timeremain"))
+ ltime = v:option(DummyValue, 1, translate("Leasetime remaining"))
function ltime.cfgvalue(self, ...)
local value = DummyValue.cfgvalue(self, ...)
return wa.date_format(os.difftime(tonumber(value), os.time()))
end
end
-s = m2:section(TypedSection, "static_lease", translate("luci_ethers"))
+s = m2:section(TypedSection, "static_lease", translate("Static Leases"))
s.addremove = true
s.anonymous = true
s.template = "cbi/tblsection"
-mac = s:option(Value, "macaddr", translate("macaddress"))
-ip = s:option(Value, "ipaddr", translate("ipaddress"))
+mac = s:option(Value, "macaddr", translate("<abbr title=\"Media Access Control\">MAC</abbr>-Address"))
+ip = s:option(Value, "ipaddr", translate("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Address"))
sys.net.arptable(function(entry)
ip:value(entry["IP address"])
mac:value(