From: Jo-Philipp Wich <jo@mein.io> Date: Mon, 20 Apr 2020 15:55:39 +0000 (+0200) Subject: luci-app-nlbwmon: convert to client side JS X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fdce990b90f21f6925795d1f788f3e87bcdd0400;p=oweals%2Fluci.git luci-app-nlbwmon: convert to client side JS Signed-off-by: Jo-Philipp Wich <jo@mein.io> --- diff --git a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js deleted file mode 100644 index 8a01b1db4..000000000 --- a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js +++ /dev/null @@ -1,686 +0,0 @@ -var chartRegistry = {}, - trafficPeriods = [], - trafficData = { columns: [], data: [] }, - hostNames = {}, - ouiData = []; - - -function off(elem) -{ - var val = [0, 0]; - do { - if (!isNaN(elem.offsetLeft) && !isNaN(elem.offsetTop)) { - val[0] += elem.offsetLeft; - val[1] += elem.offsetTop; - } - } - while ((elem = elem.offsetParent) != null); - return val; -} - -Chart.defaults.global.customTooltips = function(tooltip) { - var tooltipEl = document.getElementById('chartjs-tooltip'); - - if (!tooltipEl) { - tooltipEl = document.createElement('div'); - tooltipEl.setAttribute('id', 'chartjs-tooltip'); - document.body.appendChild(tooltipEl); - } - - if (!tooltip) { - if (tooltipEl.row) - tooltipEl.row.style.backgroundColor = ''; - - tooltipEl.style.opacity = 0; - return; - } - - var pos = off(tooltip.chart.canvas); - - tooltipEl.className = tooltip.yAlign; - tooltipEl.innerHTML = tooltip.text[0]; - - tooltipEl.style.opacity = 1; - tooltipEl.style.left = pos[0] + tooltip.x + 'px'; - tooltipEl.style.top = pos[1] + tooltip.y - tooltip.caretHeight - tooltip.caretPadding + 'px'; - - console.debug(tooltip.text); - - var row = findParent(tooltip.text[1], '.tr'), - hue = tooltip.text[2]; - - if (row && !isNaN(hue)) { - row.style.backgroundColor = 'hsl(%u, 100%%, 80%%)'.format(hue); - tooltipEl.row = row; - } -}; - -Chart.defaults.global.tooltipFontSize = 10; -Chart.defaults.global.tooltipTemplate = function(tip) { - tip.label[0] = tip.label[0].format(tip.value); - return tip.label; -}; - -function kpi(id, val1, val2, val3) -{ - var e = L.dom.elem(id) ? id : document.getElementById(id); - - if (val1 && val2 && val3) - e.innerHTML = _('%s, %s and %s').format(val1, val2, val3); - else if (val1 && val2) - e.innerHTML = _('%s and %s').format(val1, val2); - else if (val1) - e.innerHTML = val1; - - e.parentNode.style.display = val1 ? 'list-item' : ''; -} - -function pie(id, data) -{ - var total = data.reduce(function(n, d) { return n + d.value }, 0); - - data.sort(function(a, b) { return b.value - a.value }); - - if (total === 0) - data = [{ - value: 1, - color: '#cccccc', - label: [ _('no traffic') ] - }]; - - for (var i = 0; i < data.length; i++) { - if (!data[i].color) { - var hue = 120 / (data.length-1) * i; - data[i].color = 'hsl(%u, 80%%, 50%%)'.format(hue); - data[i].label.push(hue); - } - } - - var node = L.dom.elem(id) ? id : document.getElementById(id), - key = L.dom.elem(id) ? id.id : id, - ctx = node.getContext('2d'); - - if (chartRegistry.hasOwnProperty(key)) - chartRegistry[key].destroy(); - - chartRegistry[key] = new Chart(ctx).Doughnut(data, { - segmentStrokeWidth: 1, - percentageInnerCutout: 30 - }); - - return chartRegistry[key]; -} - -function query(filter, group, order) -{ - var keys = [], columns = {}, records = {}, result = []; - - if (typeof(group) !== 'function' && typeof(group) !== 'object') - group = ['mac']; - - for (var i = 0; i < trafficData.columns.length; i++) - columns[trafficData.columns[i]] = i; - - for (var i = 0; i < trafficData.data.length; i++) { - var record = trafficData.data[i]; - - if (typeof(filter) === 'function' && filter(columns, record) !== true) - continue; - - var key; - - if (typeof(group) === 'function') { - key = group(columns, record); - } - else { - key = []; - - for (var j = 0; j < group.length; j++) - if (columns.hasOwnProperty(group[j])) - key.push(record[columns[group[j]]]); - - key = key.join(','); - } - - if (!records.hasOwnProperty(key)) { - var rec = {}; - - for (var col in columns) - rec[col] = record[columns[col]]; - - records[key] = rec; - result.push(rec); - } - else { - records[key].conns += record[columns.conns]; - records[key].rx_bytes += record[columns.rx_bytes]; - records[key].rx_pkts += record[columns.rx_pkts]; - records[key].tx_bytes += record[columns.tx_bytes]; - records[key].tx_pkts += record[columns.tx_pkts]; - } - } - - if (typeof(order) === 'function') - result.sort(order); - - return result; -} - -function oui(mac) { - var m, l = 0, r = ouiData.length / 3 - 1; - var mac1 = parseInt(mac.replace(/[^a-fA-F0-9]/g, ''), 16); - - while (l <= r) { - m = l + Math.floor((r - l) / 2); - - var mask = (0xffffffffffff - - (Math.pow(2, 48 - ouiData[m * 3 + 1]) - 1)); - - var mac1_hi = ((mac1 / 0x10000) & (mask / 0x10000)) >>> 0; - var mac1_lo = ((mac1 & 0xffff) & (mask & 0xffff)) >>> 0; - - var mac2 = parseInt(ouiData[m * 3], 16); - var mac2_hi = (mac2 / 0x10000) >>> 0; - var mac2_lo = (mac2 & 0xffff) >>> 0; - - if (mac1_hi === mac2_hi && mac1_lo === mac2_lo) - return ouiData[m * 3 + 2]; - - if (mac2_hi > mac1_hi || - (mac2_hi === mac1_hi && mac2_lo > mac1_lo)) - r = m - 1; - else - l = m + 1; - } - - return null; -} - - -function fetchData(period) -{ - XHR.get(L.url('admin/nlbw/data'), { period: period, group_by: 'family,mac,ip,layer7', order_by: '-rx_bytes,-tx_bytes' }, function(xhr, res) { - if (res !== null && typeof(res) === 'object' && typeof(res.columns) === 'object' && typeof(res.data) === 'object') - trafficData = res; - - var addrs = query(null, ['ip'], null); - var ipAddrs = []; - - for (var i = 0; i < addrs.length; i++) - if (ipAddrs.indexOf(addrs[i].ip) < 0) - ipAddrs.push(addrs[i].ip); - - renderHostData(); - renderLayer7Data(); - renderIPv6Data(); - - XHR.get(L.url('admin/nlbw/ptr', ipAddrs.join('/')), null, function(xhr, res) { - if (res !== null && typeof(res) === 'object') - hostNames = res; - }); - }); -} - -function renderPeriods() -{ - var sel = document.getElementById('nlbw.period'); - - for (var e, i = trafficPeriods.length - 1; e = trafficPeriods[i]; i--) { - var ymd1 = e.split(/-/); - var d1 = new Date(+ymd1[0], +ymd1[1] - 1, +ymd1[2]); - var ymd2, d2, pd; - - if (i) { - ymd2 = trafficPeriods[i - 1].split(/-/); - d2 = new Date(+ymd2[0], +ymd2[1] - 1, +ymd2[2]); - d2.setDate(d2.getDate() - 1); - pd = e; - } - else { - d2 = new Date(); - pd = ''; - } - - var opt = document.createElement('option'); - opt.setAttribute('data-duration', (d2.getTime() - d1.getTime()) / 1000); - opt.value = pd; - opt.text = '%04d-%02d-%02d - %04d-%02d-%02d'.format( - d1.getFullYear(), d1.getMonth() + 1, d1.getDate(), - d2.getFullYear(), d2.getMonth() + 1, d2.getDate()); - - sel.appendChild(opt); - } - - sel.selectedIndex = sel.childNodes.length - 1; - sel.style.display = ''; - - sel.onchange = function(ev) { - L.hideTooltip(ev); - fetchData(sel.options[sel.selectedIndex].value); - } -} - -function renderHostDetail(tooltip) -{ - var key = this.getAttribute('href').substr(1), - col = this.getAttribute('data-col'), - label = this.getAttribute('data-tooltip'); - - var detailData = query( - function(c, r) { - return ((r[c.mac] === key || r[c.ip] === key) && - (r[c.rx_bytes] > 0 || r[c.tx_bytes] > 0)); - }, - [col], - function(r1, r2) { - return ((r2.rx_bytes + r2.tx_bytes) - (r1.rx_bytes + r1.tx_bytes)); - } - ); - - var rxData = [], txData = []; - - L.dom.content(tooltip, [ - E('div', { 'class': 'head' }, [ - E('div', { 'class': 'pie' }, [ - E('label', _('Download')), - E('canvas', { 'id': 'bubble-pie1', 'width': 100, 'height': 100 }) - ]), - E('div', { 'class': 'pie' }, [ - E('label', _('Upload')), - E('canvas', { 'id': 'bubble-pie2', 'width': 100, 'height': 100 }) - ]), - E('div', { 'class': 'kpi' }, [ - E('ul', [ - E('li', _('Hostname: <big id="bubble-hostname">example.org</big>')), - E('li', _('Vendor: <big id="bubble-vendor">Example Corp.</big>')) - ]) - ]) - ]), - E('div', { 'class': 'table' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th' }, label || col), - E('div', { 'class': 'th' }, _('Conn.')), - E('div', { 'class': 'th' }, _('Down. (Bytes)')), - E('div', { 'class': 'th' }, _('Down. (Pkts.)')), - E('div', { 'class': 'th' }, _('Up. (Bytes)')), - E('div', { 'class': 'th' }, _('Up. (Pkts.)')), - ]) - ]) - ]); - - var rows = []; - - for (var i = 0; i < detailData.length; i++) { - var rec = detailData[i], - cell = E('div', rec[col] || _('other')); - - rows.push([ - cell, - '%1000.2m'.format(rec.conns), - '%1024.2mB'.format(rec.rx_bytes), - '%1000.2mP'.format(rec.rx_pkts), - '%1024.2mB'.format(rec.tx_bytes), - '%1000.2mP'.format(rec.tx_pkts) - ]); - - rxData.push({ - label: ['%s: %%1024.2mB'.format(rec[col] || _('other')), cell], - value: rec.rx_bytes - }); - - txData.push({ - label: ['%s: %%1024.2mB'.format(rec[col] || _('other')), cell], - value: rec.tx_bytes - }); - } - - cbi_update_table(tooltip.lastElementChild, rows); - - pie(tooltip.querySelector('#bubble-pie1'), rxData); - pie(tooltip.querySelector('#bubble-pie2'), txData); - - var mac = key.toUpperCase(); - var name = hostInfo.hasOwnProperty(mac) ? hostInfo[mac].name : null; - - if (!name) - for (var i = 0; i < detailData.length; i++) - if ((name = hostNames[detailData[i].ip]) !== undefined) - break; - - if (mac !== '00:00:00:00:00:00') { - kpi(tooltip.querySelector('#bubble-hostname'), name); - kpi(tooltip.querySelector('#bubble-vendor'), oui(mac)); - } - else { - kpi(tooltip.querySelector('#bubble-hostname')); - kpi(tooltip.querySelector('#bubble-vendor')); - } - - var rect = this.getBoundingClientRect(), x, y; - - if ('ontouchstart' in window || window.innerWidth <= 992) { - var vpHeight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0), - scrollFrom = window.pageYOffset, - scrollTo = scrollFrom + rect.top - vpHeight * 0.5, - start = null; - - tooltip.style.top = (rect.top + rect.height + window.pageYOffset) + 'px'; - tooltip.style.left = 0; - - var scrollStep = function(timestamp) { - if (!start) - start = timestamp; - - var duration = Math.max(timestamp - start, 1); - if (duration < 100) { - document.body.scrollTop = scrollFrom + (scrollTo - scrollFrom) * (duration / 100); - window.requestAnimationFrame(scrollStep); - } - else { - document.body.scrollTop = scrollTo; - } - }; - - window.requestAnimationFrame(scrollStep); - } - else { - x = rect.left + rect.width + window.pageXOffset, - y = rect.top + window.pageYOffset; - - if ((y + tooltip.offsetHeight) > (window.innerHeight + window.pageYOffset)) - y -= ((y + tooltip.offsetHeight) - (window.innerHeight + window.pageYOffset)); - - tooltip.style.top = y + 'px'; - tooltip.style.left = x + 'px'; - } - - return false; -} - -function formatHostname(dns) -{ - if (dns === undefined || dns === null || dns === '') - return '-'; - - dns = dns.split('.')[0]; - - if (dns.length > 12) - return '<span title="%q">%hâ¦</span>'.format(dns, dns.substr(0, 12)); - - return '%h'.format(dns); -} - -function renderHostData() -{ - var trafData = [], connData = []; - var rx_total = 0, tx_total = 0, conn_total = 0; - - var hostData = query( - function(c, r) { - return (r[c.rx_bytes] > 0 || r[c.tx_bytes] > 0); - }, - ['mac'], - //function(c, r) { - // return (r[c.mac] !== '00:00:00:00:00:00') ? r[c.mac] : r[c.ip]; - //}, - function(r1, r2) { - return ((r2.rx_bytes + r2.tx_bytes) - (r1.rx_bytes + r1.tx_bytes)); - } - ); - - var rows = []; - - for (var i = 0; i < hostData.length; i++) { - var rec = hostData[i], - mac = rec.mac.toUpperCase(), - key = (mac !== '00:00:00:00:00:00') ? mac : rec.ip, - dns = hostInfo[mac] ? hostInfo[mac].name : null; - - var cell = E('div', formatHostname(dns)); - - rows.push([ - cell, - E('a', { - 'href': '#' + rec.mac, - 'data-col': 'ip', - 'data-tooltip': _('Source IP') - }, (mac !== '00:00:00:00:00:00') ? mac : _('other')), - E('a', { - 'href': '#' + rec.mac, - 'data-col': 'layer7', - 'data-tooltip': _('Protocol') - }, '%1000.2m'.format(rec.conns)), - '%1024.2mB'.format(rec.rx_bytes), - '%1000.2mP'.format(rec.rx_pkts), - '%1024.2mB'.format(rec.tx_bytes), - '%1000.2mP'.format(rec.tx_pkts) - ]); - - trafData.push({ - value: rec.rx_bytes + rec.tx_bytes, - label: ["%s: %%.2mB".format(key), cell] - }); - - connData.push({ - value: rec.conns, - label: ["%s: %%.2m".format(key), cell] - }); - - rx_total += rec.rx_bytes; - tx_total += rec.tx_bytes; - conn_total += rec.conns; - } - - cbi_update_table('#host-data', rows, E('em', [ - _('No data recorded yet.'), ' ', - E('a', { 'href': L.url('admin/nlbw/commit') }, _('Force reloadâ¦')) - ])); - - pie('traf-pie', trafData); - pie('conn-pie', connData); - - kpi('rx-total', '%1024.2mB'.format(rx_total)); - kpi('tx-total', '%1024.2mB'.format(tx_total)); - kpi('conn-total', '%1000m'.format(conn_total)); - kpi('host-total', '%u'.format(hostData.length)); -} - -function renderLayer7Data() -{ - var rxData = [], txData = []; - var topConn = [[0],[0],[0]], topRx = [[0],[0],[0]], topTx = [[0],[0],[0]]; - - var layer7Data = query( - null, ['layer7'], - function(r1, r2) { - return ((r2.rx_bytes + r2.tx_bytes) - (r1.rx_bytes + r1.tx_bytes)); - } - ); - - var rows = []; - - for (var i = 0, c = 0; i < layer7Data.length; i++) { - var rec = layer7Data[i], - cell = E('div', rec.layer7 || _('other')); - - rows.push([ - cell, - '%1000m'.format(rec.conns), - '%1024.2mB'.format(rec.rx_bytes), - '%1000.2mP'.format(rec.rx_pkts), - '%1024.2mB'.format(rec.tx_bytes), - '%1000.2mP'.format(rec.tx_pkts) - ]); - - rxData.push({ - value: rec.rx_bytes, - label: ["%s: %%.2mB".format(rec.layer7 || _('other')), cell] - }); - - txData.push({ - value: rec.tx_bytes, - label: ["%s: %%.2mB".format(rec.layer7 || _('other')), cell] - }); - - if (rec.layer7) { - topRx.push([rec.rx_bytes, rec.layer7]); - topTx.push([rec.tx_bytes, rec.layer7]); - topConn.push([rec.conns, rec.layer7]); - } - } - - cbi_update_table('#layer7-data', rows, E('em', [ - _('No data recorded yet.'), ' ', - E('a', { 'href': L.url('admin/nlbw/commit') }, _('Force reloadâ¦')) - ])); - - pie('layer7-rx-pie', rxData); - pie('layer7-tx-pie', txData); - - topRx.sort(function(a, b) { return b[0] - a[0] }); - topTx.sort(function(a, b) { return b[0] - a[0] }); - topConn.sort(function(a, b) { return b[0] - a[0] }); - - kpi('layer7-total', layer7Data.length); - kpi('layer7-most-rx', topRx[0][1], topRx[1][1], topRx[2][1]); - kpi('layer7-most-tx', topTx[0][1], topTx[1][1], topTx[2][1]); - kpi('layer7-most-conn', topConn[0][1], topConn[1][1], topConn[2][1]); -} - -function renderIPv6Data() -{ - var col = { }, - rx4_total = 0, - tx4_total = 0, - rx6_total = 0, - tx6_total = 0, - v4_total = 0, - v6_total = 0, - ds_total = 0, - families = { }, - records = { }; - - ipv6Data = query( - null, ['family', 'mac'], - function(r1, r2) { - return ((r2.rx_bytes + r2.tx_bytes) - (r1.rx_bytes + r1.tx_bytes)); - } - ); - - for (var i = 0, c = 0; i < ipv6Data.length; i++) { - var rec = ipv6Data[i], - mac = rec.mac.toUpperCase(), - ip = rec.ip, - fam = families[mac] || 0, - recs = records[mac] || {}; - - if (rec.family == 4) { - rx4_total += rec.rx_bytes; - tx4_total += rec.tx_bytes; - fam |= 1; - } - else { - rx6_total += rec.rx_bytes; - tx6_total += rec.tx_bytes; - fam |= 2; - } - - recs[rec.family] = rec; - records[mac] = recs; - - families[mac] = fam; - } - - for (var mac in families) { - switch (families[mac]) - { - case 3: - ds_total++; - break; - - case 2: - v6_total++; - break; - - case 1: - v4_total++; - break; - } - } - - var rows = []; - - for (var mac in records) { - if (mac === '00:00:00:00:00:00') - continue; - - var dns = hostInfo[mac] ? hostInfo[mac].name : null, - rec4 = records[mac][4], - rec6 = records[mac][6]; - - rows.push([ - formatHostname(dns), - mac, - [ E('span', _('IPv4')), - E('span', _('IPv6')) ], - [ E('span', rec4 ? '%1024.2mB'.format(rec4.rx_bytes) : '-'), - E('span', rec6 ? '%1024.2mB'.format(rec6.rx_bytes) : '-') ], - [ E('span', rec4 ? '%1000.2mP'.format(rec4.rx_pkts) : '-'), - E('span', rec6 ? '%1000.2mP'.format(rec6.rx_pkts) : '-') ], - [ E('span', rec4 ? '%1024.2mB'.format(rec4.tx_bytes) : '-'), - E('span', rec6 ? '%1024.2mB'.format(rec6.tx_bytes) : '-') ], - [ E('span', rec4 ? '%1000.2mP'.format(rec4.tx_pkts) : '-'), - E('span', rec6 ? '%1000.2mP'.format(rec6.tx_pkts) : '-') ] - ]); - } - - cbi_update_table('#ipv6-data', rows, E('em', [ - _('No data recorded yet.'), ' ', - E('a', { 'href': L.url('admin/nlbw/commit') }, _('Force reloadâ¦')) - ])); - - var shareData = [], hostsData = []; - - if (rx4_total > 0 || tx4_total > 0) - shareData.push({ - value: rx4_total + tx4_total, - label: ["IPv4: %.2mB"], - color: 'hsl(140, 100%, 50%)' - }); - - if (rx6_total > 0 || tx6_total > 0) - shareData.push({ - value: rx6_total + tx6_total, - label: ["IPv6: %.2mB"], - color: 'hsl(180, 100%, 50%)' - }); - - if (v4_total > 0) - hostsData.push({ - value: v4_total, - label: [_('%d IPv4-only hosts')], - color: 'hsl(140, 100%, 50%)' - }); - - if (v6_total > 0) - hostsData.push({ - value: v6_total, - label: [_('%d IPv6-only hosts')], - color: 'hsl(180, 100%, 50%)' - }); - - if (ds_total > 0) - hostsData.push({ - value: ds_total, - label: [_('%d dual-stack hosts')], - color: 'hsl(50, 100%, 50%)' - }); - - pie('ipv6-share-pie', shareData); - pie('ipv6-hosts-pie', hostsData); - - kpi('ipv6-hosts', '%.2f%%'.format(100 / (ds_total + v4_total + v6_total) * (ds_total + v6_total))); - kpi('ipv6-share', '%.2f%%'.format(100 / (rx4_total + rx6_total + tx4_total + tx6_total) * (rx6_total + tx6_total))); - kpi('ipv6-rx', '%1024.2mB'.format(rx6_total)); - kpi('ipv6-tx', '%1024.2mB'.format(tx6_total)); -} diff --git a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js new file mode 100644 index 000000000..c5fcfe5cf --- /dev/null +++ b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js @@ -0,0 +1,70 @@ +'use strict'; +'require view'; +'require ui'; +'require fs'; + +return view.extend({ + load: function() { + return fs.trimmed('/proc/sys/kernel/hostname'); + }, + + handleArchiveUpload: function(ev) { + return ui.uploadFile('/tmp/nlbw-restore.tar.gz').then(function() { + return fs.exec('/usr/libexec/nlbwmon-action', [ 'restore' ]).then(function(res) { + if (res.code != 0) + throw new Error(res.stderr || res.stdout); + + var json = JSON.parse(res.stdout || '{}'), + list = (L.isObject(json) && Array.isArray(json.restored)) ? json.restored : []; + + ui.showModal(_('Restore complete'), [ + E('p', [ _('The following database files have been restored:') ]), + E('ul', list.map(function(file) { return E('li', [ file ]) })), + E('div', { 'class': 'right' }, [ + E('button', { 'click': ui.hideModal }, [ _('Dismiss') ]) + ]) + ]); + }).catch(function(err) { + ui.addNotification(null, E('p', [ _('Failed to restore backup archive: %s').format(err.message) ])); + }); + }); + }, + + handleArchiveDownload: function(hostname, ev) { + return fs.exec_direct('/usr/libexec/nlbwmon-action', [ 'backup' ], 'blob').then(function(blob) { + var url = window.URL.createObjectURL(blob), + date = new Date(), + name = 'nlbwmon-backup-%s-%04d-%02d-%02d.tar.gz'.format(hostname, date.getFullYear(), date.getMonth() + 1, date.getDate()), + link = E('a', { 'style': 'display:none', 'href': url, 'download': name }); + + document.body.appendChild(link); + link.click(); + document.body.removeChild(link); + window.URL.revokeObjectURL(url); + }).catch(function(err) { + ui.addNotification(null, E('p', [ _('Failed to download backup archive: %s').format(err.message) ])); + }); + }, + + render: function(hostname) { + return E([], [ + E('h2', [ _('Netlink Bandwidth Monitor - Backup / Restore') ]), + E('h5', [ _('Restore Database Backup') ]), + E('p', [ + E('button', { + 'click': ui.createHandlerFn(this, 'handleArchiveUpload') + }, [ _('Restore') ]) + ]), + E('h5', [ _('Download Database Backup') ]), + E('p', [ + E('button', { + 'click': ui.createHandlerFn(this, 'handleArchiveDownload', hostname) + }, [ _('Generate Backup') ]) + ]) + ]); + }, + + handleSave: null, + handleSaveApply: null, + handleReset: null +}); diff --git a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js new file mode 100644 index 000000000..cb13eecce --- /dev/null +++ b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js @@ -0,0 +1,180 @@ +'use strict'; +'require view'; +'require form'; +'require uci'; +'require fs'; +'require validation'; +'require tools.widgets as widgets'; + +function writePeriod(section_id, value) { + var interval = this.map.lookupOption('_interval', section_id)[0], + period = this.map.lookupOption('_period', section_id)[0], + date = this.map.lookupOption('_date', section_id)[0], + days = this.map.lookupOption('_days', section_id)[0]; + + if (period.formvalue(section_id) == 'relative') { + uci.set('nlbwmon', section_id, 'database_interval', interval.formvalue(section_id)); + } + else { + uci.set('nlbwmon', section_id, 'database_interval', '%s/%s'.format( + date.formvalue(section_id), + days.formvalue(section_id) + )); + } +} + +function writeNetworks(section_id, value) { + var oldval = L.toArray(uci.get('nlbwmon', section_id, 'local_network')), + subnets = this.map.lookupOption('_subnets', section_id)[0], + ifaces = this.map.lookupOption('_ifaces', section_id)[0]; + + var newval = [].concat( + L.toArray(subnets.formvalue(section_id)), + L.toArray(ifaces.formvalue(section_id)) + ); + + if (oldval.length != newval.length || oldval.join(' ') != newval.join(' ')) + uci.set('nlbwmon', section_id, 'local_network', newval); +} + +function writeProtocols(section_id, value) { + return fs.write('/usr/share/nlbwmon/protocols', (value || '').trim().replace(/\r\n/g, '\n') + '\n'); +} + +return view.extend({ + load: function() { + return uci.load('nlbwmon'); + }, + + render: function() { + var m, s, o; + + m = new form.Map('nlbwmon', _('Netlink Bandwidth Monitor - Configuration'), + _('The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic accounting program keeping track of bandwidth usage per host and protocol.')); + + s = m.section(form.TypedSection, 'nlbwmon'); + s.anonymous = true; + s.addremove = false; + + s.tab('general', _('General Settings')); + s.tab('advanced', _('Advanced Settings')); + s.tab('protocol', _('Protocol Mapping'), _('Protocol mappings to distinguish traffic types per host, one mapping per line. The first value specifies the IP protocol, the second value the port number and the third column is the name of the mapped protocol.')); + + o = s.taboption('general', form.ListValue, '_period', _('Accounting period'), + _('Choose "Day of month" to restart the accounting period monthly on a specific date, e.g. every 3rd. Choose "Fixed interval" to restart the accounting period exactly every N days, beginning at a given date.')); + o.cfgvalue = function(section_id) { + var value = uci.get('nlbwmon', section_id, 'database_interval'), + m = /^[0-9]{4}-[0-9]{2}-[0-9]{2}\/[0-9]+$/.test(value); + + return m ? 'absolute' : 'relative'; + }; + o.write = writePeriod; + o.value('relative', _('Day of month')); + o.value('absolute', _('Fixed interval')); + + o = s.taboption('general', form.DummyValue, '_warning', _('Warning')); + o.default = _('Changing the accounting interval type will invalidate existing databases!<br /><strong><a href="%s">Download backup</a></strong>.').format(L.url('admin/nlbw/backup')); + o.rawhtml = true; + if (/^[0-9]{4}-[0-9]{2}-[0-9]{2}\/[0-9]+$/.test(uci.get_first('nlbwmon', 'nlbwmon', 'database_interval'))) + o.depends('_period', 'relative'); + else + o.depends('_period', 'absolute'); + + o = s.taboption('general', form.Value, '_interval', _('Due date'), + _('Day of month to restart the accounting period. Use negative values to count towards the end of month, e.g. "-5" to specify the 27th of July or the 24th of February.')); + o.rmempty = false; + o.cfgvalue = function(section_id) { + var value = +uci.get('nlbwmon', section_id, 'database_interval'); + return !isNaN(value) ? value.toString() : null; + }; + o.write = writePeriod; + o.depends('_period', 'relative'); + o.value('1', _('1 - Restart every 1st of month')); + o.value('-1', _('-1 - Restart every last day of month')); + o.value('-7', _('-7 - Restart a week before end of month')); + + o = s.taboption('general', form.Value, '_date', _('Start date'), + _('Start date of the first accounting period, e.g. begin of ISP contract.')); + o.rmempty = false; + o.cfgvalue = function(section_id) { + var value = uci.get('nlbwmon', section_id, 'database_interval'), + m = /^([0-9]{4}-[0-9]{2}-[0-9]{2})\/[0-9]+$/.exec(value); + + return m ? m[1] : null; + }; + o.write = writePeriod; + o.depends('_period', 'absolute'); + + o = s.taboption('general', form.Value, '_days', _('Interval'), + _('Length of accounting interval in days.')); + o.rmempty = false; + o.cfgvalue = function(section_id) { + var value = uci.get('nlbwmon', section_id, 'database_interval'), + m = /^[0-9]{4}-[0-9]{2}-[0-9]{2}\/([0-9]+)$/.exec(value); + + return m ? m[1] : null; + }; + o.write = writePeriod; + o.depends('_period', 'absolute'); + + o = s.taboption('general', widgets.NetworkSelect, '_ifaces', _('Local interfaces'), + _('Only conntrack streams from or to any of these networks are counted.')); + o.nocreate = true; + o.multiple = true; + o.cfgvalue = function(section_id) { + return L.toArray(uci.get('nlbwmon', section_id, 'local_network')); + }; + o.write = writeNetworks; + + o = s.taboption('general', form.DynamicList, '_subnets', _('Local subnets'), + _('Only conntrack streams from or to any of these subnets are counted.')); + o.cfgvalue = function(section_id) { + return L.toArray(uci.get('nlbwmon', section_id, 'local_network')).filter(function(addr) { + var m = /^([0-9a-fA-F:.]+)(?:\/[0-9a-fA-F:.]+)?$/.exec(addr); + return m && (validation.parseIPv4(m[1]) || validation.parseIPv6(m[1])); + }); + }; + o.write = writeNetworks; + o.datatype = 'ipaddr'; + + + o = s.taboption('advanced', form.Value, 'database_limit', _('Maximum entries'), + _('The maximum amount of entries that should be put into the database, setting the limit to 0 will allow databases to grow indefinitely.')); + + o = s.taboption('advanced', form.Flag, 'database_prealloc', _('Preallocate database'), + _('Whether to preallocate the maximum possible database size in memory. This is mainly useful for memory constrained systems which might not be able to satisfy memory allocation after longer uptime periods.')); + o.depends({ 'database_limit': '0', '!reverse': 'true' }); + + o = s.taboption('advanced', form.Flag, 'database_compress', _('Compress database'), + _('Whether to gzip compress archive databases. Compressing the database files makes accessing old data slightly slower but helps to reduce storage requirements.')); + + o = s.taboption('advanced', form.Value, 'database_generations', _('Stored periods'), + _('Maximum number of accounting periods to keep, use zero to keep databases forever.')); + + o = s.taboption('advanced', form.Value, 'commit_interval', _('Commit interval'), + _('Interval at which the temporary in-memory database is committed to the persistent database directory.')); + o.value('24h', _('24h - least flash wear at the expense of data loss risk')); + o.value('12h', _('12h - compromise between risk of data loss and flash wear')); + o.value('10m', _('10m - frequent commits at the expense of flash wear')); + o.value('60s', _('60s - commit minutely, useful for non-flash storage')); + + o = s.taboption('advanced', form.Value, 'refresh_interval', _('Refresh interval'), + _('Interval at which traffic counters of still established connections are refreshed from netlink information.')); + o.value('30s', _('30s - refresh twice per minute for reasonably current stats')); + o.value('5m', _('5m - rarely refresh to avoid frequently clearing conntrack counters')); + + o = s.taboption('advanced', form.Value, 'database_directory', _('Database directory'), + _('Database storage directory. One file per accounting period will be placed into this directory.')); + + + o = s.taboption('protocol', form.TextValue, '_protocols'); + o.rows = 50; + o.load = function(section_id) { + return fs.trimmed('/usr/share/nlbwmon/protocols'); + }; + o.write = writeProtocols; + o.remove = writeProtocols; + + return m.render(); + } +}); diff --git a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js new file mode 100644 index 000000000..1bf668782 --- /dev/null +++ b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js @@ -0,0 +1,980 @@ +'use strict'; +'require view'; +'require network'; +'require request'; +'require fs'; +'require ui'; +'require rpc'; +'require dom'; + +var callNetworkRrdnsLookup = rpc.declare({ + object: 'network.rrdns', + method: 'lookup', + params: [ 'addrs', 'timeout', 'limit' ], + expect: { '': {} } +}); + +var chartRegistry = {}, + trafficPeriods = [], + trafficData = { columns: [], data: [] }, + hostNames = {}, + hostInfo = {}, + ouiData = []; + +return view.extend({ + load: function() { + return Promise.all([ + this.loadHosts(), + this.loadPeriods(), + this.loadData(), + this.loadOUI() + ]); + }, + + loadHosts: function() { + return L.resolveDefault(network.getHostHints()).then(function(res) { + if (res) { + var hints = res.getMACHints(); + + for (var i = 0; i < hints.length; i++) { + hostInfo[hints[i][0]] = { + name: res.getHostnameByMACAddr(hints[i][0]), + ipv6: res.getIP6AddrByMACAddr(hints[i][0]), + ipv4: res.getIPAddrByMACAddr(hints[i][0]) + }; + } + } + }); + }, + + loadOUI: function() { + var url = 'https://raw.githubusercontent.com/jow-/oui-database/master/oui.json'; + + return L.resolveDefault(request.get(url, { cache: true }), []).then(function(res) { + res = res.json(); + + if (Array.isArray(res)) + ouiData = res; + }); + }, + + loadPeriods: function() { + return L.resolveDefault(fs.exec_direct('/usr/libexec/nlbwmon-action', [ 'periods' ], 'json')).then(function(res) { + if (L.isObject(res) && Array.isArray(res.periods)) + trafficPeriods = res.periods; + }); + }, + + loadData: function(period) { + var args = [ 'download', '-g', 'family,mac,ip,layer7', '-o', '-rx_bytes,-tx_bytes' ]; + + if (period) + args.push('-t', period); + + return fs.exec_direct('/usr/libexec/nlbwmon-action', args, 'json').then(L.bind(function(res) { + if (!L.isObject(res) || !Array.isArray(res.columns) || !Array.isArray(res.data)) + throw new Error(_('Malformed data received')); + + trafficData = res; + + var addrs = this.query(null, [ 'ip' ], null), + ipAddrs = []; + + for (var i = 0; i < addrs.length; i++) + if (ipAddrs.indexOf(addrs[i].ip) < 0) + ipAddrs.push(addrs[i].ip); + + if (ipAddrs.length) + return L.resolveDefault(callNetworkRrdnsLookup(ipAddrs, 1000, 1000), {}).then(function(res) { + hostNames = res; + }); + }, this)).catch(function(err) { + ui.addNotification(null, _('Unable to fetch traffic statistic data: %s').format(err.message)); + }); + }, + + off: function(elem) { + var val = [0, 0]; + do { + if (!isNaN(elem.offsetLeft) && !isNaN(elem.offsetTop)) { + val[0] += elem.offsetLeft; + val[1] += elem.offsetTop; + } + } + while ((elem = elem.offsetParent) != null); + return val; + }, + + kpi: function(id, val1, val2, val3) { + var e = L.dom.elem(id) ? id : document.getElementById(id); + + if (val1 && val2 && val3) + e.innerHTML = _('%s, %s and %s').format(val1, val2, val3); + else if (val1 && val2) + e.innerHTML = _('%s and %s').format(val1, val2); + else if (val1) + e.innerHTML = val1; + + e.parentNode.style.display = val1 ? 'list-item' : ''; + }, + + pie: function(id, data) { + var total = data.reduce(function(n, d) { return n + d.value }, 0); + + data.sort(function(a, b) { return b.value - a.value }); + + if (total === 0) + data = [{ + value: 1, + color: '#cccccc', + label: [ _('no traffic') ] + }]; + + for (var i = 0; i < data.length; i++) { + if (!data[i].color) { + var hue = 120 / (data.length-1) * i; + data[i].color = 'hsl(%u, 80%%, 50%%)'.format(hue); + data[i].label.push(hue); + } + } + + var node = L.dom.elem(id) ? id : document.getElementById(id), + key = L.dom.elem(id) ? id.id : id, + ctx = node.getContext('2d'); + + if (chartRegistry.hasOwnProperty(key)) + chartRegistry[key].destroy(); + + chartRegistry[key] = new Chart(ctx).Doughnut(data, { + segmentStrokeWidth: 1, + percentageInnerCutout: 30 + }); + + return chartRegistry[key]; + }, + + oui: function(mac) { + var m, l = 0, r = ouiData.length / 3 - 1; + var mac1 = parseInt(mac.replace(/[^a-fA-F0-9]/g, ''), 16); + + while (l <= r) { + m = l + Math.floor((r - l) / 2); + + var mask = (0xffffffffffff - + (Math.pow(2, 48 - ouiData[m * 3 + 1]) - 1)); + + var mac1_hi = ((mac1 / 0x10000) & (mask / 0x10000)) >>> 0; + var mac1_lo = ((mac1 & 0xffff) & (mask & 0xffff)) >>> 0; + + var mac2 = parseInt(ouiData[m * 3], 16); + var mac2_hi = (mac2 / 0x10000) >>> 0; + var mac2_lo = (mac2 & 0xffff) >>> 0; + + if (mac1_hi === mac2_hi && mac1_lo === mac2_lo) + return ouiData[m * 3 + 2]; + + if (mac2_hi > mac1_hi || + (mac2_hi === mac1_hi && mac2_lo > mac1_lo)) + r = m - 1; + else + l = m + 1; + } + + return null; + }, + + query: function(filter, group, order) { + var keys = [], columns = {}, records = {}, result = []; + + if (typeof(group) !== 'function' && typeof(group) !== 'object') + group = ['mac']; + + for (var i = 0; i < trafficData.columns.length; i++) + columns[trafficData.columns[i]] = i; + + for (var i = 0; i < trafficData.data.length; i++) { + var record = trafficData.data[i]; + + if (typeof(filter) === 'function' && filter(columns, record) !== true) + continue; + + var key; + + if (typeof(group) === 'function') { + key = group(columns, record); + } + else { + key = []; + + for (var j = 0; j < group.length; j++) + if (columns.hasOwnProperty(group[j])) + key.push(record[columns[group[j]]]); + + key = key.join(','); + } + + if (!records.hasOwnProperty(key)) { + var rec = {}; + + for (var col in columns) + rec[col] = record[columns[col]]; + + records[key] = rec; + result.push(rec); + } + else { + records[key].conns += record[columns.conns]; + records[key].rx_bytes += record[columns.rx_bytes]; + records[key].rx_pkts += record[columns.rx_pkts]; + records[key].tx_bytes += record[columns.tx_bytes]; + records[key].tx_pkts += record[columns.tx_pkts]; + } + } + + if (typeof(order) === 'function') + result.sort(order); + + return result; + }, + + renderPeriods: function() { + if (!trafficPeriods.length) + return E([]); + + var choices = {}, + keys = []; + + for (var e, i = trafficPeriods.length - 1; e = trafficPeriods[i]; i--) { + var ymd1 = e.split(/-/); + var d1 = new Date(+ymd1[0], +ymd1[1] - 1, +ymd1[2]); + var ymd2, d2, pd; + + if (i) { + ymd2 = trafficPeriods[i - 1].split(/-/); + d2 = new Date(+ymd2[0], +ymd2[1] - 1, +ymd2[2]); + d2.setDate(d2.getDate() - 1); + pd = e; + } + else { + d2 = new Date(); + pd = '-'; + } + + keys.push(pd); + choices[pd] = '%04d-%02d-%02d - %04d-%02d-%02d'.format( + d1.getFullYear(), d1.getMonth() + 1, d1.getDate(), + d2.getFullYear(), d2.getMonth() + 1, d2.getDate() + ); + } + + var dropdown = new ui.Dropdown('-', choices, { sort: keys, optional: false }).render(); + + dropdown.addEventListener('cbi-dropdown-change', ui.createHandlerFn(this, function(ev) { + ui.hideTooltip(ev); + + var period = ev.detail.value.value != '-' ? ev.detail.value.value : null; + + return this.loadData(period).then(L.bind(function() { + this.renderHostData(); + this.renderLayer7Data(); + this.renderIPv6Data(); + }, this)); + })); + + return E([], [ + E('p', [ _('Select accounting period:'), ' ', dropdown ]), + E('hr') + ]); + }, + + formatHostname: function(dns) { + if (dns === undefined || dns === null || dns === '') + return '-'; + + dns = dns.split('.')[0]; + + if (dns.length > 12) + return '<span title="%q">%hâ¦</span>'.format(dns, dns.substr(0, 12)); + + return '%h'.format(dns); + }, + + renderHostData: function() { + var trafData = [], connData = []; + var rx_total = 0, tx_total = 0, conn_total = 0; + + var hostData = this.query( + function(c, r) { + return (r[c.rx_bytes] > 0 || r[c.tx_bytes] > 0); + }, + ['mac'], + //function(c, r) { + // return (r[c.mac] !== '00:00:00:00:00:00') ? r[c.mac] : r[c.ip]; + //}, + function(r1, r2) { + return ((r2.rx_bytes + r2.tx_bytes) - (r1.rx_bytes + r1.tx_bytes)); + } + ); + + var rows = []; + + for (var i = 0; i < hostData.length; i++) { + var rec = hostData[i], + mac = rec.mac.toUpperCase(), + key = (mac !== '00:00:00:00:00:00') ? mac : rec.ip, + dns = hostInfo[mac] ? hostInfo[mac].name : null; + + var cell = E('div', this.formatHostname(dns)); + + rows.push([ + cell, + E('a', { + 'href': '#' + rec.mac, + 'data-col': 'ip', + 'data-tooltip': _('Source IP') + }, (mac !== '00:00:00:00:00:00') ? mac : _('other')), + E('a', { + 'href': '#' + rec.mac, + 'data-col': 'layer7', + 'data-tooltip': _('Protocol') + }, '%1000.2m'.format(rec.conns)), + '%1024.2mB'.format(rec.rx_bytes), + '%1000.2mP'.format(rec.rx_pkts), + '%1024.2mB'.format(rec.tx_bytes), + '%1000.2mP'.format(rec.tx_pkts) + ]); + + trafData.push({ + value: rec.rx_bytes + rec.tx_bytes, + label: ["%s: %%.2mB".format(key), cell] + }); + + connData.push({ + value: rec.conns, + label: ["%s: %%.2m".format(key), cell] + }); + + rx_total += rec.rx_bytes; + tx_total += rec.tx_bytes; + conn_total += rec.conns; + } + + cbi_update_table('#host-data', rows, E('em', [ + _('No data recorded yet.'), ' ', + E('a', { + 'href': '#', + 'click': ui.createHandlerFn(this, 'handleCommit') + }, _('Force reloadâ¦')) + ])); + + this.pie('traf-pie', trafData); + this.pie('conn-pie', connData); + + this.kpi('rx-total', '%1024.2mB'.format(rx_total)); + this.kpi('tx-total', '%1024.2mB'.format(tx_total)); + this.kpi('conn-total', '%1000m'.format(conn_total)); + this.kpi('host-total', '%u'.format(hostData.length)); + }, + + renderLayer7Data: function() { + var rxData = [], txData = []; + var topConn = [[0],[0],[0]], topRx = [[0],[0],[0]], topTx = [[0],[0],[0]]; + + var layer7Data = this.query( + null, ['layer7'], + function(r1, r2) { + return ((r2.rx_bytes + r2.tx_bytes) - (r1.rx_bytes + r1.tx_bytes)); + } + ); + + var rows = []; + + for (var i = 0, c = 0; i < layer7Data.length; i++) { + var rec = layer7Data[i], + cell = E('div', rec.layer7 || _('other')); + + rows.push([ + cell, + '%1000m'.format(rec.conns), + '%1024.2mB'.format(rec.rx_bytes), + '%1000.2mP'.format(rec.rx_pkts), + '%1024.2mB'.format(rec.tx_bytes), + '%1000.2mP'.format(rec.tx_pkts) + ]); + + rxData.push({ + value: rec.rx_bytes, + label: ["%s: %%.2mB".format(rec.layer7 || _('other')), cell] + }); + + txData.push({ + value: rec.tx_bytes, + label: ["%s: %%.2mB".format(rec.layer7 || _('other')), cell] + }); + + if (rec.layer7) { + topRx.push([rec.rx_bytes, rec.layer7]); + topTx.push([rec.tx_bytes, rec.layer7]); + topConn.push([rec.conns, rec.layer7]); + } + } + + cbi_update_table('#layer7-data', rows, E('em', [ + _('No data recorded yet.'), ' ', + E('a', { 'href': L.url('admin/nlbw/commit') }, _('Force reloadâ¦')) + ])); + + this.pie('layer7-rx-pie', rxData); + this.pie('layer7-tx-pie', txData); + + topRx.sort(function(a, b) { return b[0] - a[0] }); + topTx.sort(function(a, b) { return b[0] - a[0] }); + topConn.sort(function(a, b) { return b[0] - a[0] }); + + this.kpi('layer7-total', layer7Data.length); + this.kpi('layer7-most-rx', topRx[0][1], topRx[1][1], topRx[2][1]); + this.kpi('layer7-most-tx', topTx[0][1], topTx[1][1], topTx[2][1]); + this.kpi('layer7-most-conn', topConn[0][1], topConn[1][1], topConn[2][1]); + }, + + renderIPv6Data: function() { + var col = { }, + rx4_total = 0, + tx4_total = 0, + rx6_total = 0, + tx6_total = 0, + v4_total = 0, + v6_total = 0, + ds_total = 0, + families = { }, + records = { }; + + var ipv6Data = this.query( + null, ['family', 'mac'], + function(r1, r2) { + return ((r2.rx_bytes + r2.tx_bytes) - (r1.rx_bytes + r1.tx_bytes)); + } + ); + + for (var i = 0, c = 0; i < ipv6Data.length; i++) { + var rec = ipv6Data[i], + mac = rec.mac.toUpperCase(), + ip = rec.ip, + fam = families[mac] || 0, + recs = records[mac] || {}; + + if (rec.family == 4) { + rx4_total += rec.rx_bytes; + tx4_total += rec.tx_bytes; + fam |= 1; + } + else { + rx6_total += rec.rx_bytes; + tx6_total += rec.tx_bytes; + fam |= 2; + } + + recs[rec.family] = rec; + records[mac] = recs; + + families[mac] = fam; + } + + for (var mac in families) { + switch (families[mac]) + { + case 3: + ds_total++; + break; + + case 2: + v6_total++; + break; + + case 1: + v4_total++; + break; + } + } + + var rows = []; + + for (var mac in records) { + if (mac === '00:00:00:00:00:00') + continue; + + var dns = hostInfo[mac] ? hostInfo[mac].name : null, + rec4 = records[mac][4], + rec6 = records[mac][6]; + + rows.push([ + this.formatHostname(dns), + mac, + [ E('span', _('IPv4')), + E('span', _('IPv6')) ], + [ E('span', rec4 ? '%1024.2mB'.format(rec4.rx_bytes) : '-'), + E('span', rec6 ? '%1024.2mB'.format(rec6.rx_bytes) : '-') ], + [ E('span', rec4 ? '%1000.2mP'.format(rec4.rx_pkts) : '-'), + E('span', rec6 ? '%1000.2mP'.format(rec6.rx_pkts) : '-') ], + [ E('span', rec4 ? '%1024.2mB'.format(rec4.tx_bytes) : '-'), + E('span', rec6 ? '%1024.2mB'.format(rec6.tx_bytes) : '-') ], + [ E('span', rec4 ? '%1000.2mP'.format(rec4.tx_pkts) : '-'), + E('span', rec6 ? '%1000.2mP'.format(rec6.tx_pkts) : '-') ] + ]); + } + + cbi_update_table('#ipv6-data', rows, E('em', [ + _('No data recorded yet.'), ' ', + E('a', { 'href': L.url('admin/nlbw/commit') }, _('Force reloadâ¦')) + ])); + + var shareData = [], hostsData = []; + + if (rx4_total > 0 || tx4_total > 0) + shareData.push({ + value: rx4_total + tx4_total, + label: ["IPv4: %.2mB"], + color: 'hsl(140, 100%, 50%)' + }); + + if (rx6_total > 0 || tx6_total > 0) + shareData.push({ + value: rx6_total + tx6_total, + label: ["IPv6: %.2mB"], + color: 'hsl(180, 100%, 50%)' + }); + + if (v4_total > 0) + hostsData.push({ + value: v4_total, + label: [_('%d IPv4-only hosts')], + color: 'hsl(140, 100%, 50%)' + }); + + if (v6_total > 0) + hostsData.push({ + value: v6_total, + label: [_('%d IPv6-only hosts')], + color: 'hsl(180, 100%, 50%)' + }); + + if (ds_total > 0) + hostsData.push({ + value: ds_total, + label: [_('%d dual-stack hosts')], + color: 'hsl(50, 100%, 50%)' + }); + + this.pie('ipv6-share-pie', shareData); + this.pie('ipv6-hosts-pie', hostsData); + + this.kpi('ipv6-hosts', '%.2f%%'.format(100 / (ds_total + v4_total + v6_total) * (ds_total + v6_total))); + this.kpi('ipv6-share', '%.2f%%'.format(100 / (rx4_total + rx6_total + tx4_total + tx6_total) * (rx6_total + tx6_total))); + this.kpi('ipv6-rx', '%1024.2mB'.format(rx6_total)); + this.kpi('ipv6-tx', '%1024.2mB'.format(tx6_total)); + }, + + renderHostDetail: function(node, tooltip) { + var key = node.getAttribute('href').substr(1), + col = node.getAttribute('data-col'), + label = node.getAttribute('data-tooltip'); + + var detailData = this.query( + function(c, r) { + return ((r[c.mac] === key || r[c.ip] === key) && + (r[c.rx_bytes] > 0 || r[c.tx_bytes] > 0)); + }, + [col], + function(r1, r2) { + return ((r2.rx_bytes + r2.tx_bytes) - (r1.rx_bytes + r1.tx_bytes)); + } + ); + + var rxData = [], txData = []; + + dom.content(tooltip, [ + E('div', { 'class': 'head' }, [ + E('div', { 'class': 'pie' }, [ + E('label', _('Download')), + E('canvas', { 'id': 'bubble-pie1', 'width': 100, 'height': 100 }) + ]), + E('div', { 'class': 'pie' }, [ + E('label', _('Upload')), + E('canvas', { 'id': 'bubble-pie2', 'width': 100, 'height': 100 }) + ]), + E('div', { 'class': 'kpi' }, [ + E('ul', [ + E('li', _('Hostname: <big id="bubble-hostname">example.org</big>')), + E('li', _('Vendor: <big id="bubble-vendor">Example Corp.</big>')) + ]) + ]) + ]), + E('div', { 'class': 'table' }, [ + E('div', { 'class': 'tr table-titles' }, [ + E('div', { 'class': 'th' }, label || col), + E('div', { 'class': 'th' }, _('Conn.')), + E('div', { 'class': 'th' }, _('Down. (Bytes)')), + E('div', { 'class': 'th' }, _('Down. (Pkts.)')), + E('div', { 'class': 'th' }, _('Up. (Bytes)')), + E('div', { 'class': 'th' }, _('Up. (Pkts.)')), + ]) + ]) + ]); + + var rows = []; + + for (var i = 0; i < detailData.length; i++) { + var rec = detailData[i], + cell = E('div', rec[col] || _('other')); + + rows.push([ + cell, + '%1000.2m'.format(rec.conns), + '%1024.2mB'.format(rec.rx_bytes), + '%1000.2mP'.format(rec.rx_pkts), + '%1024.2mB'.format(rec.tx_bytes), + '%1000.2mP'.format(rec.tx_pkts) + ]); + + rxData.push({ + label: ['%s: %%1024.2mB'.format(rec[col] || _('other')), cell], + value: rec.rx_bytes + }); + + txData.push({ + label: ['%s: %%1024.2mB'.format(rec[col] || _('other')), cell], + value: rec.tx_bytes + }); + } + + cbi_update_table(tooltip.lastElementChild, rows); + + this.pie(tooltip.querySelector('#bubble-pie1'), rxData); + this.pie(tooltip.querySelector('#bubble-pie2'), txData); + + var mac = key.toUpperCase(); + var name = hostInfo.hasOwnProperty(mac) ? hostInfo[mac].name : null; + + if (!name) + for (var i = 0; i < detailData.length; i++) + if ((name = hostNames[detailData[i].ip]) !== undefined) + break; + + if (mac !== '00:00:00:00:00:00') { + this.kpi(tooltip.querySelector('#bubble-hostname'), name); + this.kpi(tooltip.querySelector('#bubble-vendor'), this.oui(mac)); + } + else { + this.kpi(tooltip.querySelector('#bubble-hostname')); + this.kpi(tooltip.querySelector('#bubble-vendor')); + } + + var rect = node.getBoundingClientRect(), x, y; + + if ('ontouchstart' in window || window.innerWidth <= 992) { + var vpHeight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0), + scrollFrom = window.pageYOffset, + scrollTo = scrollFrom + rect.top - vpHeight * 0.5, + start = null; + + tooltip.style.top = (rect.top + rect.height + window.pageYOffset) + 'px'; + tooltip.style.left = 0; + + var scrollStep = function(timestamp) { + if (!start) + start = timestamp; + + var duration = Math.max(timestamp - start, 1); + if (duration < 100) { + document.body.scrollTop = scrollFrom + (scrollTo - scrollFrom) * (duration / 100); + window.requestAnimationFrame(scrollStep); + } + else { + document.body.scrollTop = scrollTo; + } + }; + + window.requestAnimationFrame(scrollStep); + } + else { + x = rect.left + rect.width + window.pageXOffset, + y = rect.top + window.pageYOffset; + + if ((y + tooltip.offsetHeight) > (window.innerHeight + window.pageYOffset)) + y -= ((y + tooltip.offsetHeight) - (window.innerHeight + window.pageYOffset)); + + tooltip.style.top = y + 'px'; + tooltip.style.left = x + 'px'; + } + + return false; + }, + + setupCharts: function() { + Chart.defaults.global.customTooltips = L.bind(function(tooltip) { + var tooltipEl = document.getElementById('chartjs-tooltip'); + + if (!tooltipEl) { + tooltipEl = document.createElement('div'); + tooltipEl.setAttribute('id', 'chartjs-tooltip'); + document.body.appendChild(tooltipEl); + } + + if (!tooltip) { + if (tooltipEl.row) + tooltipEl.row.style.backgroundColor = ''; + + tooltipEl.style.opacity = 0; + return; + } + + var pos = this.off(tooltip.chart.canvas); + + tooltipEl.className = tooltip.yAlign; + tooltipEl.innerHTML = tooltip.text[0]; + + tooltipEl.style.opacity = 1; + tooltipEl.style.left = pos[0] + tooltip.x + 'px'; + tooltipEl.style.top = pos[1] + tooltip.y - tooltip.caretHeight - tooltip.caretPadding + 'px'; + + var row = findParent(tooltip.text[1], '.tr'), + hue = tooltip.text[2]; + + if (row && !isNaN(hue)) { + row.style.backgroundColor = 'hsl(%u, 100%%, 80%%)'.format(hue); + tooltipEl.row = row; + } + }, this); + + Chart.defaults.global.tooltipFontSize = 10; + Chart.defaults.global.tooltipTemplate = function(tip) { + tip.label[0] = tip.label[0].format(tip.value); + return tip.label; + }; + + this.renderHostData(); + this.renderLayer7Data(); + this.renderIPv6Data(); + }, + + handleDownload: function(type, group, order) { + var args = [ 'download', '-f', type ]; + + if (group) + args.push('-g', group); + + if (order) + args.push('-o', order); + + return fs.exec_direct('/usr/libexec/nlbwmon-action', args, 'blob').then(function(blob) { + var data = blob.slice(0, blob.size, (type == 'csv') ? 'text/csv' : 'application/json'), + name = 'nlbwmon-data.%s'.format(type), + url = window.URL.createObjectURL(data), + link = E('a', { 'style': 'display:none', 'href': url, 'download': name }); + + document.body.appendChild(link); + link.click(); + document.body.removeChild(link); + window.URL.revokeObjectURL(url); + }).catch(function(err) { + ui.addNotification(null, E('p', [ _('Failed to download traffic data: %s').format(err.message) ])); + }); + }, + + handleCommit: function() { + return fs.exec('/usr/libexec/nlbwmon-action', [ 'commit' ]).then(function(res) { + if (res.code != 0) + throw new Error(res.stderr || res.stdout); + + window.location.reload(true); + }).catch(function(err) { + ui.addNotification(null, E('p', [ _('Failed to commit database: %s').format(err.message) ])); + }); + }, + + render: function() { + document.addEventListener('tooltip-open', L.bind(function(ev) { + this.renderHostDetail(ev.detail.target, ev.target); + }, this)); + + if ('ontouchstart' in window) { + document.addEventListener('touchstart', function(ev) { + var tooltip = document.querySelector('.cbi-tooltip'); + if (tooltip === ev.target || tooltip.contains(ev.target)) + return; + + ui.hideTooltip(ev); + }); + } + + var node = E([], [ + E('link', { 'rel': 'stylesheet', 'href': L.resource('view/nlbw.css') }), + E('script', { + 'type': 'text/javascript', + 'src': L.resource('nlbw.chart.min.js'), + 'load': L.bind(this.setupCharts, this) + }), + + E('h2', [ _('Netlink Bandwidth Monitor') ]), + this.renderPeriods(), + + E('div', [ + E('div', { 'class': 'cbi-section', 'data-tab': 'traffic', 'data-tab-title': _('Traffic Distribution') }, [ + E('div', { 'class': 'head' }, [ + E('div', { 'class': 'pie' }, [ + E('label', [ _('Traffic / Host') ]), + E('canvas', { 'id': 'traf-pie', 'width': 200, 'height': 200 }) + ]), + + E('div', { 'class': 'pie' }, [ + E('label', [ _('Connections / Host') ]), + E('canvas', { 'id': 'conn-pie', 'width': 200, 'height': 200 }) + ]), + + E('div', { 'class': 'kpi' }, [ + E('ul', [ + E('li', _('<big id="host-total">0</big> hosts')), + E('li', _('<big id="rx-total">0</big> download')), + E('li', _('<big id="tx-total">0</big> upload')), + E('li', _('<big id="conn-total">0</big> connections')) + ]) + ]) + ]), + + E('div', { 'class': 'table', 'id': 'host-data' }, [ + E('div', { 'class': 'tr table-titles' }, [ + E('div', { 'class': 'th left hostname' }, [ _('Host') ]), + E('div', { 'class': 'th right' }, [ _('MAC') ]), + E('div', { 'class': 'th right' }, [ _('Connections') ]), + E('div', { 'class': 'th right' }, [ _('Download (Bytes)') ]), + E('div', { 'class': 'th right' }, [ _('Download (Packets)') ]), + E('div', { 'class': 'th right' }, [ _('Upload (Bytes)') ]), + E('div', { 'class': 'th right' }, [ _('Upload (Packets)') ]), + ]), + E('div', { 'class': 'tr placeholder' }, [ + E('div', { 'class': 'td' }, [ + E('em', { 'class': 'spinning' }, [ _('Collecting data...') ]) + ]) + ]) + ]) + ]), + + E('div', { 'class': 'cbi-section', 'data-tab': 'layer7', 'data-tab-title': _('Application Protocols') }, [ + E('div', { 'class': 'head' }, [ + E('div', { 'class': 'pie' }, [ + E('label', [ _('Download / Application') ]), + E('canvas', { 'id': 'layer7-rx-pie', 'width': 200, 'height': 200 }) + ]), + + E('div', { 'class': 'pie' }, [ + E('label', [ _('Upload / Application') ]), + E('canvas', { 'id': 'layer7-tx-pie', 'width': 200, 'height': 200 }) + ]), + + E('div', { 'class': 'kpi' }, [ + E('ul', [ + E('li', _('<big id="layer7-total">0</big> different application protocols')), + E('li', _('<big id="layer7-most-rx">0</big> cause the most download')), + E('li', _('<big id="layer7-most-tx">0</big> cause the most upload')), + E('li', _('<big id="layer7-most-conn">0</big> cause the most connections')) + ]) + ]) + ]), + + E('div', { 'class': 'table', 'id': 'layer7-data' }, [ + E('div', { 'class': 'tr table-titles' }, [ + E('div', { 'class': 'th left' }, [ _('Application') ]), + E('div', { 'class': 'th right' }, [ _('Connections') ]), + E('div', { 'class': 'th right' }, [ _('Download (Bytes)') ]), + E('div', { 'class': 'th right' }, [ _('Download (Packets)') ]), + E('div', { 'class': 'th right' }, [ _('Upload (Bytes)') ]), + E('div', { 'class': 'th right' }, [ _('Upload (Packets)') ]), + ]), + E('div', { 'class': 'tr placeholder' }, [ + E('div', { 'class': 'td' }, [ + E('em', { 'class': 'spinning' }, [ _('Collecting data...') ]) + ]) + ]) + ]) + ]), + + E('div', { 'class': 'cbi-section', 'data-tab': 'ipv6', 'data-tab-title': _('IPv6') }, [ + E('div', { 'class': 'head' }, [ + E('div', { 'class': 'pie' }, [ + E('label', [ _('IPv4 vs. IPv6') ]), + E('canvas', { 'id': 'ipv6-share-pie', 'width': 200, 'height': 200 }) + ]), + + E('div', { 'class': 'pie' }, [ + E('label', [ _('Dualstack enabled hosts') ]), + E('canvas', { 'id': 'ipv6-hosts-pie', 'width': 200, 'height': 200 }) + ]), + + E('div', { 'class': 'kpi' }, [ + E('ul', [ + E('li', _('<big id="ipv6-hosts">0%</big> IPv6 support rate among hosts')), + E('li', _('<big id="ipv6-share">0%</big> of the total traffic is IPv6')), + E('li', _('<big id="ipv6-rx">0B</big> total IPv6 download')), + E('li', _('<big id="ipv6-tx">0B</big> total IPv6 upload')) + ]) + ]) + ]), + + E('div', { 'class': 'table', 'id': 'ipv6-data' }, [ + E('div', { 'class': 'tr table-titles' }, [ + E('div', { 'class': 'th left' }, [ _('Host') ]), + E('div', { 'class': 'th right' }, [ _('MAC') ]), + E('div', { 'class': 'th double right hide-xs' }, [ _('Family') ]), + E('div', { 'class': 'th double right' }, [ _('Download (Bytes)') ]), + E('div', { 'class': 'th double right' }, [ _('Download (Packets)') ]), + E('div', { 'class': 'th double right' }, [ _('Upload (Bytes)') ]), + E('div', { 'class': 'th double right' }, [ _('Upload (Packets)') ]), + ]), + E('div', { 'class': 'tr placeholder' }, [ + E('div', { 'class': 'td' }, [ + E('em', { 'class': 'spinning' }, [ _('Collecting data...') ]) + ]) + ]) + ]) + ]), + + E('div', { 'class': 'cbi-section', 'data-tab': 'export', 'data-tab-title': _('Export') }, [ + E('ul', [ + E('li', [ + E('a', { + 'href': '#', + 'click': ui.createHandlerFn(this, 'handleDownload', 'csv', 'mac', '-rx,-tx') + }, [ _('CSV, grouped by MAC') ]) + ]), + E('li', [ + E('a', { + 'href': '#', + 'click': ui.createHandlerFn(this, 'handleDownload', 'csv', 'ip', '-rx,-tx') + }, [ _('CSV, grouped by IP') ]) + ]), + E('li', [ + E('a', { + 'href': '#', + 'click': ui.createHandlerFn(this, 'handleDownload', 'csv', 'layer7', '-rx,-tx') + }, [ _('CSV, grouped by protocol') ]) + ]), + E('li', [ + E('a', { + 'href': '#', + 'click': ui.createHandlerFn(this, 'handleDownload', 'json', null, null) + }, [ _('JSON dump') ]) + ]) + ]) + ]) + ]) + ]); + + ui.tabs.initTabGroup(node.lastElementChild.childNodes); + + return node; + }, + + handleSave: null, + handleSaveApply: null, + handleReset: null +}); diff --git a/applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua b/applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua deleted file mode 100644 index 2b6490d33..000000000 --- a/applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua +++ /dev/null @@ -1,227 +0,0 @@ --- Copyright 2017 Jo-Philipp Wich <jo@mein.io> --- Licensed to the public under the Apache License 2.0. - -module("luci.controller.nlbw", package.seeall) - -function index() - entry({"admin", "nlbw"}, firstchild(), _("Bandwidth Monitor"), 80).acl_depends = { "luci-app-nlbwmon" } - entry({"admin", "nlbw", "display"}, template("nlbw/display"), _("Display"), 1) - entry({"admin", "nlbw", "config"}, cbi("nlbw/config"), _("Configuration"), 2) - entry({"admin", "nlbw", "backup"}, template("nlbw/backup"), _("Backup"), 3) - entry({"admin", "nlbw", "data"}, call("action_data"), nil, 4) - entry({"admin", "nlbw", "list"}, call("action_list"), nil, 5) - entry({"admin", "nlbw", "ptr"}, call("action_ptr"), nil, 6).leaf = true - entry({"admin", "nlbw", "download"}, call("action_download"), nil, 7) - entry({"admin", "nlbw", "restore"}, post("action_restore"), nil, 8) - entry({"admin", "nlbw", "commit"}, call("action_commit"), nil, 9) -end - -local function exec(cmd, args, writer) - local os = require "os" - local nixio = require "nixio" - - local fdi, fdo = nixio.pipe() - local pid = nixio.fork() - - if pid > 0 then - fdo:close() - - while true do - local buffer = fdi:read(2048) - - if not buffer or #buffer == 0 then - break - end - - if writer then - writer(buffer) - end - end - - nixio.waitpid(pid) - elseif pid == 0 then - nixio.dup(fdo, nixio.stdout) - fdi:close() - fdo:close() - nixio.exece(cmd, args, nil) - nixio.stdout:close() - os.exit(1) - end -end - -function action_data() - local http = require "luci.http" - - local types = { - csv = "text/csv", - json = "application/json" - } - - local args = { } - local mtype = http.formvalue("type") or "json" - local delim = http.formvalue("delim") or "," - local period = http.formvalue("period") - local group_by = http.formvalue("group_by") - local order_by = http.formvalue("order_by") - - if types[mtype] then - args[#args+1] = "-c" - args[#args+1] = mtype - else - http.status(400, "Unsupported type") - return - end - - if delim and #delim > 0 then - args[#args+1] = "-s%s" % delim - end - - if period and #period > 0 then - args[#args+1] = "-t" - args[#args+1] = period - end - - if group_by and #group_by > 0 then - args[#args+1] = "-g" - args[#args+1] = group_by - end - - if order_by and #order_by > 0 then - args[#args+1] = "-o" - args[#args+1] = order_by - end - - http.prepare_content(types[mtype]) - http.header("Content-Disposition", "attachment; filename=\"data.%s\"" % mtype) - exec("/usr/sbin/nlbw", args, http.write) -end - -function action_list() - local http = require "luci.http" - - local fd = io.popen("/usr/sbin/nlbw -c list") - local periods = { } - - if fd then - while true do - local period = fd:read("*l") - - if not period then - break - end - - periods[#periods+1] = period - end - - fd:close() - end - - http.prepare_content("application/json") - http.write_json(periods) -end - -function action_ptr(...) - local http = require "luci.http" - local util = require "luci.util" - - http.prepare_content("application/json") - http.write_json(util.ubus("network.rrdns", "lookup", { - addrs = {...}, timeout = 3000 - })) -end - -function action_download() - local nixio = require "nixio" - local http = require "luci.http" - local sys = require "luci.sys" - local uci = require "luci.model.uci".cursor() - - local dir = uci:get_first("nlbwmon", "nlbwmon", "database_directory") - or "/var/lib/nlbwmon" - - if dir and nixio.fs.stat(dir, "type") == "dir" then - local n = "nlbwmon-backup-%s-%s.tar.gz" - %{ sys.hostname(), os.date("%Y-%m-%d") } - - http.prepare_content("application/octet-stream") - http.header("Content-Disposition", "attachment; filename=\"%s\"" % n) - exec("/bin/tar", { "-C", dir, "-c", "-z", ".", "-f", "-" }, http.write) - else - http.status(500, "Unable to find database directory") - end -end - -function action_restore() - local nixio = require "nixio" - local http = require "luci.http" - local i18n = require "luci.i18n" - local tpl = require "luci.template" - local uci = require "luci.model.uci".cursor() - - local tmp = "/tmp/nlbw-restore.tar.gz" - local dir = uci:get_first("nlbwmon", "nlbwmon", "database_directory") - or "/var/lib/nlbwmon" - - local fp - http.setfilehandler( - function(meta, chunk, eof) - if not fp and meta and meta.name == "archive" then - fp = io.open(tmp, "w") - end - if fp and chunk then - fp:write(chunk) - end - if fp and eof then - fp:close() - end - end) - - local files = { } - local tar = io.popen("/bin/tar -tzf %s" % tmp, "r") - if tar then - while true do - local file = tar:read("*l") - if not file then - break - elseif file:match("^%d%d%d%d%d%d%d%d%.db%.gz$") or - file:match("^%./%d%d%d%d%d%d%d%d%.db%.gz$") then - files[#files+1] = file - end - end - tar:close() - end - - if #files == 0 then - http.status(500, "Internal Server Error") - tpl.render("nlbw/backup", { - message = i18n.translate("Invalid or empty backup archive") - }) - return - end - - - local output = { } - - exec("/etc/init.d/nlbwmon", { "stop" }) - exec("/bin/mkdir", { "-p", dir }) - - exec("/bin/tar", { "-C", dir, "-vxzf", tmp, unpack(files) }, - function(chunk) output[#output+1] = chunk:match("%S+") end) - - exec("/bin/rm", { "-f", tmp }) - exec("/etc/init.d/nlbwmon", { "start" }) - - tpl.render("nlbw/backup", { - message = i18n.translatef( - "The following database files have been restored: %s", - table.concat(output, ", ")) - }) -end - -function action_commit() - local http = require "luci.http" - local disp = require "luci.dispatcher" - - http.redirect(disp.build_url("admin/nlbw/display")) - exec("/usr/sbin/nlbw", { "-c", "commit" }) -end diff --git a/applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua b/applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua deleted file mode 100644 index 8c54b438b..000000000 --- a/applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua +++ /dev/null @@ -1,215 +0,0 @@ --- Copyright 2017 Jo-Philipp Wich <jo@mein.io> --- Licensed to the public under the Apache License 2.0. - -local utl = require "luci.util" -local sys = require "luci.sys" -local fs = require "nixio.fs" -local ip = require "luci.ip" -local nw = require "luci.model.network" - -local s, m, period, warning, date, days, interval, ifaces, subnets, limit, prealloc, compress, generations, commit, refresh, directory, protocols - -m = Map("nlbwmon", translate("Netlink Bandwidth Monitor - Configuration"), - translate("The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic accounting program keeping track of bandwidth usage per host and protocol.")) - -nw.init(luci.model.uci.cursor_state()) - -s = m:section(TypedSection, "nlbwmon") -s.anonymous = true -s.addremove = false -s:tab("general", translate("General Settings")) -s:tab("advanced", translate("Advanced Settings")) -s:tab("protocol", translate("Protocol Mapping"), - translate("Protocol mappings to distinguish traffic types per host, one mapping per line. The first value specifies the IP protocol, the second value the port number and the third column is the name of the mapped protocol.")) - -period = s:taboption("general", ListValue, "_period", translate("Accounting period"), - translate("Choose \"Day of month\" to restart the accounting period monthly on a specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the accounting period exactly every N days, beginning at a given date.")) - -period:value("relative", translate("Day of month")) -period:value("absolute", translate("Fixed interval")) - -period.write = function(self, cfg, val) - if period:formvalue(cfg) == "relative" then - m:set(cfg, "database_interval", interval:formvalue(cfg)) - else - m:set(cfg, "database_interval", "%s/%s" %{ - date:formvalue(cfg), - days:formvalue(cfg) - }) - end -end - -period.cfgvalue = function(self, cfg) - local val = m:get(cfg, "database_interval") or "" - if val:match("^%d%d%d%d%-%d%d%-%d%d/%d+$") then - return "absolute" - end - return "relative" -end - - -warning = s:taboption("general", DummyValue, "_warning", translate("Warning")) -warning.default = translatef("Changing the accounting interval type will invalidate existing databases!<br /><strong><a href=\"%s\">Download backup</a></strong>.", luci.dispatcher.build_url("admin/nlbw/backup")) -warning.rawhtml = true - -if (m.uci:get_first("nlbwmon", "nlbwmon", "database_interval") or ""):match("^%d%d%d%d-%d%d-%d%d/%d+$") then - warning:depends("_period", "relative") -else - warning:depends("_period", "absolute") -end - - -interval = s:taboption("general", Value, "_interval", translate("Due date"), - translate("Day of month to restart the accounting period. Use negative values to count towards the end of month, e.g. \"-5\" to specify the 27th of July or the 24th of February.")) - -interval.datatype = "or(range(1,31),range(-31,-1))" -interval.placeholder = "1" -interval:value("1", translate("1 - Restart every 1st of month")) -interval:value("-1", translate("-1 - Restart every last day of month")) -interval:value("-7", translate("-7 - Restart a week before end of month")) -interval.rmempty = false -interval:depends("_period", "relative") -interval.write = period.write - -interval.cfgvalue = function(self, cfg) - local val = tonumber(m:get(cfg, "database_interval")) - return val and tostring(val) -end - - -date = s:taboption("general", Value, "_date", translate("Start date"), - translate("Start date of the first accounting period, e.g. begin of ISP contract.")) - -date.datatype = "dateyyyymmdd" -date.placeholder = "2016-03-15" -date.rmempty = false -date:depends("_period", "absolute") -date.write = period.write - -date.cfgvalue = function(self, cfg) - local val = m:get(cfg, "database_interval") or "" - return (val:match("^(%d%d%d%d%-%d%d%-%d%d)/%d+$")) -end - - -days = s:taboption("general", Value, "_days", translate("Interval"), - translate("Length of accounting interval in days.")) - -days.datatype = "min(1)" -days.placeholder = "30" -days.rmempty = false -days:depends("_period", "absolute") -days.write = period.write - -days.cfgvalue = function(self, cfg) - local val = m:get(cfg, "database_interval") or "" - return (val:match("^%d%d%d%d%-%d%d%-%d%d/(%d+)$")) -end - - -ifaces = s:taboption("general", Value, "_ifaces", translate("Local interfaces"), - translate("Only conntrack streams from or to any of these networks are counted.")) - -ifaces.template = "cbi/network_netlist" -ifaces.widget = "checkbox" -ifaces.nocreate = true - -ifaces.cfgvalue = function(self, cfg) - return m:get(cfg, "local_network") -end - -ifaces.write = function(self, cfg) - local item - local items = {} - for item in utl.imatch(subnets:formvalue(cfg)) do - items[#items+1] = item - end - for item in utl.imatch(ifaces:formvalue(cfg)) do - items[#items+1] = item - end - m:set(cfg, "local_network", items) -end - - -subnets = s:taboption("general", DynamicList, "_subnets", translate("Local subnets"), - translate("Only conntrack streams from or to any of these subnets are counted.")) - -subnets.datatype = "ipaddr" - -subnets.cfgvalue = function(self, cfg) - local subnet - local subnets = {} - for subnet in utl.imatch(m:get(cfg, "local_network")) do - subnet = ip.new(subnet) - subnets[#subnets+1] = subnet and subnet:string() - end - return subnets -end - -subnets.write = ifaces.write - - -limit = s:taboption("advanced", Value, "database_limit", translate("Maximum entries"), - translate("The maximum amount of entries that should be put into the database, setting the limit to 0 will allow databases to grow indefinitely.")) - -limit.datatype = "uinteger" -limit.placeholder = "10000" - -prealloc = s:taboption("advanced", Flag, "database_prealloc", translate("Preallocate database"), - translate("Whether to preallocate the maximum possible database size in memory. This is mainly useful for memory constrained systems which might not be able to satisfy memory allocation after longer uptime periods.")) - -prealloc:depends({["database_limit"] = "0", ["!reverse"] = true }) - - -compress = s:taboption("advanced", Flag, "database_compress", translate("Compress database"), - translate("Whether to gzip compress archive databases. Compressing the database files makes accessing old data slightly slower but helps to reduce storage requirements.")) - -compress.default = compress.enabled - - -generations = s:taboption("advanced", Value, "database_generations", translate("Stored periods"), - translate("Maximum number of accounting periods to keep, use zero to keep databases forever.")) - -generations.datatype = "uinteger" -generations.placeholder = "10" - - -commit = s:taboption("advanced", Value, "commit_interval", translate("Commit interval"), - translate("Interval at which the temporary in-memory database is committed to the persistent database directory.")) - -commit.placeholder = "24h" -commit:value("24h", translate("24h - least flash wear at the expense of data loss risk")) -commit:value("12h", translate("12h - compromise between risk of data loss and flash wear")) -commit:value("10m", translate("10m - frequent commits at the expense of flash wear")) -commit:value("60s", translate("60s - commit minutely, useful for non-flash storage")) - - -refresh = s:taboption("advanced", Value, "refresh_interval", translate("Refresh interval"), - translate("Interval at which traffic counters of still established connections are refreshed from netlink information.")) - -refresh.placeholder = "30s" -refresh:value("30s", translate("30s - refresh twice per minute for reasonably current stats")) -refresh:value("5m", translate("5m - rarely refresh to avoid frequently clearing conntrack counters")) - - -directory = s:taboption("advanced", Value, "database_directory", translate("Database directory"), - translate("Database storage directory. One file per accounting period will be placed into this directory.")) - -directory.placeholder = "/var/lib/nlbwmon" - - -protocols = s:taboption("protocol", TextValue, "_protocols") -protocols.rows = 50 - -protocols.cfgvalue = function(self, cfg) - return fs.readfile("/usr/share/nlbwmon/protocols") -end - -protocols.write = function(self, cfg, value) - fs.writefile("/usr/share/nlbwmon/protocols", (value or ""):gsub("\r\n", "\n")) -end - -protocols.remove = protocols.write - - -return m diff --git a/applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm b/applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm deleted file mode 100644 index 8a35f97ac..000000000 --- a/applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm +++ /dev/null @@ -1,33 +0,0 @@ -<%# - Copyright 2017 Jo-Philipp Wich <jo@mein.io> - Licensed to the public under the Apache License 2.0. --%> - -<%+header%> - - -<h2 name="content"><%:Netlink Bandwidth Monitor - Backup / Restore %></h2> - -<fieldset class="cbi-section"> - <legend><%:Restore Database Backup%></legend> - <p> - <form method="POST" action="<%=url("admin/nlbw/restore")%>" enctype="multipart/form-data"> - <input type="hidden" name="token" value="<%=token%>" /> - <input type="file" name="archive" accept="application/gzip,.gz" /> - <input type="submit" value="<%:Restore%>" class="cbi-button cbi-button-apply" /> - </form> - - <% if message then %> - <div class="alert-message"><%=message%></div> - <% end %> - </p> - - <legend><%:Download Database Backup%></legend> - <p> - <form method="GET" action="<%=url("admin/nlbw/download")%>"> - <input type="submit" value="<%:Generate Backup%>" class="cbi-button cbi-button-link" /> - </form> - </p> -</fieldset> - -<%+footer%> diff --git a/applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm b/applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm deleted file mode 100644 index 3c7af928f..000000000 --- a/applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm +++ /dev/null @@ -1,189 +0,0 @@ -<%# - Copyright 2017-2018 Jo-Philipp Wich <jo@mein.io> - Licensed to the public under the Apache License 2.0. --%> - -<%+header%> - -<link rel="stylesheet" href="<%=resource%>/view/nlbw.css" /> - -<script type="text/javascript" src="<%=resource%>/nlbw.chart.min.js"></script> -<script type="text/javascript" src="<%=resource%>/view/nlbw.js"></script> - -<h2 name="content"><%:Netlink Bandwidth Monitor%></h2> - -<p> - <%:Select accounting period:%> - <select id="nlbw.period" style="display:none"></select> -</p> - -<hr /> - -<div> - <div class="cbi-section" data-tab="traffic" data-tab-title="<%:Traffic Distribution%>"> - <div class="head"> - <div class="pie"> - <label><%:Traffic / Host%></label> - <canvas id="traf-pie" width="200" height="200"></canvas> - </div> - - <div class="pie"> - <label><%:Connections / Host%></label> - <canvas id="conn-pie" width="200" height="200"></canvas> - </div> - - <div class="kpi"> - <ul> - <li><%_<big id="host-total">0</big> hosts%></li> - <li><%_<big id="rx-total">0</big> download%></li> - <li><%_<big id="tx-total">0</big> upload%></li> - <li><%_<big id="conn-total">0</big> connections%></li> - </ul> - </div> - </div> - <div class="table" id="host-data"> - <div class="tr table-titles"> - <div class="th left hostname"><%:Host%></div> - <div class="th right"><%:MAC%></div> - <div class="th right"><%:Connections%></div> - <div class="th right"><%:Download (Bytes)%></div> - <div class="th right"><%:Download (Packets)%></div> - <div class="th right"><%:Upload (Bytes)%></div> - <div class="th right"><%:Upload (Packets)%></div> - </div> - <div class="tr placeholder"> - <div class="td"> - <em class="spinning"><%:Collecting data...%></em> - </div> - </div> - </div> - </div> - - <div class="cbi-section" data-tab="layer7" data-tab-title="<%:Application Protocols%>"> - <div class="head"> - <div class="pie"> - <label><%:Download / Application%></label> - <canvas id="layer7-rx-pie" width="200" height="200"></canvas> - </div> - - <div class="pie"> - <label><%:Upload / Application%></label> - <canvas id="layer7-tx-pie" width="200" height="200"></canvas> - </div> - - <div class="kpi"> - <ul> - <li><%_<big id="layer7-total">0</big> different application protocols%></li> - <li><%_<big id="layer7-most-rx">0</big> cause the most download%></li> - <li><%_<big id="layer7-most-tx">0</big> cause the most upload%></li> - <li><%_<big id="layer7-most-conn">0</big> cause the most connections%></li> - </ul> - </div> - </div> - <div class="table" id="layer7-data"> - <div class="tr table-titles"> - <div class="th left"><%:Application%></div> - <div class="th right"><%:Connections%></div> - <div class="th right"><%:Download (Bytes)%></div> - <div class="th right"><%:Download (Packets)%></div> - <div class="th right"><%:Upload (Bytes)%></div> - <div class="th right"><%:Upload (Packets)%></div> - </div> - <div class="tr placeholder"> - <div class="td"> - <em class="spinning"><%:Collecting data...%></em> - </div> - </div> - </div> - </div> - - <div class="cbi-section" data-tab="ipv6" data-tab-title="<%:IPv6%>"> - <div class="head"> - <div class="pie"> - <label><%:IPv4 vs. IPv6%></label> - <canvas id="ipv6-share-pie" width="200" height="200"></canvas> - </div> - - <div class="pie"> - <label><%:Dualstack enabled hosts%></label> - <canvas id="ipv6-hosts-pie" width="200" height="200"></canvas> - </div> - - <div class="kpi"> - <ul> - <li><%_<big id="ipv6-hosts">0%</big> IPv6 support rate among hosts%></li> - <li><%_<big id="ipv6-share">0%</big> of the total traffic is IPv6%></li> - <li><%_<big id="ipv6-rx">0B</big> total IPv6 download%></li> - <li><%_<big id="ipv6-tx">0B</big> total IPv6 upload%></li> - </ul> - </div> - </div> - <div class="table" id="ipv6-data"> - <div class="tr table-titles"> - <div class="th left"><%:Host%></div> - <div class="th right"><%:MAC%></div> - <div class="th double right hide-xs"><%:Family%></div> - <div class="th double right"><%:Download (Bytes)%></div> - <div class="th double right"><%:Download (Packets)%></div> - <div class="th double right"><%:Upload (Bytes)%></div> - <div class="th double right"><%:Upload (Packets)%></div> - </div> - <div class="tr placeholder"> - <div class="td"> - <em class="spinning"><%:Collecting data...%></em> - </div> - </div> - </div> - </div> - - <div class="cbi-section" data-tab="export" data-tab-title="<%:Export%>"> - <ul> - <li><a href="<%=url('admin/nlbw/data')%>?type=csv&group_by=mac&order_by=-rx,-tx"><%:CSV, grouped by MAC%></a></li> - <li><a href="<%=url('admin/nlbw/data')%>?type=csv&group_by=ip&order_by=-rx,-tx"><%:CSV, grouped by IP%></a></li> - <li><a href="<%=url('admin/nlbw/data')%>?type=csv&group_by=layer7&order_by=-rx,-tx"><%:CSV, grouped by protocol%></a></li> - <li><a href="<%=url('admin/nlbw/data')%>?type=json"><%:JSON dump%></a></li> - </ul> - </div> -</div> - -<script type="text/javascript">//<![CDATA[ - var hostInfo = <%=luci.util.serialize_json(luci.sys.net.host_hints())%>; - - XHR.get(L.url('admin/nlbw/list'), null, function(xhr, res) { - - if (res !== null && typeof(res) === 'object' && res.length > 0) { - trafficPeriods = res; - renderPeriods(); - } - - xhr.open('GET', 'https://raw.githubusercontent.com/jow-/oui-database/master/oui.json', true); - xhr.onreadystatechange = function() { - if (xhr.readyState === 4) { - try { res = JSON.parse(xhr.responseText); } - catch(e) { res = null; } - - if (res !== null && typeof(res) === 'object' && (res.length % 3) === 0) - ouiData = res; - - fetchData(''); - } - }; - xhr.send(null); - }); - - document.addEventListener('tooltip-open', function(ev) { - renderHostDetail.call(ev.detail.target, ev.target); - }); - - if ('ontouchstart' in window) { - document.addEventListener('touchstart', function(ev) { - var tooltip = document.querySelector('.cbi-tooltip'); - if (tooltip === ev.target || tooltip.contains(ev.target)) - return; - - L.hideTooltip(ev); - }); - } -//]]></script> - -<%+footer%> diff --git a/applications/luci-app-nlbwmon/po/bg/nlbwmon.po b/applications/luci-app-nlbwmon/po/bg/nlbwmon.po index b47f12210..5dd5616da 100644 --- a/applications/luci-app-nlbwmon/po/bg/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/bg/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/ca/nlbwmon.po b/applications/luci-app-nlbwmon/po/ca/nlbwmon.po index 4942b91d8..541811862 100644 --- a/applications/luci-app-nlbwmon/po/ca/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/ca/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.0-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Sâestan recollint dadesâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "Configuració" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "Amfitrió" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/cs/nlbwmon.po b/applications/luci-app-nlbwmon/po/cs/nlbwmon.po index 8a0e91759..ad4d3eae3 100644 --- a/applications/luci-app-nlbwmon/po/cs/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/cs/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "PokroÄilá nastavenÃ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "Zálohovat" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "ShromažÄovánà údajůâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "NastavenÃ" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "PÅipojenÃ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "AdresáŠdatabáze" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "Stáhnout" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "Obecné nastavenÃ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "Hostitel" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "Protokol" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "Obnovit" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "Zdrojová IP adresa" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "Nahrát" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "VarovánÃ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/de/nlbwmon.po b/applications/luci-app-nlbwmon/po/de/nlbwmon.po index dadc15270..89ad7091c 100644 --- a/applications/luci-app-nlbwmon/po/de/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/de/nlbwmon.po @@ -10,151 +10,152 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.0.2-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d IPv4-only Hosts" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d IPv6-only Hosts" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "%d Dualstack-Hosts" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s und %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%s, %s und %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1 - Neustart jeden letzten Tag des Monats" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7 - Neustart eine Woche vor Monatsende" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "1 - Neustart jeden ersten Tag des Monats" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "10min - häufigereres Sichern auf Kosten von Flashspeicher-Abnutzung" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "12h - Kompromiss zwischen Datenverlust und Flashspeicher-Abnutzung" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" "24h - geringste Flashspeicherabnutzung auf Kosten erhöhtem Datenverlustrisiko" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "30s - Aktualisiere alle 30s für angemessen aktuelle Statistiken" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" "5min - selten aktualisieren um die conntrack-Zähler nicht so häufig " "zurückzusetzen" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "60s - minütlich sichern, sinnvoll für nicht-Flashspeicher" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "<big id=\"conn-total\">0</big> Verbindungen" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "<big id=\"host-total\">0</big> Hosts" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" -msgstr "<big id=\"ipv6-hosts\">0%</big> IPv6-Unterstützungsrate unter den Hosts" +msgstr "" +"<big id=\"ipv6-hosts\">0%</big> IPv6-Unterstützungsrate unter den Hosts" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "<big id=\"ipv6-rx\">0B</big> IPv6-Download insgesamt" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "<big id=\"ipv6-share\">0%</big> des gesamten Datenverkehrs ist IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "<big id=\"ipv6-tx\">0B</big> IPv6-Upload insgesamt" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" "<big id=\"layer7-most-conn\">0</big> verursachen die meisten Verbindungen" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "<big id=\"layer7-most-rx\">0</big> verursachste den meisten Download" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "<big id=\"layer7-most-tx\">0</big> verursachen den meisten Upload" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "<big id=\"layer7-total\">0</big> verschiedene Anwendungsprotokolle" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "<big id=\"rx-total\">0</big> herunterladen" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "<big id=\"tx-total\">0</big> Upload" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "Berechnungszeitraum" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "Erweiterte Einstellungen" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "Anwendung" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "Anwendungsprotokolle" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "Sichern" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "Bandbreitenmonitor" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "CSV, gruppiert nach IP" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "CSV, gruppiert nach MAC" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "CSV, gruppiert nach Protokoll" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." @@ -162,49 +163,49 @@ msgstr "" "Das wechseln des Berechnungszeitraum-Typs wird alle existierenden Datebanken " "löschen!<br /><strong><a href=\"%s\">Backup sichern</a></strong>." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Sammle Daten..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "Sicherungsintervall" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "Komprimiere Datenbank" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "Konfiguration" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "Verb." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "Verbindungen" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "Verbindungen / Host" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "Datenbankverzeichnis" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." @@ -212,11 +213,11 @@ msgstr "" "Datenbank-Verzeichnis. Für jeden Berechnungszeitraum wird eine Datei " "angelegt." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "Tag des Monats" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " @@ -226,105 +227,127 @@ msgstr "" "werden vom Monatsende her interpretiert, z.B. \"-5\" für den 27. Juli oder " "24. Februar." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "Anzeige" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 -#, fuzzy +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "Down. (Bytes)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "Down. (Pkg.)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "Herunterladen" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 -#, fuzzy +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "Download (Bytes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "Download (Pakete)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "Download / Anwendung" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "Datenbank-Backup sichern" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "Hosts mit Dualstack-IPs" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "Fälligkeitsdatum" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "Exportieren" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "Familie" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "Festes Intervall" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "Neu Laden erzwingenâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "Allgemeine Einstellungen" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "Erzeuge Backup" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "Host" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "Hostnamen: <big id=\"bubble-hostname\">example.org</big>" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "IPv4 zu IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "Intervall" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." @@ -332,7 +355,7 @@ msgstr "" "Zeitintervall nach dem die in-Memory-Datenbank periodisch auf auf dem " "Festspeicher persistiert wird." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." @@ -340,36 +363,36 @@ msgstr "" "Zeitintervall für das periodische Aktualisieren der Traffic-Zähler " "bestehender Verbindungen anhand der netlink-Daten." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "Ungültiges oder leeres Backup Archiv" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "JSON-Dump" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "Länge des Berechnungszeitraums in Tagen." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "Lokale Schnittstellen" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "Lokale Subnetze" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "Maximale Einträge" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." @@ -377,167 +400,178 @@ msgstr "" "Höchstzahl an Abrechnungszeiträumen, die behalten werden sollen, 0 steht für " "unbeschränkt." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "Netlink-Bandbreitenmonitor" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "Netlink-Bandbreitenmonitor Sichern/Wiederherstellen" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "Netlink-Bandbreitenmonitor - Konfiguration" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "Noch keine Daten aufgezeichnet." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "Protokoll" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "Wiederherstellen" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "Quell IP" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "Startdatum" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" -msgstr "Die folgenden Datenbank Dateien wurden wiederhergestellt: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" +msgstr "Die folgenden Datenbank Dateien wurden wiederhergestellt:" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "Hochladen" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "Warnung" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" + +#~ msgid "Invalid or empty backup archive" +#~ msgstr "Ungültiges oder leeres Backup Archiv" diff --git a/applications/luci-app-nlbwmon/po/el/nlbwmon.po b/applications/luci-app-nlbwmon/po/el/nlbwmon.po index e48804a28..7608307e8 100644 --- a/applications/luci-app-nlbwmon/po/el/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/el/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "ÎνÏίγÏαÏο αÏÏαλείαÏ" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Î£Ï Î»Î»Î¿Î³Î® δεδομÎνÏν..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "ÎιαμÏÏÏÏÏη" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/en/nlbwmon.po b/applications/luci-app-nlbwmon/po/en/nlbwmon.po index 200bb6a0d..851055d6e 100644 --- a/applications/luci-app-nlbwmon/po/en/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/en/nlbwmon.po @@ -4,515 +4,547 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/es/nlbwmon.po b/applications/luci-app-nlbwmon/po/es/nlbwmon.po index 2e8820471..5767ff516 100644 --- a/applications/luci-app-nlbwmon/po/es/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/es/nlbwmon.po @@ -13,158 +13,158 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.11.1\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d hosts solo IPv4" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d hosts solo IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "%d hosts de doble pila" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s y %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%s, %s y %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1 - Reiniciar cada último dÃa del mes" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7 - Reiniciar una semana antes de fin de mes" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "1 - Reiniciar cada 1 del mes" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "10m - frecuentes cometidos a expensas del desgaste del flash" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" "12h - compromiso entre el riesgo de pérdida de datos y el desgaste por " "destello" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" "24h - menor desgaste del flash a expensas del riesgo de pérdida de datos" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" "30s - actualice dos veces por minuto para obtener estadÃsticas " "razonablemente actuales" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" "5m - rara vez se actualiza para evitar el borrado frecuente de los " "contadores de conntrack" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "60s - cometa minuciosamente, útil para almacenamiento sin flash" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "<big id=\"conn-total\">0</big> conexiones" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "<big id=\"host-total\">0</big> hosts" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" "<big id=\"ipv6-hosts\">0%</big> tasa de compatibilidad de IPv6 entre los " "hosts" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "<big id=\"ipv6-rx\">0B</big> descarga total de IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "<big id=\"ipv6-share\">0%</big> del tráfico total es IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "<big id=\"ipv6-tx\">0B</big> carga total de IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" "<big id=\"layer7-most-conn\">0</big> causa la mayorÃa de las conexiones" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" "<big id=\"layer7-most-rx\">0</big> es la causa de la descarga más grande" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "<big id=\"layer7-most-tx\">0</big> causa la mayor carga" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "<big id=\"layer7-total\">0</big> diferentes protocolos de aplicación" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "<big id=\"rx-total\">0</big> de descarga" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "<big id=\"tx-total\">0</big> de subida" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "PerÃodo contable" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "Configuración avanzada" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "Aplicación" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "Protocolos de aplicación" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "Copia de seguridad" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "Monitor de ancho de banda" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "CSV, agrupados por IP" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "CSV, agrupados por MAC" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "CSV, agrupados por protocolo" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." @@ -173,7 +173,7 @@ msgstr "" "existentes!<br /><strong><a href=\"%s\">Descargar copia de seguridad</a></" "strong>." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " @@ -184,42 +184,42 @@ msgstr "" "reiniciar el perÃodo contable exactamente cada N dÃas, comenzando en una " "fecha determinada." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Recolectando datosâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "Intervalo de compromiso" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "Comprimir la base de datos" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "Configuración" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "Conexiones." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "Conexiones" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "Conexiones / Host" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "Directorio de la base de datos" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." @@ -227,11 +227,11 @@ msgstr "" "Directorio de almacenamiento de base de datos. Un archivo por perÃodo " "contable se colocará en este directorio." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "Dia del mes" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " @@ -241,103 +241,127 @@ msgstr "" "contar hacia el final del mes, p. Ej. \"-5\" para especificar el 27 de julio " "o el 24 de febrero." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "Monitor" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "Desc. (Bytes)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "Desc. (Paqs.)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "Descargar" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "Descarga (Bytes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "Descarga (Paquetes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "Descargar / Aplicación" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "Descargar copia de seguridad de la base de datos" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "Hosts habilitados para DualStack" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "Fecha de vencimiento" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "Exportar" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "Familia" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "Intervalo fijo" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "Forzar reinicioâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "Configuración general" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "Generar copia de seguridad" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "Host" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "Nombre de host: <big id=\"bubble-hostname\">example.org</big>" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "IPv4 vs. IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "Intervalo" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." @@ -345,7 +369,7 @@ msgstr "" "Intervalo en el que la base de datos temporal en memoria se confirma al " "directorio de base de datos persistente." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." @@ -353,36 +377,36 @@ msgstr "" "Intervalo en el que los contadores de tráfico de las conexiones aún " "establecidas se actualizan desde la información del enlace de red." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "Archivo de copia de seguridad no válido o vacÃo" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "Volcado JSON" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "Duración del intervalo contable en dÃas." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "Interfaces locales" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "Subredes locales" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "Entradas máximas" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." @@ -390,49 +414,49 @@ msgstr "" "Número máximo de perÃodos contables para mantener, use 0 para mantener las " "bases de datos para siempre." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "Monitor de ancho de banda Netlink" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "Monitor de ancho de banda Netlink - Copia de seguridad / Restauración" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "Monitor de ancho de banda Netlink - Configuración" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "No hay datos registrados todavÃa." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" "Solo se cuentan los flujos de conexión desde o hacia cualquiera de estas " "redes." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" "Solo se cuentan los flujos de conexión desde o hacia cualquiera de estas " "subredes." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "Pre-ubicar la base de datos" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "Protocolo" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "Mapeo de protocolos" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " @@ -443,41 +467,45 @@ msgstr "" "valor, el número de puerto y la tercera columna es el nombre del protocolo " "asignado." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "Intervalo de actualización" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "Restaurar" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "Restaurar la copia de seguridad de la base de datos" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "Seleccione el perÃodo contable:" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "IP de origen" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "Fecha de inicio" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" "Fecha de inicio del primer perÃodo contable, por ejemplo, inicio del " "contrato ISP." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "Periodos almacenados" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." @@ -486,11 +514,11 @@ msgstr "" "contabilidad de tráfico ligero y eficiente que realiza un seguimiento del " "uso de ancho de banda por host y protocolo." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" -msgstr "Los siguientes archivos de base de datos han sido restaurados: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" +msgstr "Los siguientes archivos de base de datos han sido restaurados:" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." @@ -499,51 +527,55 @@ msgstr "" "estableciendo el lÃmite en 0, permitirá que las bases de datos crezcan " "indefinidamente." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "Tráfico / Host" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "Distribución del tráfico" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "Sub. (Bytes)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "Sub. (Paq.)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "Subir" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "Subida (Bytes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "Subida (Paquetes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "Subir / Aplicación" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "Proveedor: <big id=\"bubble-vendor\">Example Corp.</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "Advertencia" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " @@ -553,7 +585,7 @@ msgstr "" "archivos de la base de datos hace que el acceso a los datos antiguos sea un " "poco más lento, pero ayuda a reducir los requisitos de almacenamiento." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " @@ -564,16 +596,19 @@ msgstr "" "memoria que pueden no ser capaces de satisfacer la asignación de memoria " "después de perÃodos de tiempo de funcionamiento más largos." -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "Sin tráfico" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "Otro" + +#~ msgid "Invalid or empty backup archive" +#~ msgstr "Archivo de copia de seguridad no válido o vacÃo" diff --git a/applications/luci-app-nlbwmon/po/fr/nlbwmon.po b/applications/luci-app-nlbwmon/po/fr/nlbwmon.po index 69e46687b..5da79b33a 100644 --- a/applications/luci-app-nlbwmon/po/fr/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/fr/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.0-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d hôtes IPv4 uniquement" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d hôtes IPv6 uniquement" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s et %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%s, %s et %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1 - Redémarrez tous les derniers jours du mois" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7 - Redémarrer une semaine avant la fin du mois" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "1 - Redémarrez tous les 1er du mois" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "Paramètres avancés" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "Sauvegarder" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Récupération des donnéesâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "Configuration" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "Répertoire de la base de données" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "Télécharger" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "Paramètres généraux" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "Hôte" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "Protocole" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "Restaurer" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "Adresse IP source" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "Téléverser" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "Avertissement" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/he/nlbwmon.po b/applications/luci-app-nlbwmon/po/he/nlbwmon.po index 3cb0e2a3a..7af018d52 100644 --- a/applications/luci-app-nlbwmon/po/he/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/he/nlbwmon.po @@ -4,515 +4,547 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/hi/nlbwmon.po b/applications/luci-app-nlbwmon/po/hi/nlbwmon.po index ff97fe907..692cb6193 100644 --- a/applications/luci-app-nlbwmon/po/hi/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/hi/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/hu/nlbwmon.po b/applications/luci-app-nlbwmon/po/hu/nlbwmon.po index 13154787d..591e4d5c3 100644 --- a/applications/luci-app-nlbwmon/po/hu/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/hu/nlbwmon.po @@ -10,153 +10,153 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.10\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d csak IPv4-es gép" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d csak IPv6-os gép" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "%d kettÅs protokollcsomagú gép" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s és %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%s, %s és %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1 â újraindÃtás minden hónap utolsó napján" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7 â egy hét újraindÃtása a hónap vége elÅtt" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "1 â újraindÃtás minden hónap elsÅ napján" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "10 perc â gyakori véglegesÃtések a flash-használat rovására" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" "12 óra â kompromisszum az adatvesztési kockázat és a flash-használat között" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" "24 óra â a legkevesebb flash-használat az adatvesztési kockázat rovására" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" "30 másodperc â frissÃtés percenként kétszer az észszerűen aktuális " "statisztikákhoz" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" "5 perc â ritka frissÃtés a kapcsolatkövetÅ számlálók gyakori törlésének " "elkerüléséhez" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "60 másodperc â véglegesÃtés percenként, nem flash tárolóknál hasznos" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "<big id=\"conn-total\">0</big> kapcsolat" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "<big id=\"host-total\">0</big> gép" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "<big id=\"ipv6-hosts\">0%</big> IPv6 támogatási arány a gépek között" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "<big id=\"ipv6-rx\">0B</big> teljes IPv6 letöltés" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "A teljes forgalom <big id=\"ipv6-share\">0%</big>-a IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "<big id=\"ipv6-tx\">0B</big> teljes IPv6 feltöltés" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "<big id=\"layer7-most-conn\">0</big> okozza a legtöbb kapcsolatot" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "<big id=\"layer7-most-rx\">0</big> okozza a legtöbb letöltést" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "<big id=\"layer7-most-tx\">0</big> okozza a legtöbb feltöltést" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "<big id=\"layer7-total\">0</big> különbözÅ alkalmazásprotokoll" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "<big id=\"rx-total\">0</big> letöltés" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "<big id=\"tx-total\">0</big> feltöltés" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "Elszámolási idÅszak" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "Speciális beállÃtások" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "Alkalmazás" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "Alkalmazásprotokollok" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "Biztonsági mentés" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "Sávszélesség megfigyelÅ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "CSV, IP szerint csoportosÃtva" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "CSV, MAC szerint csoportosÃtva" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "CSV, protokoll szerint csoportosÃtva" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." @@ -165,7 +165,7 @@ msgstr "" "meglévÅ adatbázist!<br /><strong><a href=\"%s\">Biztonsági mentés letöltése</" "a></strong>." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " @@ -176,42 +176,42 @@ msgstr "" "âRögzÃtett idÅközË lehetÅséget az elszámolási idÅszak pontosan N naponként " "történŠújraindÃtásához, kezdve egy adott dátumnál." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Adatok összegyűjtéseâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "VéglegesÃtési idÅköz" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "Adatbázis tömörÃtése" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "BeállÃtás" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "Kapcs." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "Kapcsolatok" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "Kapcsolatok / gép" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "Adatbáziskönyvtár" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." @@ -219,11 +219,11 @@ msgstr "" "Adatbázis tárolókönyvtár. Elszámolási idÅszakonként egy fájl lesz elhelyezve " "ebbe a könyvtárba." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "Hónap napja" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " @@ -233,103 +233,127 @@ msgstr "" "értékeket a hónap végétÅl való számoláshoz, például a â-5â július 27. vagy " "február 24. napját határozza meg." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "MegjelenÃtés" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "Le. (byte)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "Le. (csom.)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "Letöltés" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "Letöltés (bájt)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "Letöltés (csomagok)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "Letöltés / alkalmazás" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "Adatbázis biztonsági mentés letöltése" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "Kétvermes engedélyezett gépek" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "HatáridÅ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "Exportálás" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "Család" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "RögzÃtett idÅköz" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "Ãjratöltés kényszerÃtéseâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "Ãltalános beállÃtások" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "Biztonsági mentés elÅállÃtása" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "Gép" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "Gépnév: <big id=\"bubble-hostname\">example.org</big>" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "IPv4 â IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "IdÅköz" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." @@ -337,7 +361,7 @@ msgstr "" "Az idÅköz, amelyben a memóriában lévŠátmeneti adatbázis véglegesÃtve lesz " "az állandó adatbázis-könyvtárba." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." @@ -345,36 +369,36 @@ msgstr "" "Az idÅköz, amelyben a még kiépÃtett kapcsolatok forgalomszámlálói frissÃtve " "lesznek a hálózati kapcsolat információiból." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "Ãrvénytelen vagy üres biztonsági mentés archÃvum" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "JSON kiÃrás" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "Elszámolási idÅköz hossza napokban." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "Helyi csatolók" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "Helyi alhálózatok" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "Legtöbb bejegyzés" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." @@ -382,51 +406,51 @@ msgstr "" "A megtartandó elszámolási idÅszakok legnagyobb száma. Használjon nullát az " "adatbázis örökre való megtartásához." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "Hálózati kapcsolat sávszélesség megfigyelÅ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" "Hálózati kapcsolat sávszélesség megfigyelÅ â biztonsági mentés és " "visszaállÃtás" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "Hálózati kapcsolat sávszélesség megfigyelÅ â beállÃtások" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "Még nincsenek adatok rögzÃtve." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" "Csak azok a kapcsolatkövetÅ adatfolyamok lesznek beleszámolva, amelyek ezen " "hálózatok bármelyikébe vagy bármelyikébÅl érkeznek." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" "Csak azok a kapcsolatkövetÅ adatfolyamok lesznek beleszámolva, amelyek ezen " "alhálózatok bármelyikébe vagy bármelyikébÅl érkeznek." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "Adatbázis elÅre lefoglalása" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "Protokoll" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "Protokoll-leképezés" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " @@ -437,41 +461,45 @@ msgstr "" "az IP protokollt, a második érték a portszámot és a harmadik oszlop a " "leképezett protokoll neve." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "FrissÃtési idÅköz" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "VisszaállÃtás" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "Adatbázis biztonsági mentésének visszaállÃtása" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "Elszámolási idÅszak kiválasztása:" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "Forrás IP" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "KezdÅdátum" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" "Az elsÅ elszámolási idÅszak kezdÅdátuma, például egy internetszolgáltatóval " "kötött szerzÅdés kezdete." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "Tárolt idÅszakok" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." @@ -480,11 +508,11 @@ msgstr "" "hatékony forgalomelszámoló program, amely figyelemmel kÃséri a sávszélesség-" "használatot gépenként és protokollonként." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" -msgstr "A következÅ adatbázisfájlok lettek visszaállÃtva: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" +msgstr "A következÅ adatbázisfájlok lettek visszaállÃtva:" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." @@ -492,51 +520,55 @@ msgstr "" "A bejegyzések legnagyobb száma, amit be kell tenni az adatbázisba. A korlát " "0-ra állÃtása az adatbázisok korlátlan növekedését teszi lehetÅvé." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "Forgalom / gép" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "Forgalomelosztás" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "Fel. (bájt)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "Fel. (csom.)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "Feltöltés" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "Feltöltés (bájt)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "Feltöltés (csomagok)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "Feltöltés / alkalmazás" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "Gyártó: <big id=\"bubble-vendor\">Példa Kft.</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "Figyelmeztetés" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " @@ -546,7 +578,7 @@ msgstr "" "tömörÃtése a régi adatokhoz való hozzáférést kicsit lassabbá teszi, de segÃt " "csökkenteni a tárolási szükségleteket." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " @@ -557,16 +589,19 @@ msgstr "" "esetleg nem képesek kielégÃteni a memórialefoglalást hosszabb működési " "idÅszakok után." -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "nincs forgalom" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "egyéb" + +#~ msgid "Invalid or empty backup archive" +#~ msgstr "Ãrvénytelen vagy üres biztonsági mentés archÃvum" diff --git a/applications/luci-app-nlbwmon/po/it/nlbwmon.po b/applications/luci-app-nlbwmon/po/it/nlbwmon.po index be604c657..95588fa38 100644 --- a/applications/luci-app-nlbwmon/po/it/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/it/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.0-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "Impostazioni Avanzate" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "Backup" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Raccolta dati..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "Configurazione" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "Impostazioni Generali" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "Host" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "Protocollo" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/ja/nlbwmon.po b/applications/luci-app-nlbwmon/po/ja/nlbwmon.po index c22a39ece..d9e118983 100644 --- a/applications/luci-app-nlbwmon/po/ja/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/ja/nlbwmon.po @@ -13,147 +13,147 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 3.11\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d IPv4 éå®ãã¹ã" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d IPv6 éå®ãã¹ã" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "%d ãã¥ã¢ã«ã¹ã¿ã㯠ãã¹ã" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s, %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%s, %s, %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1 - æã®æçµæ¥" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7 - æã®æçµæ¥ã®ä¸é±éå" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "1 - æ¯æ1æ¥" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "10m - ãã©ãã·ã¥åªä½ã¸ã®è² è·ãé«ãé »ç¹ãªã³ãããï¼10åï¼" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "12h - ãã¼ã¿æ¶å¤±ãªã¹ã¯ã¨ãã©ãã·ã¥åªä½ã¸ã®è² è·ã®å¦¥åç¹ï¼12æéï¼" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "24h - ãã¼ã¿æ¶å¤±ãªã¹ã¯ã¯é«ãããã©ãã·ã¥åªä½ã¸ã®è² è·ã¯æå°ï¼24æéï¼" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "30s - ç¾å¨ã®ç¶æ ã®ææ¡ã«é©åãª1åéã«2åã®ãªãã¬ãã·ã¥ï¼30ç§ï¼" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "5m - conntrack ã«ã¦ã³ã¿ã¼ã®é »ç¹ãªã¯ãªã¢ãé²ããä½é »åº¦ã®ãªãã¬ãã·ã¥" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "60ç§ - 1åæ¯ã®ã³ããããéãã©ãã·ã¥ ã¹ãã¬ã¼ã¸ã«æç¨" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "<big id=\"conn-total\">0</big> æ¥ç¶æ°" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "<big id=\"host-total\">0</big> ãã¹ãæ°" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "<big id=\"ipv6-hosts\">0%</big> å ¨ãã¹ãä¸ã® IPv6 ãµãã¼ãæ¯ç" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "<big id=\"ipv6-rx\">0B</big> IPv6 ç·ãã¦ã³ãã¼ã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "<big id=\"ipv6-share\">0%</big> å ¨ãã©ãã£ãã¯ä¸ã® IPv6 ã®å²å" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "<big id=\"ipv6-tx\">0B</big> IPv6 ç·ã¢ãããã¼ã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "<big id=\"layer7-most-conn\">0</big> æ¥ç¶æ°ä¸ä½" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "<big id=\"layer7-most-rx\">0</big> ãã¦ã³ãã¼ãä¸ä½" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "<big id=\"layer7-most-tx\">0</big> ã¢ãããã¼ãä¸ä½" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "<big id=\"layer7-total\">0</big> ã¢ããªã±ã¼ã·ã§ã³ ãããã³ã«æ°" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "<big id=\"rx-total\">0</big> ãã¦ã³ãã¼ã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "<big id=\"tx-total\">0</big> ã¢ãããã¼ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "åéæé" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "詳細è¨å®" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "ã¢ããªã±ã¼ã·ã§ã³" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "ã¢ããªã±ã¼ã·ã§ã³ ãããã³ã«" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "ããã¯ã¢ãã" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "帯åå¹ ã¢ãã¿ã¼" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "CSVï¼IP ã«ããã°ã«ã¼ãåï¼" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "CSVï¼MAC ã«ããã°ã«ã¼ãåï¼" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "CSVï¼ãããã³ã«ã«ããã°ã«ã¼ãåï¼" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." @@ -161,7 +161,7 @@ msgstr "" "æ¢åã®ãã¼ã¿ãã¼ã¹ã¨äºææ§ã®ç¡ãåéæéã®å½¢å¼ãé¸æããã¾ããã<br /" "><strong><a href=\"%s\">ããã¯ã¢ããã®ãã¦ã³ãã¼ã</a></strong>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " @@ -171,42 +171,42 @@ msgstr "" "æ¯æ3æ¥ï¼ãè¨å®ããæ¥æ°æ¯ã«ãã¼ã¿ã®åéãè¡ãã«ã¯ã\"ç¹å®ã®éé\" ãé¸æãã¾" "ããå¾è ã®å ´åãæå®ãããæ¥ä»ããéå§ããã¾ãã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "ã³ãããéé" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "ãã¼ã¿ãã¼ã¹ã®å§ç¸®" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "è¨å®" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "æ¥ç¶æ°" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "æ¥ç¶æ°" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "ãã¹ãæ¯ã®æ¥ç¶æ°" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "ãã¼ã¿ãã¼ã¹ ãã£ã¬ã¯ããª" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." @@ -214,11 +214,11 @@ msgstr "" "ãã¼ã¿ãã¼ã¹ã®ä¿åå ãã£ã¬ã¯ããªã§ããè¨æ¸¬æéããã 1 ã¤ã®ãã¡ã¤ã«ããã®ãã£" "ã¬ã¯ããªã«é ç½®ããã¾ãã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "æé" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " @@ -227,103 +227,127 @@ msgstr "" "æã®ä¸ã§æ°ããªåéæéãéå§ããæ¥ã§ããæã®æçµæ¥ããã®æ¥æ°ããã¤ãã¹å¤ã§æ" "å®ãããã¨ãã§ãã¾ãï¼ä¾: 7æ27æ¥ã¾ãã¯2æ24æ¥ã¯ \"-5\"ï¼ã" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "表示" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "ãã¦ã³ãã¼ã / ã¢ããªã±ã¼ã·ã§ã³" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "ãã¼ã¿ãã¼ã¹ ããã¯ã¢ããã®ãã¦ã³ãã¼ã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "ãã¥ã¢ã«ã¹ã¿ã㯠ãã¹ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "ææ¥" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "ã¨ã¯ã¹ãã¼ã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "IP 種å¥" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "ç¹å®ã®éé" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "å¼·å¶ãªãã¼ã..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "å ¨è¬è¨å®" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "ããã¯ã¢ããã®ä½æ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "ãã¹ã" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "ãã¹ãå: <big id=\"bubble-hostname\">example.org</big>" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "IPv4 åã³ IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "éé" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." @@ -331,7 +355,7 @@ msgstr "" "ã¡ã¢ãªã¼ä¸ã®ä¸æçãªãã¼ã¿ãã¼ã¹ãããæ°¸ç¶çãªãã¼ã¿ãã¼ã¹ ãã£ã¬ã¯ããªã¸ã®ã³" "ããããå®è¡ããééã§ãã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." @@ -339,36 +363,36 @@ msgstr "" "確ç«ä¸ã®æ¥ç¶ã®ãã©ãã£ã㯠ã«ã¦ã³ã¿ã¼ã netlink æ å ±ã«ãããªãã¬ãã·ã¥ããã" "ééã§ãã" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "ç¡å¹ã¾ãã¯ç©ºã®ããã¯ã¢ãã ã¢ã¼ã«ã¤ãã§ãã" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "JSON ãã³ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "åéæéã®æ¥æ°ã§ãã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "ãã¼ã«ã« ã¤ã³ã¿ã¼ãã§ã¼ã¹" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "ãã¼ã«ã« ãµãããã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "æ大件æ°" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." @@ -376,46 +400,46 @@ msgstr "" "è¨æ¸¬ãã¼ã¿ãä¿æãããåéæéã®æ大åæ°ã§ãã '0' ãè¨å®ããå ´åãå ¨ãã¼ã¿ã" "ä¿æãã¾ãã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "Netlink Bandwidth Monitor" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "Netlink Bandwidth Monitor - ããã¯ã¢ãã / 復å " -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "Netlink Bandwidth Monitor - è¨å®" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "ã¾ã ãã¼ã¿ãããã¾ããã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" "é¸æããããããã¯ã¼ã¯ã«ããã conntrack ã¹ããªã¼ã ã®ã¿ãè¨æ¸¬ããã¾ãã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "è¨å®ããããµããããã«ããã conntrack ã¹ããªã¼ã ã®ã¿ãè¨æ¸¬ããã¾ãã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "ãã¼ã¿ãã¼ã¹ã®äºåå²å½" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "ãããã³ã«" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "ãããã³ã« ãããã³ã°" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " @@ -426,39 +450,43 @@ msgstr "" "ç®ã®å¤ã¯ãã¼ãçªå·ã3ã¤ç®ã¯ãããã³ã°ããããããã³ã«ã®ååããããã表ãã¾" "ãã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "ãªãã¬ãã·ã¥éé" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "復å " -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "ãã¼ã¿ãã¼ã¹ã®å¾©å " -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "åéæéãé¸æ:" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "ã¢ã¯ã»ã¹å IP" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "éå§æ¥" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "ååã®ãã¼ã¿åéã®éå§æ¥ã§ãï¼ä¾: ISP å¥ç´ã®éå§æ¥ï¼ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "ä¿åæé" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." @@ -466,11 +494,11 @@ msgstr "" "Netlink Bandwidth Monitor (nlbwmon) ã¯ã軽éãã¤ããã¹ãããããã³ã«æ¯ã«å¸¯å" "å¹ ä½¿ç¨éã®è¿½è·¡ãè¡ãå¹ççãªãã©ãã£ãã¯è¨æ¸¬ããã°ã©ã ã§ãã" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" -msgstr "次ã®ãã¼ã¿ãã¼ã¹ ãã¡ã¤ã«ã復å ããã¾ãã: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" +msgstr "次ã®ãã¼ã¿ãã¼ã¹ ãã¡ã¤ã«ã復å ããã¾ãã:" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." @@ -478,51 +506,55 @@ msgstr "" "ãã¼ã¿ãã¼ã¹ã«ä¿ç®¡ãããæ大件æ°ã§ãã '0' ãè¨å®ããå ´åãå¶éç¡ãã®ãã¼ã¿" "ãã¼ã¹ã®å¢å¤§ã許å¯ãã¾ãã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "ãã¹ãæ¯ã®ãã©ãã£ãã¯" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "ãã©ãã£ãã¯å 訳" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "ã¢ãããã¼ã / ã¢ããªã±ã¼ã·ã§ã³" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "ãã³ã: <big id=\"bubble-vendor\">Example Corp.</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "è¦å" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " @@ -532,27 +564,30 @@ msgstr "" "ããã¼ã¿ã¸ã®ã¢ã¯ã»ã¹ãå¤å°é ããªãã¾ãããã¹ãã¬ã¼ã¸ä½¿ç¨éã®ä½æ¸ã«å½¹ç«ã¡ã¾" "ãã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "ãã©ãã£ãã¯ç¡ã" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "ãã®ä»" +#~ msgid "Invalid or empty backup archive" +#~ msgstr "ç¡å¹ã¾ãã¯ç©ºã®ããã¯ã¢ãã ã¢ã¼ã«ã¤ãã§ãã" + #~ msgid "Down. (Bytes / Pkts.)" #~ msgstr "ãã¦ã³ãã¼ãï¼Bytes / Pkts.ï¼" diff --git a/applications/luci-app-nlbwmon/po/ko/nlbwmon.po b/applications/luci-app-nlbwmon/po/ko/nlbwmon.po index 3a074b626..a1efd833c 100644 --- a/applications/luci-app-nlbwmon/po/ko/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/ko/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.0.2-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "ê³ ê¸ ì¤ì " -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/mr/nlbwmon.po b/applications/luci-app-nlbwmon/po/mr/nlbwmon.po index aab074802..63325e74d 100644 --- a/applications/luci-app-nlbwmon/po/mr/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/mr/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "पà¥à¤°à¤à¤¤ सà¥à¤à¤¿à¤à¤à¥à¤" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "डà¥à¤à¤¾ सà¤à¤à¤²à¤¿à¤¤ à¤à¤°à¥à¤¤ à¤à¤¹à¥ ..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "à¤à¥à¤¨à¥à¤«à¤¿à¤à¤°à¥à¤¶à¤¨" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "डाà¤à¤¨à¤²à¥à¤¡" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "सामानà¥à¤¯ सà¥à¤à¤¿à¤à¤à¥à¤" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "पà¥à¤°à¥à¤à¥à¤à¥à¤²" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "सà¥à¤¤à¥à¤°à¥à¤¤ à¤à¤¯à¤ªà¥" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/ms/nlbwmon.po b/applications/luci-app-nlbwmon/po/ms/nlbwmon.po index d49a35201..bdf4f3122 100644 --- a/applications/luci-app-nlbwmon/po/ms/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/ms/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Mengumpul data..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/nb_NO/nlbwmon.po b/applications/luci-app-nlbwmon/po/nb_NO/nlbwmon.po index 163f106e3..c3fbb1e6c 100644 --- a/applications/luci-app-nlbwmon/po/nb_NO/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/nb_NO/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Samler inn dataâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/pl/nlbwmon.po b/applications/luci-app-nlbwmon/po/pl/nlbwmon.po index 97c34c4d1..1a8e5f79c 100644 --- a/applications/luci-app-nlbwmon/po/pl/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/pl/nlbwmon.po @@ -11,149 +11,149 @@ msgstr "" "|| n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d hosty tylko z IPv4" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d hosty tylko z IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "%d hosty dualstack" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s i %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%s, %s i %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1- Restart ostatniego dnia miesiÄ ca" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7- Restart tydzieÅ przed koÅcem miesiÄ ca" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "-1- Restart pierwszego dnia miesiÄ ca" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "10m - czÄsty zapis kosztem zużycia pamiÄci flash" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "12h - kompromis miÄdzy utratÄ danych a zużyciem pamiÄci flash" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "24h - najmniejsze zużycie pamiÄci flash, kosztem utraty danych" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" "30s - odÅwieżanie dwa razy na minutÄ dla racjonalnie aktualnych statystyk" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" "5m - rzadkie odÅwieżanie aby unikaÄ czÄstego czyszczenia licznika conntrack" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "60s - czÄsty zapis, przydatny dla pamiÄci non-flash" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "<big id=\"conn-total\">0</big> poÅÄ czenia" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "<big id=\"host-total\">0</big> hostów" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "<big id=\"ipv6-hosts\">0%</big> ObsÅuga protokoÅu IPv6 wÅród hostów" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "<big id=\"ipv6-rx\">0B</big> caÅkowite pobieranie IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "<big id=\"ipv6-share\">0%</big> z caÅego ruchu sieciowego IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "<big id=\"ipv6-tx\">0B</big> caÅkowite wysyÅanie IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "<big id=\"layer7-most-conn\">0</big> powoduje najwiÄcej poÅÄ czeÅ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "<big id=\"layer7-most-rx\">0</big> powoduje najwiÄcej pobieraÅ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "<big id=\"layer7-most-tx\">0</big> powoduje najwiÄcej wysyÅaÅ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "<big id=\"layer7-total\">0</big> różne protokoÅy aplikacji" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "<big id=\"rx-total\">0</big> pobieranie" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "<big id=\"tx-total\">0</big> wysyÅanie" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "Okres rozliczeniowy" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "Ustawienia zaawansowane" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "Aplikacja" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "ProtokoÅy aplikacji" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "Kopia zapasowa" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "Monitor przepustowoÅci" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "CSV, pogrupowane wedÅug adresów IP" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "CSV, pogrupowane wedÅug MAC" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "CSV, pogrupowane wedÅug protokoÅów" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." @@ -161,7 +161,7 @@ msgstr "" "Zmiana typu interwaÅu rozliczeniowego spowoduje unieważnienie istniejÄ cych " "baz danych!<br /><strong><a href=\"%s\">Pobierz kopiÄ zapasowÄ </a></strong>." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " @@ -171,42 +171,42 @@ msgstr "" "miesiÄ c w okreÅlonym dniu, np. co 3. Wybierz \"Ustalony interwaÅ\" aby " "zrestartowaÄ okres rozliczeniowy dokÅadnie co N dni, poczÄ wszy od danej daty." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Trwa zbieranie danych..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "InterwaÅ zapisu" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "Kompresuj baze danych" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "Konfiguracja" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "PoÅÄ czenia" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "PoÅÄ czenia" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "PoÅÄ czenia/Host" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "Katalog bazy danych" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." @@ -214,11 +214,11 @@ msgstr "" "Katalog przechowywania bazy danych. Jeden plik na okres rozliczeniowy " "zostanie umieszczony w tym katalogu." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "DzieÅ miesiÄ ca" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " @@ -228,103 +228,127 @@ msgstr "" "ujemne należy stosowaÄ do liczenia pod koniec miesiÄ ca, np. \"-5\", aby " "okreÅliÄ 27 lipca lub 24 lutego." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "WyÅwietl" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "Pobieranie (Bajty)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "Pobieranie (Pakiety)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "Pobieranie" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "Pobieranie (Bajty)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "Pobieranie (Pakiety)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "Pobieranie/Aplikacja" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "Pobierz kopiÄ zapasowÄ bazy danych" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "Hosty z wÅÄ czonÄ funkcjÄ dualstack" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "Termin ważnoÅci" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "Eksportuj" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "Rodzina" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "Ustalony interwaÅ" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "WymuÅ przeÅadowanieâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "Ustawienia gÅówne" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "Generuj kopiÄ zapasowÄ " -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "Host" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "Nazwa hosta: <big id=\"bubble-hostname\">example.org</big>" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "IPv4 vs. IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "InterwaÅ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." @@ -332,7 +356,7 @@ msgstr "" "OdstÄp czasu, w którym tymczasowa baza danych w pamiÄci jest przekazywana do " "staÅego katalogu bazy danych." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." @@ -340,36 +364,36 @@ msgstr "" "OdstÄp czasowy, w którym liczniki ruchu nadal ustanowionych poÅÄ czeÅ sÄ " "odÅwieżane z informacji o poÅÄ czeniu sieciowym." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "NieprawidÅowe lub puste archiwum kopii zapasowej" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "Zrzut JSON" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "DÅugoÅÄ interwaÅu ksiÄgowania w dniach." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "Interfejsy lokalne" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "Podsieci lokalne" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "Maksymalna liczba wpisów" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." @@ -377,47 +401,48 @@ msgstr "" "Maksymalna liczba okresów rozliczeniowych do zachowania, użyj zera do " "zachowania baz danych na zawsze." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "Monitor wykorzystania ÅÄ cza internetowego" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" -msgstr "Monitor wykorzystania ÅÄ cza internetowego - Kopia zapasowa/Przywracanie" +msgstr "" +"Monitor wykorzystania ÅÄ cza internetowego - Kopia zapasowa/Przywracanie" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "Monitor wykorzystania ÅÄ cza internetowego - Konfiguracja" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "Nie zarejestrowano jeszcze żadnych danych." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" "Liczone sÄ tylko strumienie conntrack z lub do którejkolwiek z tych sieci." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" "Liczone sÄ tylko strumienie conntrack z lub do którejkolwiek z tych podsieci." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "Prealokuj bazÄ danych" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "ProtokóÅ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "Mapowanie protokoÅów" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " @@ -427,41 +452,45 @@ msgstr "" "na liniÄ. Pierwsza wartoÅÄ okreÅla protokóŠIP, druga numer portu, a trzecia " "nazwÄ mapowanego protokoÅu." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "CzÄstotliwoÅÄ odÅwieżania" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "PrzywróÄ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "Przywracanie kopii zapasowej bazy danych" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "Wybierz okres rozliczeniowy:" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "ŹródÅowy adres IP" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "Data rozpoczÄcia" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" "Data rozpoczÄcia pierwszego okresu rozliczeniowego, np. poczÄ tek umowy z " "dostawcÄ usÅug internetowych." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "Przechowywane okresy" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." @@ -470,11 +499,11 @@ msgstr "" "programem do ksiÄgowania ruchu, ÅledzÄ cym wykorzystanie przepustowoÅci " "hostów i protokoÅów." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" -msgstr "Przywrócono nastÄpujÄ ce pliki bazy danych: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" +msgstr "Przywrócono nastÄpujÄ ce pliki bazy danych:" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." @@ -482,51 +511,55 @@ msgstr "" "Maksymalna liczba wpisów, które powinny zostaÄ wprowadzone do bazy danych, " "przy ustawieniu limitu na 0, pozwoli bazom danych na nieograniczony wzrost." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "Ruch sieciowy/Host" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "Dystrybucja ruchu" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "WysyÅanie (Bajty)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "WysyÅanie (Pakiety)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "WyÅlij" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "WysyÅanie (Bajty)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "WysyÅanie (Pakiety)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "WysyÅanie/Aplikacja" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "Producent: <big id=\"bubble-vendor\">Example Corp.</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "Ostrzeżenie" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " @@ -536,7 +569,7 @@ msgstr "" "powoduje, że dostÄp do starych danych jest nieco wolniejszy, ale redukuje " "zapotrzebowanie na pamiÄÄ masowÄ ." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " @@ -547,16 +580,19 @@ msgstr "" "nie byÄ w stanie zaspokoiÄ alokacji pamiÄci po dÅuższych okresach " "bezawaryjnej pracy." -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "brak ruchu sieciowego" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "inny" + +#~ msgid "Invalid or empty backup archive" +#~ msgstr "NieprawidÅowe lub puste archiwum kopii zapasowej" diff --git a/applications/luci-app-nlbwmon/po/pt/nlbwmon.po b/applications/luci-app-nlbwmon/po/pt/nlbwmon.po index 19755af87..a411d5a53 100644 --- a/applications/luci-app-nlbwmon/po/pt/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/pt/nlbwmon.po @@ -10,151 +10,151 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 3.10-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d hosts somente no IPv4" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d hosts somente no IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "%d de hosts dual-stack" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s e %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%s, %s e %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1 - Reiniciar no último dia do mês" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7 - Reiniciar uma semana antes do fim do mês" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "1 - Reiniciar a cada 1º dia do mês" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "10m - commits frequentes à custa do desgaste do flash" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "12h - compromisso entre risco de perda de dados e desgaste do flash" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "24h - menor desgaste do flash à custa do risco de perda de dados" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" "30s - atualizar duas vezes por minuto para estatÃsticas razoavelmente atuais" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" "5m - atualizar raramente para evitar a limpeza frequente de contadores de " "conntrack" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "60s - commit minuciosamente, útil para armazenamentos sem flash" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "<big id=\"conn-total\">0</big> conexões" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "<big id=\"host-total\">0</big> hosts" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "<big id=\"ipv6-hosts\">0%</big> Taxa de suporte IPv6 entre hosts" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "<big id=\"ipv6-rx\">0B</big> descarregamento IPv6 total" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "<big id=\"ipv6-share\">0%</big> do tráfego total é IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "<big id=\"ipv6-tx\">0B</big> envio IPv6 total" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "<big id=\"layer7-most-conn\">0</big> causam a maioria das conexões" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" "<big id=\"layer7-most-rx\">0</big> causam o maior número de descarregamentos" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "<big id=\"layer7-most-tx\">0</big> causam o maior número de envios" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "<big id=\"layer7-total\">0</big> protocolos de aplicação diferentes" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "<big id=\"rx-total\">0</big> descarregamento" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "<big id=\"tx-total\">0</big> envio" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "PerÃodo contábil" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "Definições Avançadas" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "Aplicação" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "Protocolos de Aplicação" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "Backup" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "Monitor de Largura de Banda" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "CSV, agrupado por IP" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "CSV, agrupado por MAC" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "CSV, agrupado por protocolo" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." @@ -163,7 +163,7 @@ msgstr "" "dados existentes!<br /><strong><a href=\"%s\">Descarregar backup</a></" "strong>." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " @@ -174,42 +174,42 @@ msgstr "" "para reiniciar o perÃodo contábil exatamente a cada N dias, começando numa " "determinada data." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "A recolher dados..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "Intervalo de commit" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "Comprimir banco de dados" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "Configuração" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "Con." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "Ligações" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "Conexões / Host" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "Diretório da base de dados" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." @@ -217,11 +217,11 @@ msgstr "" "Diretório de armazenamento de banco de dados. Um ficheiro por perÃodo " "contábil estará neste diretório." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "Dia do mês" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " @@ -231,103 +231,127 @@ msgstr "" "contar para o final do mês, por exemplo \"-5\" para especificar o dia 27 de " "julho ou o dia 24 de fevereiro." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "Mostrar" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "Desc. (Bytes)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "Desc. (Pcts.)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "Descarregar" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "Descarregamento (Bytes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "Descarregamento (Pacotes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "Descarregamento / Aplicação" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "Descarregar Backup de Base de Dados" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "Hosts com dualstack ativado" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "Data limite" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "Exportação" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "FamÃlia" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "Intervalo fixo" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "Regarregar forçadamenteâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "Configurações Gerais" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "Gerar backup" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "Host" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "Nome do Host: <big id=\"bubble-hostname\">exemplo.org</big>" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "IPv4 contra IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "Intervalo" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." @@ -335,7 +359,7 @@ msgstr "" "Intervalo no qual o banco de dados na memória temporário é enviado para o " "diretório do banco de dados persistente." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." @@ -343,36 +367,36 @@ msgstr "" "Intervalo no qual os contadores de tráfego de conexões ainda estabelecidas " "são atualizados a partir de informações netlink." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "Arquivo de backup inválido ou vazio" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "Despejo de JSON" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "Duração do intervalo contábil em dias." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "Interfaces locais" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "Subredes locais" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "Quantidade máxima de entradas" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." @@ -380,49 +404,49 @@ msgstr "" "Quantidade máxima de perÃodos contáveis a manter, use zero para manter " "bancos de dados para sempre." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "Monitor de Largura de Banda Netlink" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "Monitor de Largura de Banda Netlink - Backup / Restauração" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "Monitor de Largura de Banda Netlink - Configuração" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "Ainda não há dados registados." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" "Somente os fluxos de conntrack de ou para qualquer uma dessas redes são " "contados." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" "Somente fluxos de conntrack de ou para qualquer uma dessas sub-redes são " "contados." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "Pré-alocar banco de dados" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "Protocolo" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "Mapeamento de Protocolos" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " @@ -432,41 +456,45 @@ msgstr "" "mapeamento por linha. O primeiro valor especifica o protocolo IP, o segundo " "valor o número da porta e a terceira coluna é o nome do protocolo mapeado." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "Intervalo de atualização" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "Restauração" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "Restaurar o Backup do Banco de Dados" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "Selecionar perÃodo contábil:" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "IP de origem" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "Data de inÃcio" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" "Data de inÃcio do primeiro perÃodo contábil, por exemplo, inÃcio do contrato " "com o provedor." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "PerÃodos armazenados" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." @@ -475,11 +503,11 @@ msgstr "" "um programa de contabilidade de tráfego leve e eficiente que controla o uso " "da largura de banda por host e protocolo." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" -msgstr "Os ficheiros de banco de dados seguintes foram restaurados: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" +msgstr "Os ficheiros de banco de dados seguintes foram restaurados:" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." @@ -488,51 +516,55 @@ msgstr "" "configurando o limite p ara 0 permitirá que as bases de dados cresçam " "indefinidamente." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "Tráfego / Host" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "Distribuição do Tráfego" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "Acima. (Bytes)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "Acima. (Pcts.)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "Enviar" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "Envio (Bytes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "Envio (Pacotes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "Envio / Aplicação" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "Fornecedor: <big id=\"bubble-vendor\">Corp. Exemplo</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "Aviso" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " @@ -542,7 +574,7 @@ msgstr "" "ficheiros de banco de dados torna o acesso aos dados antigos um pouco mais " "lento, mas ajuda a reduzir os requisitos de armazenamento." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " @@ -553,16 +585,19 @@ msgstr "" "não ser capazes de satisfazer a alocação de memória após perÃodos de " "atividade mais longos." -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "nenhum tráfego" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "outro" + +#~ msgid "Invalid or empty backup archive" +#~ msgstr "Arquivo de backup inválido ou vazio" diff --git a/applications/luci-app-nlbwmon/po/pt_BR/nlbwmon.po b/applications/luci-app-nlbwmon/po/pt_BR/nlbwmon.po index e1b30bc38..3fc602654 100644 --- a/applications/luci-app-nlbwmon/po/pt_BR/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/pt_BR/nlbwmon.po @@ -10,159 +10,159 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 3.10-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d apenas hosts IPV4" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d apenas hosts IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "%d hosts com pilha dupla" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s e %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%s, %s e %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1 - Reiniciar todos os últimos dias do mês" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7 - Reiniciar uma semana antes do fim do mês" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "1 - Reiniciar a cada 1º dia do mês" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "10m - commits frequentes à custa do desgaste da memória flash" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" "12h - compromisso entre risco de perda de dados e desgaste da memória flash" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" "24h - menor desgaste da memória flash à custa do risco de perda de dados" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" "30s - atualizar duas vezes por minuto para manter as estatÃsticas " "razoavelmente atuais" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" "5m - atualizar raramente para evitar a limpeza frequente dos contadores " "conntrack" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" "60s - realizar um commit por minuto, útil para armazenamento sem memória " "flash" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "<big id=\"conn-total\">0</big> conexões" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "<big id=\"host-total\">0</big> hosts" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" "<big id=\"ipv6-hosts\">0%</big> Taxa de compatibilidade IPv6 entre os hosts" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "<big id=\"ipv6-rx\">0B</big> total de downloads IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "<big id=\"ipv6-share\">0%</big> do tráfego total é IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "<big id=\"ipv6-tx\">0B</big> upload IPv6 total" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "<big id=\"layer7-most-conn\">0</big> causou a maioria das conexões" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" "<big id=\"layer7-most-rx\">0</big> causou a maioria da quantidade de " "downloads" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" "<big id=\"layer7-most-tx\">0</big> causou a maioria da quantidade de uploads" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "<big id=\"layer7-total\">0</big> protocolos de diferentes aplicativos" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "<big id=\"rx-total\">0</big> download" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "<big id=\"tx-total\">0</big> upload" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "PerÃodo contábil" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "Configurações Avançadas" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "Aplicação" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "Protocolos de aplicação" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "Cópia de Segurança" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "Monitor da Largura de Banda" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "CSV, agrupado por IP" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "CSV, agrupado por MAC" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "CSV, agrupados por protocolo" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." @@ -170,7 +170,7 @@ msgstr "" "Alterar o tipo de intervalo de contabilização invalida as bases de dados " "existentes!<br /><strong><a href=\"%s\">Download backup</a></strong>." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " @@ -181,42 +181,42 @@ msgstr "" "\" para reiniciar o perÃodo contábil exatamente a cada N dias, começando em " "uma data determinada." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Coletando dados..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "Intervalo de commit" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "Comprimir o banco de dados" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "Configuração" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "Conn." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "Conexões" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "Conexões / Host" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "Diretório do Banco de Dados" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." @@ -224,11 +224,11 @@ msgstr "" "O diretório de armazenamento de banco de dados. Um arquivo por perÃodo " "contábil será colocado neste diretório." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "Dia do mês" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " @@ -238,103 +238,127 @@ msgstr "" "contar no final do mês, por exemplo \"-5\" para especificar o dia 27 de " "Julho ou o dia 24 de Fevereiro." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "Exibir" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "Down. (Bytes)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "Down. (Pcts.)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "Download" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "Download (Bytes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "Download (Pacotes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "Download / Aplicação" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "Fazer Download da Cópia de Segurança do Banco de Dados" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "Hosts com pilha dupla ativada" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "Data de vencimento" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "Exportar" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "FamÃlia" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "Intervalo fixo" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "Impor o recarregamentoâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "Configurações Gerais" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "Gerar Cópia de Segurança" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "Host" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "Nome do host: <big id=\"bubble-hostname\">example.org</big>" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "IPv4 contra IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "Intervalo" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." @@ -342,7 +366,7 @@ msgstr "" "Intervalo no qual o banco de dados temporário na memória é enviado para o " "diretório do banco de dados persistente." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." @@ -350,36 +374,36 @@ msgstr "" "Intervalo no qual os contadores de tráfego de conexões ainda estabelecidas " "são atualizados a partir das informações do netlink." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "O arquivo da cópia de segurança está inválido ou vazio" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "Despejo JSON" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "Duração do intervalo contábil em dias." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "Interfaces locais" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "Subredes locais" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "Quantidade máxima de entradas" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." @@ -387,49 +411,49 @@ msgstr "" "Quantidade máxima de perÃodos contábeis a serem mantidos, use zero para " "manter os bancos de dados para sempre." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "Monitor da Largura de Banda Netlink" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "Monitor da Largura de Banda Netlink - Cópia de Segurança / Restauração" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "Monitor da Largura de Banda Netlink - Configuração" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "Ainda não há dados registrados." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" "Somente os fluxos conntrack de ou para qualquer uma dessas redes são " "contabilizados." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" "Somente fluxos conntrack de ou para qualquer uma destas sub-redes são " "contabilizados." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "Pré-alocar o banco de dados" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "Protocolo" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "Mapeamento de Protocolos" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " @@ -440,41 +464,45 @@ msgstr "" "protocolo IP, o segundo valor o número da porta e a terceira coluna é o nome " "do protocolo mapeado." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "Intervalo de atualização" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "Restauração" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "Restaurar a Cópia de Segurança do Banco de Dados" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "Selecione o perÃodo contábil:" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "IP de Origem" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "Data de InÃcio" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" "Data de inÃcio do primeiro perÃodo contábil, por exemplo, inÃcio do contrato " "com o provedor de internet." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "PerÃodos de armazenamento" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." @@ -483,11 +511,11 @@ msgstr "" "contabilidade de tráfego leve e eficiente que controla o uso da largura de " "banda por host e protocolo." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" -msgstr "Os seguintes arquivos de banco de dados foram restaurados: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" +msgstr "Os seguintes arquivos de banco de dados foram restaurados:" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." @@ -496,51 +524,55 @@ msgstr "" "fixando o limite em 0, permitirá que as bases de dados cresçam " "indefinidamente." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "Tráfego / Host" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "Distribuição de Tráfego" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "Up. (Bytes)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "Up. (Pcts.)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "Envio" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "Envio (Bytes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "Envio (Pacotes)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "Envio / Aplicação" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "Vendedor: <big id=\"bubble-vendor\">Example Corp.</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "Alerta" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " @@ -550,7 +582,7 @@ msgstr "" "arquivos de banco de dados torna o acesso aos dados antigos um pouco mais " "lentos, porém ajuda a reduzir o espaço de armazenamento." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " @@ -561,16 +593,19 @@ msgstr "" "serem capazes de satisfazer a alocação de memória após perÃodos de atividade " "mais longos." -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "nenhum tráfego" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "Outros" + +#~ msgid "Invalid or empty backup archive" +#~ msgstr "O arquivo da cópia de segurança está inválido ou vazio" diff --git a/applications/luci-app-nlbwmon/po/ro/nlbwmon.po b/applications/luci-app-nlbwmon/po/ro/nlbwmon.po index 10b9d92f7..8024afc6c 100644 --- a/applications/luci-app-nlbwmon/po/ro/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/ro/nlbwmon.po @@ -11,515 +11,547 @@ msgstr "" "20)) ? 1 : 2;\n" "X-Generator: Weblate 4.0-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "SetÄri avansate" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Colectare date..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "Configurare" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "SetÄri generale" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/ru/nlbwmon.po b/applications/luci-app-nlbwmon/po/ru/nlbwmon.po index 9a235e9b1..b71bc61a0 100644 --- a/applications/luci-app-nlbwmon/po/ru/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/ru/nlbwmon.po @@ -16,151 +16,151 @@ msgstr "" "Project-Info: ÐÑо ÑÐµÑ Ð½Ð¸ÑеÑкий пеÑевод, не доÑловнÑй. Ðлавное-ÑдобнÑй ÑÑÑÑкий " "инÑеÑÑейÑ, вÑе пÑовеÑÑлоÑÑ Ð² гÑаÑиÑеÑком Ñежиме, ÑовмеÑÑим Ñ Ð´ÑÑгими apps\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d ÑолÑко IPv4 Ñ Ð¾ÑÑ(а, ов)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d ÑолÑко IPv6 Ñ Ð¾ÑÑ(а, ов)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "%d Ñ Ð¾ÑÑ(а, ов) Ñ Ð´Ð²ÑÐ¼Ñ ÑÑеками" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s и %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%s, %s и %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1 â ÐеÑезапÑÑк каждÑй поÑледний Ð´ÐµÐ½Ñ Ð¼ÐµÑÑÑа" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7 â ÐеÑезапÑÑк за Ð½ÐµÐ´ÐµÐ»Ñ Ð´Ð¾ конÑа меÑÑÑа" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "1 â ÐеÑезапÑÑк 1-го ÑиÑла каждого меÑÑÑа" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "10m â ÑаÑÑое ÑÐ¾Ñ Ñанение, повÑÑеннÑй Ð¸Ð·Ð½Ð¾Ñ ÑÐ»ÐµÑ Ð¿Ð°Ð¼ÑÑи" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "12h â компÑомиÑÑ Ð¼ÐµÐ¶Ð´Ñ ÑиÑком поÑеÑи даннÑÑ Ð¸ нагÑÑзкой на ÑÐ»ÐµÑ Ð¿Ð°Ð¼ÑÑÑ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "24h â наименÑÑÐ°Ñ Ð½Ð°Ð³ÑÑзка на ÑÐ»ÐµÑ Ð¿Ð°Ð¼ÑÑÑ, но еÑÑÑ ÑиÑк поÑеÑи даннÑÑ " -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" "30s â обновлÑÑÑ Ð´Ð²Ð° Ñаза в минÑÑÑ Ð´Ð»Ñ Ð¿Ð¾Ð´Ð´ÐµÑÐ¶Ð°Ð½Ð¸Ñ Ð°ÐºÑÑалÑной ÑекÑÑей " "ÑÑаÑиÑÑики" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" "5m â Ñедкое обновление, Ð´Ð»Ñ Ð¿ÑедоÑвÑаÑÐµÐ½Ð¸Ñ ÑаÑÑой оÑиÑÑки ÑÑÑÑÑиков conntrack" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "60s â ежеминÑÑное ÑÐ¾Ñ Ñанение, Ð¿Ð¾Ð´Ñ Ð¾Ð´Ð¸Ñ Ð´Ð»Ñ Ð½Ðµ ÑÐ»ÐµÑ Ð½Ð°ÐºÐ¾Ð¿Ð¸Ñелей" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "<big id=\"conn-total\">0</big> Ñоединений" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "<big id=\"host-total\">0</big> Ñ Ð¾ÑÑ(а, ов)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "<big id=\"ipv6-hosts\">0%</big> ÑкоÑоÑÑи Ñ Ð¾ÑÑов ÑеÑез IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "<big id=\"ipv6-rx\">0B</big> вÑего ÑкаÑано по IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "<big id=\"ipv6-share\">0%</big> Ð¾Ñ Ð¾Ð±Ñего ÑÑаÑика â IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "<big id=\"ipv6-tx\">0B</big> вÑего загÑÑжено по IPv6" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" "<big id=\"layer7-most-conn\">0</big> ÑоздаÑÑ Ð½Ð°Ð¸Ð±Ð¾Ð»ÑÑее ÑиÑло Ñоединений" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "<big id=\"layer7-most-rx\">0</big> ÑоздаÑÑ Ð½Ð°Ð¸Ð±Ð¾Ð»ÑÑий обÑÑм ÑкаÑиваниÑ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "<big id=\"layer7-most-tx\">0</big> ÑоздаÑÑ Ð½Ð°Ð¸Ð±Ð¾Ð»ÑÑий обÑÑм загÑÑзки" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "<big id=\"layer7-total\">0</big> ÑазлиÑнÑÑ Ð¿ÑоÑоколов" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "<big id=\"rx-total\">0</big> ÑкаÑано" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "<big id=\"tx-total\">0</big> загÑÑжено" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "ÐÑÑÑÑнÑй пеÑиод" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "ÐополниÑелÑнÑе наÑÑÑойки" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "ÐÑиложение" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "ÐÑикладнÑе пÑоÑоколÑ" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "РезеÑÐ²Ð½Ð°Ñ ÐºÐ¾Ð¿Ð¸Ñ" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "ÐониÑоÑинг ÑÑаÑика" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "CSV, ÑгÑÑппиÑованнÑй по IP-адÑеÑам" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "CSV, ÑгÑÑппиÑованнÑй по MAC-адÑеÑам" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "CSV, ÑгÑÑппиÑованнÑй по пÑоÑоколам" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." @@ -168,53 +168,53 @@ msgstr "" "Ðзменение Ñипа оÑÑÑÑного пеÑиода ÑÐ´ÐµÐ»Ð°ÐµÑ Ð½ÐµÐ´ÐµÐ¹ÑÑвиÑелÑнÑми ÑÑÑеÑÑвÑÑÑие Ð±Ð°Ð·Ñ " "даннÑÑ !<br /><strong><a href=\"%s\">СкаÑаÑÑ ÑезеÑвнÑÑ ÐºÐ¾Ð¿Ð¸Ñ</a></strong>." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" "ÐÑбеÑиÑе «ÐÐµÐ½Ñ Ð¼ÐµÑÑÑа» Ð´Ð»Ñ ÐµÐ¶ÐµÐ¼ÐµÑÑÑного пеÑезапÑÑка оÑÑÑÑного пеÑиода в " -"конкÑеÑное ÑиÑло меÑÑÑа, напÑÐ¸Ð¼ÐµÑ ÐºÐ°Ð¶Ð´Ð¾Ðµ 3-е ÑиÑло меÑÑÑа.<br />ÐÑбеÑиÑе «" -"ФикÑиÑованнÑй инÑеÑвал», ÑÑÐ¾Ð±Ñ Ð¿ÐµÑезапÑÑкаÑÑ Ð¾ÑÑÑÑнÑй пеÑиод ÑеÑез каждÑе N " +"конкÑеÑное ÑиÑло меÑÑÑа, напÑÐ¸Ð¼ÐµÑ ÐºÐ°Ð¶Ð´Ð¾Ðµ 3-е ÑиÑло меÑÑÑа.<br />ÐÑбеÑиÑе " +"«ФикÑиÑованнÑй инÑеÑвал», ÑÑÐ¾Ð±Ñ Ð¿ÐµÑезапÑÑкаÑÑ Ð¾ÑÑÑÑнÑй пеÑиод ÑеÑез каждÑе N " "дней, наÑÐ¸Ð½Ð°Ñ Ñ Ð·Ð°Ð´Ð°Ð½Ð½Ð¾Ð¹ даÑÑ." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Ð¡Ð±Ð¾Ñ Ð´Ð°Ð½Ð½ÑÑ ..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "ÐнÑеÑвал ÑÐ¾Ñ ÑанениÑ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "СжаÑие Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ " -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "ÐонÑигÑÑаÑиÑ" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "Соед." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "СоединениÑ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "Ð¡Ð¾ÐµÐ´Ð¸Ð½ÐµÐ½Ð¸Ñ / ХоÑÑ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "Ðапка Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ " -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." @@ -222,11 +222,11 @@ msgstr "" "Ðапка Ñ ÑÐ°Ð½ÐµÐ½Ð¸Ñ Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ . Рданной папке ÑÐ¾Ñ ÑанÑеÑÑÑ Ð¿Ð¾ Ð¾Ð´Ð½Ð¾Ð¼Ñ ÑÐ°Ð¹Ð»Ñ Ð·Ð° " "оÑÑÑÑнÑй пеÑиод." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "ÐÐµÐ½Ñ Ð¼ÐµÑÑÑа" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " @@ -236,103 +236,127 @@ msgstr "" "знаÑÐµÐ½Ð¸Ñ Ð´Ð»Ñ Ð¾ÑÑÑÑÑа Ñ ÐºÐ¾Ð½Ñа меÑÑÑа, напÑимеÑ, «-5», ÑÑÐ¾Ð±Ñ ÑказаÑÑ 27-е иÑÐ»Ñ " "или 24-е ÑевÑалÑ." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "ÐÑобÑазиÑÑ" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "СкаÑ. (байÑÑ)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "СкаÑ. (пакеÑÑ)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "СкаÑивание" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "СкаÑивание (байÑÑ)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "СкаÑивание (пакеÑÑ)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "СкаÑивание / ÐÑиложение" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "СкаÑаÑÑ ÑезеÑвнÑÑ ÐºÐ¾Ð¿Ð¸Ñ Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ " -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "ХоÑÑÑ Ñ Ð´Ð²ÑÐ¼Ñ ÑÑеками" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "СÑок" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "ÐкÑпоÑÑ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "СемейÑÑво" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "ФикÑиÑованнÑй инÑеÑвал" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "ÐÑинÑдиÑелÑнÑй пеÑезапÑÑкâ¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "ÐÑновнÑе наÑÑÑойки" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "СоздаÑÑ ÑезеÑвнÑÑ ÐºÐ¾Ð¿Ð¸Ñ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "ХоÑÑ" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "ÐÐ¼Ñ Ñ Ð¾ÑÑа: <big id=\"bubble-hostname\">example.org</big>" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "IPv4 пÑоÑив IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "ÐнÑеÑвал" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." @@ -340,7 +364,7 @@ msgstr "" "ÐнÑеÑвал, ÑеÑез коÑоÑÑй вÑÐµÐ¼ÐµÐ½Ð½Ð°Ñ Ð±Ð°Ð·Ð° даннÑÑ Ð² опеÑаÑивной памÑÑи " "ÑÐ¾Ñ ÑанÑеÑÑÑ Ð² Ð¿Ð°Ð¿ÐºÑ Ð¿Ð¾ÑÑоÑнной Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ ." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." @@ -348,36 +372,36 @@ msgstr "" "ÐнÑеÑвал Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ ÑÑÑÑÑиков ÑÑаÑика ÑÑÑановленнÑÑ Ñоединений из инÑоÑмаÑии " "netlink." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "ÐевеÑнÑй или пÑÑÑой аÑÑ Ð¸Ð² ÑезеÑвной копии" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "Ðамп JSON" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "ÐÑодолжиÑелÑноÑÑÑ ÑÑÑÑного инÑеÑвала в днÑÑ ." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "ÐокалÑнÑе инÑеÑÑейÑÑ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "ÐокалÑнÑе подÑеÑи" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "ÐакÑималÑное колиÑеÑÑво запиÑей" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." @@ -385,45 +409,45 @@ msgstr "" "ÐакÑималÑное колиÑеÑÑво оÑÑÑÑнÑÑ Ð¿ÐµÑиодов Ð´Ð»Ñ Ñ ÑанениÑ. УÑÑановка знаÑÐµÐ½Ð¸Ñ " "«0» позволÑÐµÑ Ñ ÑаниÑÑ Ð²Ñе пеÑÐ¸Ð¾Ð´Ñ Ð¿Ð¾ÑÑоÑнно." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "Netlink мониÑоÑинг ÑÑаÑика" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "Netlink мониÑоÑинг ÑÑаÑика - РезеÑÐ²Ð½Ð°Ñ ÐºÐ¾Ð¿Ð¸Ñ / ÐоÑÑÑановление" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "Netlink мониÑоÑинг ÑÑаÑика - ÐаÑÑÑойка" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "ÐаннÑе еÑе не запиÑанÑ." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "ÐÑÑлеживаÑÑÑÑ ÑолÑко ÑÐ¾ÐµÐ´Ð¸Ð½ÐµÐ½Ð¸Ñ Ð¸Ð· или в лÑбÑÑ Ð¸Ð· ÑÑÐ¸Ñ ÑеÑей." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "ÐÑÑлеживаÑÑÑÑ ÑолÑко ÑÐ¾ÐµÐ´Ð¸Ð½ÐµÐ½Ð¸Ñ Ð¸Ð· или в лÑбÑÑ Ð¸Ð· ÑÑÐ¸Ñ Ð¿Ð¾Ð´ÑеÑей." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "ÐÑделиÑÑ Ð¿Ð°Ð¼ÑÑÑ Ð´Ð»Ñ Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ " -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "ÐÑоÑокол" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "СопоÑÑавление пÑоÑоколов" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " @@ -433,41 +457,45 @@ msgstr "" "ÑопоÑÑавление пÑоÑокола на ÑÑÑокÑ. ÐеÑвое знаÑение опÑеделÑÐµÑ Ð½Ð¾Ð¼ÐµÑ IP-" "пÑоÑокола, вÑоÑое знаÑение â Ð½Ð¾Ð¼ÐµÑ Ð¿Ð¾ÑÑа, ÑÑеÑÑе â Ð¸Ð¼Ñ Ð¿ÑоÑокола." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "ÐнÑеÑвал обновлениÑ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "ÐоÑÑÑановиÑÑ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "ÐоÑÑÑановление Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ Ð¸Ð· ÑезеÑвной копии" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "ÐÑбеÑиÑе оÑÑÑÑнÑй пеÑиод:" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "IP-адÑÐµÑ Ð¸ÑÑоÑника" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "ÐаÑа наÑала" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" "ÐаÑа наÑала пеÑвого оÑÑÑÑного пеÑиода, напÑимеÑ, даÑа заклÑÑÐµÐ½Ð¸Ñ Ð´Ð¾Ð³Ð¾Ð²Ð¾Ñа Ñ " "пÑовайдеÑом." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "Ð¡Ð¾Ñ ÑанÑннÑе пеÑиодÑ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." @@ -476,11 +504,11 @@ msgstr "" "ÑÑÑÑа ÑÑаÑика, позволÑÑÑÐ°Ñ Ð¾ÑÑлеживаÑÑ Ð¸ÑполÑзование полоÑÑ Ð¿ÑопÑÑÐºÐ°Ð½Ð¸Ñ " "канала Ð´Ð»Ñ ÐºÐ°Ð¶Ð´Ð¾Ð³Ð¾ Ñ Ð¾ÑÑа и/или пÑоÑокола." -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" -msgstr "ÐоÑÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ñ ÑледÑÑÑие ÑÐ°Ð¹Ð»Ñ Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ : %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" +msgstr "ÐоÑÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ñ ÑледÑÑÑие ÑÐ°Ð¹Ð»Ñ Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ :" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." @@ -488,51 +516,55 @@ msgstr "" "ÐакÑималÑное колиÑеÑÑво запиÑей, коÑоÑÑе Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¿Ð¾Ð¼ÐµÑено в Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ . " "ÐнаÑение «0» Ð¿Ð¾Ð·Ð²Ð¾Ð»Ð¸Ñ Ð±Ð°Ð·Ðµ даннÑÑ ÑаÑÑи беÑконеÑно." -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "ТÑаÑик / ХоÑÑ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "РаÑпÑеделение ÑÑаÑика" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "ÐагÑ. (байÑÑ)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "ÐагÑ. (пакеÑÑ)" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "ÐагÑÑзка" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "ÐагÑÑзка (байÑÑ)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "ÐагÑÑзка (пакеÑÑ)" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "ÐагÑÑзка / ÐÑиложение" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "ÐÑоизводиÑелÑ: <big id=\"bubble-vendor\">Example Corp.</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "Ðнимание" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " @@ -542,7 +574,7 @@ msgstr "" "Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ ÑÐ´ÐµÐ»Ð°ÐµÑ Ð´Ð¾ÑÑÑп к ÑÑаÑÑм даннÑм немного медленнее, но Ð¿Ð¾Ð¼Ð¾Ð¶ÐµÑ " "ÑнизиÑÑ ÑÑÐµÐ±Ð¾Ð²Ð°Ð½Ð¸Ñ Ðº Ñ ÑанилиÑÑ." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " @@ -553,20 +585,23 @@ msgstr "" "памÑÑи, коÑоÑÑе могÑÑ Ð±ÑÑÑ Ð½Ðµ в ÑоÑÑоÑнии вÑделиÑÑ Ð½ÐµÐ¾Ð±Ñ Ð¾Ð´Ð¸Ð¼Ñй обÑем памÑÑи " "поÑле долгой беÑпеÑебойной ÑабоÑÑ." -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "Ð½ÐµÑ ÑÑаÑика" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "дÑÑгие" +#~ msgid "Invalid or empty backup archive" +#~ msgstr "ÐевеÑнÑй или пÑÑÑой аÑÑ Ð¸Ð² ÑезеÑвной копии" + #~ msgid "Down. (Bytes / Pkts.)" #~ msgstr "ÐнÑÑÑ. (Bytes / Pkts.)" diff --git a/applications/luci-app-nlbwmon/po/sk/nlbwmon.po b/applications/luci-app-nlbwmon/po/sk/nlbwmon.po index 016dbc170..11f14c773 100644 --- a/applications/luci-app-nlbwmon/po/sk/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/sk/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Weblate 4.0-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "PokroÄilé nastavenia" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "Záloha" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Zbieram dáta..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "Konfigurácia" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "Pripojenia" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "VÅ¡eobecné nastavenia" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "Protokol" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "ObnoviÅ¥" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "OdovzdaÅ¥" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "Upozornenie" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/sv/nlbwmon.po b/applications/luci-app-nlbwmon/po/sv/nlbwmon.po index 20c5245da..99fcc4366 100644 --- a/applications/luci-app-nlbwmon/po/sv/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/sv/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "Avancerade inställningar" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "Säkerhetskopiera" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Samlar in data..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "Konfiguration" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "Anslutningar" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "Visa" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "Ladda ner" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "Generella inställningar" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "Värd" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "Protokoll" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "à terställ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "Varning" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/templates/nlbwmon.pot b/applications/luci-app-nlbwmon/po/templates/nlbwmon.pot index 39c1cf3a1..1150349e5 100644 --- a/applications/luci-app-nlbwmon/po/templates/nlbwmon.pot +++ b/applications/luci-app-nlbwmon/po/templates/nlbwmon.pot @@ -1,515 +1,547 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/tr/nlbwmon.po b/applications/luci-app-nlbwmon/po/tr/nlbwmon.po index ed965131f..1debc4c79 100644 --- a/applications/luci-app-nlbwmon/po/tr/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/tr/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Veri alınıyor..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/uk/nlbwmon.po b/applications/luci-app-nlbwmon/po/uk/nlbwmon.po index 832c454cb..5098dfb75 100644 --- a/applications/luci-app-nlbwmon/po/uk/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/uk/nlbwmon.po @@ -11,515 +11,547 @@ msgstr "" "4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "ÐодаÑÐºÐ¾Ð²Ñ Ð¿Ð°ÑамеÑÑи" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "РезеÑвне копÑÑваннÑ" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "ÐбиÑÐ°Ð½Ð½Ñ Ð´Ð°Ð½Ð¸Ñ ..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "ÐонÑÑгÑÑаÑÑÑ" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "ÐÑдклÑÑеннÑ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "ÐиÑекÑоÑÑÑ Ð±Ð°Ð·Ð¸ Ð´Ð°Ð½Ð¸Ñ " -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "ÐаванÑажиÑи" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "ÐагалÑÐ½Ñ Ð¿Ð°ÑамеÑÑи" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "ÐÑзол" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "ÐÑоÑокол" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "ÐÑдновленнÑ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "ÐÑдванÑажиÑи" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "ÐаÑÑеÑеженнÑ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/vi/nlbwmon.po b/applications/luci-app-nlbwmon/po/vi/nlbwmon.po index 8ebac1435..4a0ff65fd 100644 --- a/applications/luci-app-nlbwmon/po/vi/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/vi/nlbwmon.po @@ -10,515 +10,547 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 3.11-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " "accounting period exactly every N days, beginning at a given date." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "Äang lấy dữ liá»u..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " "24th of February." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "Giao thức" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " "number and the third column is the name of the mapped protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " "requirements." msgstr "" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " "satisfy memory allocation after longer uptime periods." msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "" diff --git a/applications/luci-app-nlbwmon/po/zh_Hans/nlbwmon.po b/applications/luci-app-nlbwmon/po/zh_Hans/nlbwmon.po index 944506afe..549602fff 100644 --- a/applications/luci-app-nlbwmon/po/zh_Hans/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/zh_Hans/nlbwmon.po @@ -13,147 +13,147 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 3.11\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d å°ä» IPv4 主æº" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d å°ä» IPv6 主æº" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "%d å°ååè®®æ 主æº" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s å %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%sï¼%s å %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1 - æ¯æçæåä¸å¤©éæ°å¼å§" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7 - æ¯æåºåä¸å¨éæ°å¼å§" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "1 - æ¯æç第ä¸å¤©éæ°å¼å§" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "10m - é¢ç¹æ交ï¼éªåæèçå¼éä¹å¢å¤§" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "12h - 平衡ç»è®¡æ°æ®ä¸¢å¤±çé£é©ä»¥åéªå使ç¨å¯¿å½" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "24h - 以æ°æ®ä¸¢å¤±é£é©ç代价æ¢åæå°çéªåæè" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "30s - æ¯åéå·æ°äºæ¬¡ä»¥è·å¾è¾åç¡®çå½åç»è®¡å¼" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "5m - è¾å°å·æ°ä»¥é¿å é¢ç¹æ¸ é¤è¿æ¥è·è¸ªè®¡æ°å¨" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "60s - æ¯åéæ交ï¼éç¨äºééªåç±»ååå¨" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "è¿æ¥ï¼<big id=\"conn-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "主æºï¼<big id=\"host-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "æ¯æ IPv6 ç主æºæ¯ä¾ï¼<big id=\"ipv6-hosts\">0%</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "IPv6 æ»ä¸è½½éï¼<big id=\"ipv6-rx\">0B</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "IPv6 æµéæ¯ä¾ï¼<big id=\"ipv6-share\">0%</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "IPv6 æ»ä¸ä¼ éï¼<big id=\"ipv6-tx\">0B</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "è¿æ¥æ°æå¤çåè®®ï¼<big id=\"layer7-most-conn\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "ä¸è½½éæ大çåè®®ï¼<big id=\"layer7-most-rx\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "ä¸ä¼ éæ大çåè®®ï¼<big id=\"layer7-most-tx\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "åºç¨å±å议计æ°ï¼<big id=\"layer7-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "ä¸è½½ï¼<big id=\"rx-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "ä¸ä¼ ï¼<big id=\"tx-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "ç»è®¡å¨æ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "é«çº§è®¾ç½®" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "åºç¨å±" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "åºç¨å±åè®®" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "å¤ä»½" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "带宽çæ§" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "CSVï¼æ IP åç»" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "CSVï¼æ MAC åç»" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "CSVï¼æåè®®åç»" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." @@ -161,7 +161,7 @@ msgstr "" "æ´æ¹ç»è®¡å¨æç±»åä¼ä½¿ç°ææ°æ®åºæ æï¼<br /><strong><a href=\"%s\">ä¸è½½å¤ä»½</" "a></strong>ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " @@ -170,52 +170,52 @@ msgstr "" "éæ©âæ¯æçæä¸å¤©âæ¥è®¾ç½®ç»è®¡å¨æçéå¯æ¶é´ï¼ä¾å¦ï¼æ¯ä¸ªæç第 3 天ãéæ©âåºå®" "å¨æâæ¥è®¾ç½®ä»ç»å®æ¥æå¼å§æ¯ N 天éå¯ç»è®¡å¨æã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "æ£å¨æ¶éæ°æ®â¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "æ交é´é" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "å缩æ°æ®åº" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "é ç½®" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "è¿æ¥" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "è¿æ¥" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "è¿æ¥ / 主æº" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "æ°æ®åºç®å½" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "æ°æ®åºåå¨ç®å½ãæ¯ä¸ªâç»è®¡å¨æâçæ件å°è¢«æ¾å°è¿ä¸ªç®å½ä¸ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "æ¯æçæä¸å¤©" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " @@ -224,188 +224,212 @@ msgstr "" "æ¯ä¸ªæéå¯ç»è®¡å¨æçæ¥æã使ç¨è´æ°è¡¨ç¤ºä»æåºå¼å§è®¡ç®ï¼ä¾å¦ï¼\"-5\" å¯ä»¥è¡¨ç¤º7" "æ27å·æè 2æ24å·ã" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "æ¾ç¤º" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "ä¸è½½éï¼åèï¼" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "ä¸è½½éï¼å ï¼" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "ä¸è½½" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "ä¸è½½éï¼åèï¼" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "ä¸è½½éï¼å ï¼" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "ä¸è½½ / åºç¨å±åè®®" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "ä¸è½½æ°æ®åºå¤ä»½" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "ååè®®æ 主æº" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "éç½®æ¥æ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "导åº" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "åè®®ç°" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "åºå®å¨æ" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "强å¶éæ°å è½½â¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "常è§è®¾ç½®" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "çæå¤ä»½" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "主æº" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "主æºåï¼<big id=\"bubble-hostname\">example.org</big>" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "IPv4" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "IPv4 ä¸ IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "å¨æ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "å°å åä¸ç临æ¶æ°æ®åºæ交å°æä¹ æ§æ°æ®åºç®å½çé´éæ¶é´ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "ä» netlink ä¿¡æ¯ä¸å·æ°â已建ç«è¿æ¥âçæµé计æ°å¨çé´éæ¶é´ã" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "å¤ä»½åæ¡£æ ææ为空" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "JSON è¾åº" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "ç»è®¡å¨æï¼å¤©ï¼ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "æ¬å°æ¥å£" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "æ¬å°åç½" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "æ大æ¡ç®" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "ä¿ççç»è®¡å¨ææ°æ®åºçæ大æ°éï¼è®¾ç½® 0 表示ä¸éå¶ã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "ç½ç»å¸¦å®½çè§å¨" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "ç½ç»å¸¦å®½çè§å¨ - å¤ä»½ / æ¢å¤" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "ç½ç»å¸¦å®½çè§å¨ - é ç½®" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "ææ æ°æ®è®°å½ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "ä» ç»è®¡æ¥èªæç®æ 为è¿äºç½ç»æ¥å£çè¿æ¥æµéã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "ä» ç»è®¡æ¥èªæç®æ 为è¿äºåç½çè¿æ¥æµéã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "é¢åé æ°æ®åº" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "åè®®" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "åè®®æ å°" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " @@ -414,39 +438,43 @@ msgstr "" "åè®®æ å°ç¨äºåºåæµéç±»åï¼æ¯è¡ä¸æ¡ã第ä¸ä¸ªå¼æå® IP å议类åï¼ç¬¬äºä¸ªå¼æ¯ç«¯å£" "å·ï¼ç¬¬ä¸ä¸ªå¼æ¯æ å°çåè®®å称ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "å·æ°é´é" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "æ¢å¤" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "æ¢å¤æ°æ®åºå¤ä»½" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "éæ©ç»è®¡å¨æï¼" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "æº IP" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "èµ·å§æ¥æ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "第ä¸ä¸ªç»è®¡å¨æçèµ·å§æ¥æï¼ä¾å¦ï¼ISP å约çèµ·å§æ¥æã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "å¨åå¨æ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." @@ -454,61 +482,65 @@ msgstr "" "ç½ç»å¸¦å®½çè§å¨ï¼nlbwmonï¼æ¯ä¸ä¸ªè½»éãé«æçæµéç»è®¡ç¨åºï¼å¯ä»¥ç»è®¡æ¯ä¸ªä¸»æºåå" "è®®ç带宽使ç¨æ åµã" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" -msgstr "以ä¸æ°æ®åºæ件已æ¢å¤ï¼%s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" +msgstr "以ä¸æ°æ®åºæ件已æ¢å¤ï¼" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "æ°æ®åºä¸çæ大æ¡ç®æ°é, 设置为 0 å°å 许æ°æ®åºæ éå¢é¿ã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "æµé / 主æº" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "æµéåå¸" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "ä¸ä¼ éï¼åèï¼" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "ä¸ä¼ éï¼å ï¼" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "ä¸ä¼ " -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "ä¸ä¼ éï¼åèï¼" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "ä¸ä¼ éï¼å ï¼" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "ä¸ä¼ / åºç¨å±åè®®" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "ä¾åºåï¼<big id=\"bubble-vendor\">Example Corp.</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "è¦å" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " @@ -517,7 +549,7 @@ msgstr "" "æ¯å¦ä½¿ç¨ gzip å缩æ°æ®åºåæ¡£ãå缩æ°æ®åºæ件ä¼ä½¿è®¿é®æ§æ°æ®ç¨å¾®æ ¢ä¸äºï¼ä½æå©" "äºåå°åå¨å ç¨ç©ºé´ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " @@ -526,20 +558,23 @@ msgstr "" "æ¯å¦é¢å åé æ°æ®åºæ大å¯è½å ç¨çå å大å°ãè¿ä¸»è¦éç¨äºå åè¾å°ç³»ç»ï¼è¿äºç³»ç»" "å¨é¿æ¶é´è¿è¡ä¹åå¯è½æ æ³æ»¡è¶³æ°æ®åºçå åéæ±ã" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "æ æµéæ°æ®" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "å ¶ä»" +#~ msgid "Invalid or empty backup archive" +#~ msgstr "å¤ä»½åæ¡£æ ææ为空" + #~ msgid "Down. (Bytes / Pkts.)" #~ msgstr "ä¸è½½ï¼åè / æ°æ®å ï¼" diff --git a/applications/luci-app-nlbwmon/po/zh_Hant/nlbwmon.po b/applications/luci-app-nlbwmon/po/zh_Hant/nlbwmon.po index 8d1005b4a..e3d098d67 100644 --- a/applications/luci-app-nlbwmon/po/zh_Hant/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/zh_Hant/nlbwmon.po @@ -13,147 +13,147 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.0-dev\n" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:661 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:550 msgid "%d IPv4-only hosts" msgstr "%d èºå IPv4 主æ©" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:668 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:557 msgid "%d IPv6-only hosts" msgstr "%d èºå IPv6 主æ©" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:675 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:564 msgid "%d dual-stack hosts" msgstr "%d èºéåè°æ£§ä¸»æ©" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:71 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:114 msgid "%s and %s" msgstr "%s å %s" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:112 msgid "%s, %s and %s" msgstr "%sï¼%s å %s" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:68 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:93 msgid "-1 - Restart every last day of month" msgstr "-1 - æ¯æçæå¾ä¸å¤©éæ°éå§" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:69 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:94 msgid "-7 - Restart a week before end of month" msgstr "-7 - æ¯æåºåä¸é±éæ°éå§" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:67 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:92 msgid "1 - Restart every 1st of month" msgstr "1 - æ¯æç第ä¸å¤©éæ°éå§" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:183 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:158 msgid "10m - frequent commits at the expense of flash wear" msgstr "10m - é »ç¹æ交ï¼å¿«éè¨æ¶é«æèçéé·ä¹å¢å¤§" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:182 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:157 msgid "12h - compromise between risk of data loss and flash wear" msgstr "12h - 平衡統è¨è³æä¸å¤±ç風éªä»¥åå¿«éè¨æ¶é«ä½¿ç¨å£½å½" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:181 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:156 msgid "24h - least flash wear at the expense of data loss risk" msgstr "24h - 以è³æä¸å¤±é¢¨éªç代å¹æåæå°çå¿«éè¨æ¶é«æè" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:191 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:163 msgid "30s - refresh twice per minute for reasonably current stats" msgstr "30s - æ¯åééæ°æ´çäºæ¬¡ä»¥ç²å¾è¼æºç¢ºçç¶åçµ±è¨å¼" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:192 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:164 msgid "5m - rarely refresh to avoid frequently clearing conntrack counters" msgstr "5m - è¼å°éæ°æ´ç以é¿å é »ç¹æ¸ é¤é£ç·è·è¹¤è¨æ¸å¨" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:184 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:159 msgid "60s - commit minutely, useful for non-flash storage" msgstr "60s - æ¯åéæ交ï¼é©ç¨æ¼éå¿«éè¨æ¶é«åå¥å²å" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:40 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:839 msgid "<big id=\"conn-total\">0</big> connections" msgstr "é£ç·ï¼<big id=\"conn-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:37 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:836 msgid "<big id=\"host-total\">0</big> hosts" msgstr "主æ©ï¼<big id=\"host-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:114 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:915 msgid "<big id=\"ipv6-hosts\">0%</big> IPv6 support rate among hosts" msgstr "æ¯æ´ IPv6 ç主æ©æ¯ä¾ï¼<big id=\"ipv6-hosts\">0%</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:116 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:917 msgid "<big id=\"ipv6-rx\">0B</big> total IPv6 download" msgstr "IPv6 總ä¸è¼éï¼<big id=\"ipv6-rx\">0B</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:115 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:916 msgid "<big id=\"ipv6-share\">0%</big> of the total traffic is IPv6" msgstr "IPv6 æµéæ¯ä¾ï¼<big id=\"ipv6-share\">0%</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:117 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:918 msgid "<big id=\"ipv6-tx\">0B</big> total IPv6 upload" msgstr "IPv6 總ä¸å³éï¼<big id=\"ipv6-tx\">0B</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:79 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:879 msgid "<big id=\"layer7-most-conn\">0</big> cause the most connections" msgstr "é£ç·æ¸æå¤çåè°ï¼<big id=\"layer7-most-conn\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:77 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:877 msgid "<big id=\"layer7-most-rx\">0</big> cause the most download" msgstr "ä¸è¼éæ大çåè°ï¼<big id=\"layer7-most-rx\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:78 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:878 msgid "<big id=\"layer7-most-tx\">0</big> cause the most upload" msgstr "ä¸å³éæ大çåè°ï¼<big id=\"layer7-most-tx\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:76 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:876 msgid "<big id=\"layer7-total\">0</big> different application protocols" msgstr "æç¨å±¤åè°è¨æ¸ï¼<big id=\"layer7-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:38 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:837 msgid "<big id=\"rx-total\">0</big> download" msgstr "ä¸è¼ï¼<big id=\"rx-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:39 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:838 msgid "<big id=\"tx-total\">0</big> upload" msgstr "ä¸å³ï¼<big id=\"tx-total\">0</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:63 msgid "Accounting period" msgstr "çµ±è¨é±æ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:21 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:60 msgid "Advanced Settings" msgstr "é²éè¨å®" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:85 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:886 msgid "Application" msgstr "æç¨å±¤" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:862 msgid "Application Protocols" msgstr "æç¨å±¤åè°" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:10 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:33 msgid "Backup" msgstr "å份" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:7 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:3 msgid "Bandwidth Monitor" msgstr "é »å¯¬ç£æ§" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:142 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:953 msgid "CSV, grouped by IP" msgstr "CSVï¼æ IP åçµ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:141 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:947 msgid "CSV, grouped by MAC" msgstr "CSVï¼æ MAC åçµ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:143 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:959 msgid "CSV, grouped by protocol" msgstr "CSVï¼æåè°åçµ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:52 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:76 msgid "" "Changing the accounting interval type will invalidate existing databases!" "<br /><strong><a href=\"%s\">Download backup</a></strong>." @@ -161,7 +161,7 @@ msgstr "" "æ´æ¹çµ±è¨é±æåå¥æ使ç¾æè³æ庫ç¡æï¼<br /><strong><a href=\"%s\">ä¸è¼å份</" "a></strong>ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:64 msgid "" "Choose \"Day of month\" to restart the accounting period monthly on a " "specific date, e.g. every 3rd. Choose \"Fixed interval\" to restart the " @@ -170,52 +170,52 @@ msgstr "" "é¸æâæ¯æçæä¸å¤©âä¾è¨å®çµ±è¨é±æçéåæéï¼ä¾å¦ï¼æ¯åæç第 3 天ãé¸æâåºå®" "é±æâä¾è¨å®å¾çµ¦å®æ¥æéå§æ¯ N 天éåçµ±è¨é±æã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:56 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:94 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:133 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:856 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:895 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:935 msgid "Collecting data..." msgstr "æ¶éè³æä¸..." -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:177 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:154 msgid "Commit interval" msgstr "æ交éé" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:164 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:148 msgid "Compress database" msgstr "å£ç¸®è³æ庫" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:9 +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:24 msgid "Configuration" msgstr "é ç½®" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:302 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:615 msgid "Conn." msgstr "é£ç·" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:48 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:86 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:848 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:887 msgid "Connections" msgstr "é£ç·æ¸" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:31 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:830 msgid "Connections / Host" msgstr "é£ç· / 主æ©" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:195 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:166 msgid "Database directory" msgstr "è³æ庫ç®é" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:196 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:167 msgid "" "Database storage directory. One file per accounting period will be placed " "into this directory." msgstr "è³æ庫å²åç®éãæ¯åâçµ±è¨é±æâçæªæ¡å°è¢«æ¾å°éåç®éä¸ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:72 msgid "Day of month" msgstr "æ¯æçæä¸å¤©" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:63 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:84 msgid "" "Day of month to restart the accounting period. Use negative values to count " "towards the end of month, e.g. \"-5\" to specify the 27th of July or the " @@ -224,188 +224,212 @@ msgstr "" "æ¯åæéåçµ±è¨é±æçæ¥æã使ç¨è² æ¸è¡¨ç¤ºå¾æåºéå§è¨ç®ï¼ä¾å¦ï¼\"-5\" å¯ä»¥è¡¨ç¤º7" "æ27èæè 2æ24èã" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:8 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:24 +msgid "Dismiss" +msgstr "" + +#: applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json:15 msgid "Display" msgstr "顯示" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:303 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:616 msgid "Down. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:304 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:617 msgid "Down. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:285 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:598 msgid "Download" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:49 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:87 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:126 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:849 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:888 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:928 msgid "Download (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:50 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:88 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:127 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:850 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:889 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:929 msgid "Download (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:65 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:865 msgid "Download / Application" msgstr "ä¸è¼ / æç¨å±¤åè°" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:25 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:58 msgid "Download Database Backup" msgstr "ä¸è¼è³æ庫å份" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:108 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:909 msgid "Dualstack enabled hosts" msgstr "éåè°æ£§ä¸»æ©" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:62 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:83 msgid "Due date" msgstr "éç½®æ¥æ" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:139 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:941 msgid "Export" msgstr "å¯åº" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:125 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:791 +msgid "Failed to commit database: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:45 +msgid "Failed to download backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:780 +msgid "Failed to download traffic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:28 +msgid "Failed to restore backup archive: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:927 msgid "Family" msgstr "åè°ç°" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:29 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:73 msgid "Fixed interval" msgstr "åºå®é±æ" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:476 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:534 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:639 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:367 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:424 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:528 msgid "Force reloadâ¦" msgstr "å¼·å¶éæ°è¼å ¥â¦" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:20 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:59 msgid "General Settings" msgstr "åºæ¬è¨å®" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:28 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:62 msgid "Generate Backup" msgstr "çæå份" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:46 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:123 +#: applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json:3 +msgid "Grant UCI access for luci-app-nlbwmon" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:846 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:925 msgid "Host" msgstr "主æ©" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:294 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:607 msgid "Hostname: <big id=\"bubble-hostname\">example.org</big>" msgstr "主æ©åï¼<big id=\"bubble-hostname\">example.org</big>" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:624 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:513 msgid "IPv4" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:103 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:904 msgid "IPv4 vs. IPv6" msgstr "IPv4 è IPv6" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:625 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:100 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:514 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:901 msgid "IPv6" msgstr "IPv6" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:95 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:108 msgid "Interval" msgstr "é±æ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:178 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:155 msgid "" "Interval at which the temporary in-memory database is committed to the " "persistent database directory." msgstr "å°è¨æ¶é«ä¸çè¨æè³æ庫æ交å°æ°¸çºæ§è³æ庫ç®éçééæéã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:188 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:162 msgid "" "Interval at which traffic counters of still established connections are " "refreshed from netlink information." msgstr "å¾ netlink è³è¨ä¸éæ°æ´çâ已建ç«é£ç·âçæµéè¨æ¸å¨çééæéã" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:197 -msgid "Invalid or empty backup archive" -msgstr "å份åæªç¡ææçºç©º" - -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:144 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:965 msgid "JSON dump" msgstr "JSON 輸åº" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:96 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:109 msgid "Length of accounting interval in days." msgstr "çµ±è¨é±æï¼å¤©ï¼ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:110 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:120 msgid "Local interfaces" msgstr "æ¬å°ä»é¢" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:134 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:129 msgid "Local subnets" msgstr "æ¬å°å網" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:47 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:124 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:847 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:926 msgid "MAC" msgstr "MAC" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:152 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:76 +msgid "Malformed data received" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:141 msgid "Maximum entries" msgstr "æ大æ¢ç®" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:171 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:152 msgid "" "Maximum number of accounting periods to keep, use zero to keep databases " "forever." msgstr "ä¿çççµ±è¨é±ææ¸æ庫çæ大æ¸éï¼è¨å® 0 表示ä¸éå¶ã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:818 msgid "Netlink Bandwidth Monitor" msgstr "ç¶²è·¯é »å¯¬ç£è¦å¨" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:9 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:51 msgid "Netlink Bandwidth Monitor - Backup / Restore" msgstr "ç¶²è·¯é »å¯¬ç£è¦å¨ - å份 / æ¢å¾©" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:52 msgid "Netlink Bandwidth Monitor - Configuration" msgstr "ç¶²è·¯é »å¯¬ç£è¦å¨ - é ç½®" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:475 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:533 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:638 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:363 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:423 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:527 msgid "No data recorded yet." msgstr "æ«ç¡è³æè¨éã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:111 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:121 msgid "Only conntrack streams from or to any of these networks are counted." msgstr "å çµ±è¨ä¾èªæç®æ¨çºéäºç¶²è·¯ä»é¢çé£ç·æµéã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:135 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:130 msgid "Only conntrack streams from or to any of these subnets are counted." msgstr "å çµ±è¨ä¾èªæç®æ¨çºéäºå網çé£ç·æµéã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:158 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:144 msgid "Preallocate database" msgstr "é åé è³æ庫" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:451 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:339 msgid "Protocol" msgstr "åè°" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:22 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "Protocol Mapping" msgstr "åè°å°æ " -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:61 msgid "" "Protocol mappings to distinguish traffic types per host, one mapping per " "line. The first value specifies the IP protocol, the second value the port " @@ -414,39 +438,43 @@ msgstr "" "åè°å°æ ç¨æ¼ååæµéåå¥ï¼æ¯è¡ä¸æ¢ã第ä¸åå¼æå® IP åè°åå¥ï¼ç¬¬äºåå¼æ¯å " "èï¼ç¬¬ä¸åå¼æ¯å°æ çåè°å稱ã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:187 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:161 msgid "Refresh interval" msgstr "éæ°æ´çéé" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:17 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:56 msgid "Restore" msgstr "æ¢å¾©" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/backup.htm:12 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:52 msgid "Restore Database Backup" msgstr "æ¢å¾©è³æ庫å份" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:16 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:20 +msgid "Restore complete" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:285 msgid "Select accounting period:" msgstr "é¸æçµ±è¨é±æï¼" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:446 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:334 msgid "Source IP" msgstr "æº IP" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:80 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:96 msgid "Start date" msgstr "èµ·å§æ¥æ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:81 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:97 msgid "Start date of the first accounting period, e.g. begin of ISP contract." msgstr "第ä¸åçµ±è¨é±æçèµ·å§æ¥æï¼ä¾å¦ï¼ISP åç´çèµ·å§æ¥æã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:170 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:151 msgid "Stored periods" msgstr "å²åé±æ" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:13 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:53 msgid "" "The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic " "accounting program keeping track of bandwidth usage per host and protocol." @@ -454,61 +482,65 @@ msgstr "" "ç¶²è·¯é »å¯¬ç£è¦å¨ï¼nlbwmonï¼æ¯ä¸åè¼éãé«æçæµéçµ±è¨ç¨å¼ï¼å¯ä»¥çµ±è¨æ¯å主æ©åå" "è°çé »å¯¬ä½¿ç¨æ æ³ã" -#: applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua:216 -msgid "The following database files have been restored: %s" -msgstr "以ä¸è³æ庫æªæ¡å·²æ¢å¾©ï¼%s" +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/backup.js:21 +msgid "The following database files have been restored:" +msgstr "以ä¸è³æ庫æªæ¡å·²æ¢å¾©ï¼" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:153 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:142 msgid "" "The maximum amount of entries that should be put into the database, setting " "the limit to 0 will allow databases to grow indefinitely." msgstr "è³æ庫ä¸çæ大æ¢ç®æ¸é, è¨å®çº 0 å°å 許è³æ庫ç¡éå¢é·ã" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:26 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:825 msgid "Traffic / Host" msgstr "æµé / 主æ©" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:23 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:822 msgid "Traffic Distribution" msgstr "æµéåä½" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:305 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:92 +msgid "Unable to fetch traffic statistic data: %s" +msgstr "" + +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:618 msgid "Up. (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:306 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:619 msgid "Up. (Pkts.)" msgstr "" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:289 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:602 msgid "Upload" msgstr "ä¸å³" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:51 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:89 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:128 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:851 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:890 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:930 msgid "Upload (Bytes)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:52 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:90 -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:129 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:852 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:891 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:931 msgid "Upload (Packets)" msgstr "" -#: applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm:70 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:870 msgid "Upload / Application" msgstr "ä¸å³ / æç¨å±¤åè°" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:295 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:608 msgid "Vendor: <big id=\"bubble-vendor\">Example Corp.</big>" msgstr "ä¾æåï¼<big id=\"bubble-vendor\">Example Corp.</big>" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:51 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:75 msgid "Warning" msgstr "è¦å" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:165 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:149 msgid "" "Whether to gzip compress archive databases. Compressing the database files " "makes accessing old data slightly slower but helps to reduce storage " @@ -517,7 +549,7 @@ msgstr "" "æ¯å¦ä½¿ç¨ gzip å£ç¸®è³æ庫åæªãå£ç¸®è³æ庫æªæ¡æ使訪åèè³æç¨å¾®æ ¢ä¸äºï¼ä½æå©" "æ¼æ¸å°å²åä½ç¨ç©ºéã" -#: applications/luci-app-nlbwmon/luasrc/model/cbi/nlbw/config.lua:159 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js:145 msgid "" "Whether to preallocate the maximum possible database size in memory. This is " "mainly useful for memory constrained systems which might not be able to " @@ -526,20 +558,23 @@ msgstr "" "æ¯å¦é å åé è³æ庫æ大å¯è½ä½ç¨çè¨æ¶é«å¤§å°ãé主è¦é©ç¨æ¼è¨æ¶é«è¼å°ç³»çµ±ï¼éäº" "系統å¨é·æéå·è¡ä¹å¾å¯è½ç¡æ³æ»¿è¶³è³æ庫çè¨æ¶é«éæ±ã" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:88 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:130 msgid "no traffic" msgstr "ç¡æµéè³æ" -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:315 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:327 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:332 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:447 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:504 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:517 -#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw.js:522 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:335 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:394 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:407 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:412 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:628 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:640 +#: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:645 msgid "other" msgstr "å ¶ä»" +#~ msgid "Invalid or empty backup archive" +#~ msgstr "å份åæªç¡ææçºç©º" + #~ msgid "Down. (Bytes / Pkts.)" #~ msgstr "ä¸è¼ï¼ä½å çµ / è³æå ï¼" diff --git a/applications/luci-app-nlbwmon/root/usr/libexec/nlbwmon-action b/applications/luci-app-nlbwmon/root/usr/libexec/nlbwmon-action new file mode 100755 index 000000000..89e51776e --- /dev/null +++ b/applications/luci-app-nlbwmon/root/usr/libexec/nlbwmon-action @@ -0,0 +1,117 @@ +#!/bin/sh + +case "$1" in + + backup) + dbdir=$(uci -q get nlbwmon.@nlbwmon[0].database_directory) + + if [ ! -d "${dbdir:-/var/lib/nlbwmon}" ]; then + echo "Unable to locate database directory" >&2 + exit 1 + fi + + exec /bin/tar -C "${dbdir:-/var/lib/nlbwmon}" -c -z . -f - + ;; + + commit) + exec /usr/sbin/nlbw -c commit + ;; + + download) + shift + + type=json + delim=, + period= + group_by= + order_by= + + while [ -n "$1" ]; do + case "$1" in + -f) + case "$2" in + csv|json) type=$2 ;; + *) echo "Invalid data format" >&2; exit 1 ;; + esac + shift + ;; + -s) + case "$2" in + ?) delim=$2 ;; + *) echo "Invalid delimitter" >&2; exit 1 ;; + esac + shift + ;; + -t) + case "$2" in + [0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]) period=$2 ;; + *) echo "Invalid period" >&2; exit 1 ;; + esac + shift + ;; + -g|-o) + case "$1:$2" in + -g:?*) group_by=$2 ;; + -o:?*) order_by=$2 ;; + *) echo "Argument required for $1" >&2; exit 1 ;; + esac + shift + ;; + *) + echo "Unknown option $1" >&2 + exit 1 + ;; + esac + shift + done + + exec /usr/sbin/nlbw -c $type -s$delim \ + ${period:+-t $period} \ + ${group_by:+-g "$group_by"} \ + ${order_by:+-o "$order_by"} + ;; + + periods) + for date in $(/usr/sbin/nlbw -c list); do + case "$date" in + [0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]) + res="${res:+$res, }\"$date\"" + ;; + esac + done + + printf '{ "periods": [ %s ] }' "$res" + ;; + + restore) + if [ ! -f /tmp/nlbw-restore.tar.gz ]; then + echo "Unable to locate archive to restore" >&2 + exit 1 + fi + + dbdir=$(uci -q get nlbwmon.@nlbwmon[0].database_directory) + files=$(/bin/tar -tzf /tmp/nlbw-restore.tar.gz | grep -E '^(\./)?[0-9]{8}\.db(\.gz)?$' | tr '\n' ' ') + + if [ -z "$files" ]; then + echo "Invalid or empty backup archive" >&2 + exit 1 + fi + + /etc/init.d/nlbwmon stop + /bin/mkdir -p "${dbdir:-/var/lib/nlbwmon}" + + for file in $(/bin/tar -C "${dbdir:-/var/lib/nlbwmon}" -vxzf /tmp/nlbw-restore.tar.gz $files); do + res="${res:+$res, }\"${file#./}\"" + done + + /bin/rm -f /tmp/nlbw-restore.tar.gz + /etc/init.d/nlbwmon start + + printf '{ "restored": [ %s ] }' "$res" + ;; + + *) + echo "Usage: $0 {commit|download|periods|restore}" >&2 + exit 1 + ;; +esac diff --git a/applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json b/applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json new file mode 100644 index 000000000..5b597c632 --- /dev/null +++ b/applications/luci-app-nlbwmon/root/usr/share/luci/menu.d/luci-app-nlbwmon.json @@ -0,0 +1,40 @@ +{ + "admin/nlbw": { + "title": "Bandwidth Monitor", + "order": 80, + "action": { + "type": "firstchild" + }, + "depends": { + "acl": [ "luci-app-nlbwmon" ], + "uci": { "nlbwmon": true } + } + }, + + "admin/nlbw/display": { + "title": "Display", + "order": 1, + "action": { + "type": "view", + "path": "nlbw/display" + } + }, + + "admin/nlbw/config": { + "title": "Configuration", + "order": 2, + "action": { + "type": "view", + "path": "nlbw/config" + } + }, + + "admin/nlbw/backup": { + "title": "Backup", + "order": 3, + "action": { + "type": "view", + "path": "nlbw/backup" + } + } +} diff --git a/applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json b/applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json index 0ccc5b1c3..20f05eef0 100644 --- a/applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json +++ b/applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json @@ -2,9 +2,31 @@ "luci-app-nlbwmon": { "description": "Grant UCI access for luci-app-nlbwmon", "read": { + "cgi-io": [ "exec" ], + "file": { + "/proc/sys/kernel/hostname": [ "read" ], + "/usr/libexec/nlbwmon-action backup": [ "exec" ], + "/usr/libexec/nlbwmon-action download *": [ "exec" ], + "/usr/libexec/nlbwmon-action periods": [ "exec" ], + "/usr/share/nlbwmon/protocols": [ "read" ] + }, + "ubus": { + "file": [ "read" ], + "luci-rpc": [ "getHostHints" ], + "network.rrdns": [ "lookup" ] + }, "uci": [ "nlbwmon" ] }, "write": { + "file": { + "/tmp/nlbw-restore.tar.gz": [ "write" ], + "/usr/libexec/nlbwmon-action commit": [ "exec" ], + "/usr/libexec/nlbwmon-action restore": [ "exec" ], + "/usr/share/nlbwmon/protocols": [ "write" ] + }, + "ubus": { + "file": [ "write" ] + }, "uci": [ "nlbwmon" ] } }