luci-base: fix typos

Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
This commit is contained in:
Balázs Úr 2019-12-20 16:48:51 +01:00
parent 2096d67522
commit 8b47bb8411
3 changed files with 4 additions and 4 deletions

View file

@ -71,7 +71,7 @@ if leases then
end
ip = v:option(DummyValue, 3, translate("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Address"))
mac = v:option(DummyValue, 2, translate("<abbr title=\"Media Access Control\">MAC</abbr>-Address"))
ltime = v:option(DummyValue, 1, translate("Leasetime remaining"))
ltime = v:option(DummyValue, 1, translate("Lease time remaining"))
function ltime.cfgvalue(self, ...)
local value = DummyValue.cfgvalue(self, ...)
return wa.date_format(os.difftime(tonumber(value), os.time()))

View file

@ -52,7 +52,7 @@ CBILease6Status = form.DummyValue.extend({
E('div', { 'class': 'th' }, _('Host')),
E('div', { 'class': 'th' }, _('IPv6-Address')),
E('div', { 'class': 'th' }, _('DUID')),
E('div', { 'class': 'th' }, _('Leasetime remaining'))
E('div', { 'class': 'th' }, _('Lease time remaining'))
]),
E('div', { 'class': 'tr placeholder' }, [
E('div', { 'class': 'td' }, E('em', _('Collecting data...')))

View file

@ -28,7 +28,7 @@ return L.Class.extend({
E('div', { 'class': 'th' }, _('Hostname')),
E('div', { 'class': 'th' }, _('IPv4-Address')),
E('div', { 'class': 'th' }, _('MAC-Address')),
E('div', { 'class': 'th' }, _('Leasetime remaining'))
E('div', { 'class': 'th' }, _('Lease time remaining'))
])
]);
@ -55,7 +55,7 @@ return L.Class.extend({
E('div', { 'class': 'th' }, _('Host')),
E('div', { 'class': 'th' }, _('IPv6-Address')),
E('div', { 'class': 'th' }, _('DUID')),
E('div', { 'class': 'th' }, _('Leasetime remaining'))
E('div', { 'class': 'th' }, _('Lease time remaining'))
])
]);