diff options
Diffstat (limited to 'applications/luci-app-travelmate')
9 files changed, 192 insertions, 191 deletions
diff --git a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js index ef1ba96e6e..5bc5bf4951 100644 --- a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js +++ b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js @@ -94,7 +94,7 @@ function handleSectionsAdd(iface) { uci.set('travelmate', sid, 'con_start_expiry', '0'); uci.set('travelmate', sid, 'con_end_expiry', '0'); if (vpn_stdservice && vpn_stdiface) { - uci.set('travelmate', sid, 'vpn', '1'); + uci.set('travelmate', sid, 'vpn', '1'); uci.set('travelmate', sid, 'vpnservice', vpn_stdservice); uci.set('travelmate', sid, 'vpniface', vpn_stdiface); } @@ -145,7 +145,7 @@ function handleStatus() { poll.add(function () { L.resolveDefault(fs.stat('/var/state/travelmate.refresh'), null).then(function (res) { if (res) { - L.resolveDefault(fs.read_direct('/var/state/travelmate.refresh'), null).then(async function (res) { + L.resolveDefault(fs.read('/var/state/travelmate.refresh'), null).then(async function (res) { fs.remove('/var/state/travelmate.refresh'); if (res && res === 'ui_reload') { location.reload(); @@ -172,7 +172,7 @@ function handleStatus() { }); return L.resolveDefault(fs.stat('/tmp/trm_runtime.json'), null).then(function (res) { if (res) { - L.resolveDefault(fs.read_direct('/tmp/trm_runtime.json'), null).then(function (res) { + L.resolveDefault(fs.read('/tmp/trm_runtime.json'), null).then(function (res) { if (res) { var info = JSON.parse(res); if (info) { @@ -229,7 +229,7 @@ function handleStatus() { return view.extend({ load: function () { return Promise.all([ - L.resolveDefault(fs.exec_direct('/etc/init.d/travelmate', ['assoc']), {}), + L.resolveDefault(fs.exec('/etc/init.d/travelmate', ['assoc']), null), uci.load('wireless'), uci.load('travelmate') ]); @@ -488,8 +488,8 @@ return view.extend({ modal travelmate tab */ var mac, mac_array = []; - if (result[0]) { - mac_array = result[0].trim().split('\n'); + if (result[0] && result[0].code === 0) { + mac_array = result[0].stdout.trim().split('\n'); } o = s.taboption('travelmate', form.Value, '_ssid', _('SSID')); @@ -748,6 +748,7 @@ return view.extend({ modal 'scan' dialog */ s.handleScan = function (radio) { + poll.stop(); var table = E('table', { 'class': 'table' }, [ E('tr', { 'class': 'tr table-titles' }, [ E('th', { 'class': 'th col-1 middle left' }, _('Strength')), @@ -778,107 +779,106 @@ return view.extend({ md.style.maxWidth = '90%'; md.style.maxHeight = 'none'; - return L.resolveDefault(fs.exec_direct('/etc/init.d/travelmate', ['scan', radio]), null) - .then(L.bind(function (res) { - var lines, strength, channel, encryption, tbl_encryption, bssid, ssid, tbl_ssid, rows = []; - if (res) { - lines = res.trim().split('\n'); - for (var i = 0; i < lines.length; i++) { - if (lines[i].match(/^\s+[0-9]/)) { - encryption = lines[i].slice(80).trim(); - if (!encryption.includes('WEP')) { - strength = lines[i].slice(4, 7).trim(); - channel = lines[i].slice(15, 18).trim(); - bssid = lines[i].slice(60, 77).trim(); - ssid = lines[i].slice(25, 59).trim(); - if (ssid.startsWith('"')) { - ssid = ssid.slice(1, ssid.length - 1); - tbl_ssid = ssid; - } - else { - ssid = "hidden"; - tbl_ssid = "<em>hidden</em>"; - } - switch (encryption) { - case 'WPA3 PSK (SAE)': - encryption = 'sae'; - tbl_encryption = 'WPA3 Pers. (SAE)'; - break; - case 'mixed WPA2/WPA3 PSK/SAE (CCMP)': - encryption = 'sae-mixed'; - tbl_encryption = 'WPA2/WPA3 Pers. (CCMP)'; - break; - case 'WPA2 PSK (CCMP)': - encryption = 'psk2+ccmp'; - tbl_encryption = 'WPA2 Pers. (CCMP)'; - break; - case 'WPA2 PSK (TKIP)': - encryption = 'psk2+tkip'; - tbl_encryption = 'WPA2 Pers. (TKIP)'; - break; - case 'mixed WPA/WPA2 PSK (TKIP, CCMP)': - encryption = 'psk-mixed+ccmp'; - tbl_encryption = 'WPA/WPA2 Pers. (CCMP)'; - break; - case 'WPA PSK (CCMP)': - encryption = 'psk2+ccmp'; - tbl_encryption = 'WPA Pers. (CCMP)'; - break; - case 'WPA PSK (TKIP)': - encryption = 'psk2+tkip'; - tbl_encryption = 'WPA Pers. (TKIP)'; - break; - case 'WPA3 802.1X (CCMP)': - encryption = 'wpa3'; - tbl_encryption = 'WPA3 Ent. (CCMP)'; - break; - case 'mixed WPA2/WPA3 802.1X (CCMP)': - encryption = 'wpa3-mixed'; - tbl_encryption = 'WPA2/WPA3 Ent. (CCMP)'; - break; - case 'WPA2 802.1X': - encryption = 'wpa2'; - tbl_encryption = 'WPA2 Ent.'; - break; - case 'WPA2 802.1X (CCMP)': - encryption = 'wpa2+ccmp'; - tbl_encryption = 'WPA2 Ent. (CCMP)'; - break; - case 'WPA3 OWE (CCMP)': - encryption = 'owe'; - tbl_encryption = 'WPA3 OWE (CCMP)'; - break; - case 'none': - encryption = 'none'; - tbl_encryption = 'none'; - break; + return L.resolveDefault(fs.exec('/etc/init.d/travelmate', ['scan', radio]), null) + .then(L.bind(function () { + return L.resolveDefault(fs.read('/var/run/travelmate.scan'), '') + .then(L.bind(function (res) { + var lines, strength, channel, encryption, tbl_encryption, bssid, ssid, tbl_ssid, rows = []; + if (res) { + lines = res.split('\n'); + for (var i = 0; i < lines.length; i++) { + if (lines[i].match(/^\s+[0-9]/)) { + encryption = lines[i].slice(80).trim(); + if (!encryption.includes('WEP')) { + strength = lines[i].slice(4, 7).trim(); + channel = lines[i].slice(15, 18).trim(); + bssid = lines[i].slice(60, 77).trim(); + ssid = lines[i].slice(25, 59).trim(); + if (ssid.startsWith('"')) { + ssid = ssid.slice(1, ssid.length - 1); + tbl_ssid = ssid; + } + else { + ssid = "hidden"; + tbl_ssid = "<em>hidden</em>"; + } + switch (encryption) { + case 'WPA3 PSK (SAE)': + encryption = 'sae'; + tbl_encryption = 'WPA3 Pers. (SAE)'; + break; + case 'mixed WPA2/WPA3 PSK/SAE (CCMP)': + encryption = 'sae-mixed'; + tbl_encryption = 'WPA2/WPA3 Pers. (CCMP)'; + break; + case 'WPA2 PSK (CCMP)': + encryption = 'psk2+ccmp'; + tbl_encryption = 'WPA2 Pers. (CCMP)'; + break; + case 'WPA2 PSK (TKIP)': + encryption = 'psk2+tkip'; + tbl_encryption = 'WPA2 Pers. (TKIP)'; + break; + case 'mixed WPA/WPA2 PSK (TKIP, CCMP)': + encryption = 'psk-mixed+ccmp'; + tbl_encryption = 'WPA/WPA2 Pers. (CCMP)'; + break; + case 'WPA PSK (CCMP)': + encryption = 'psk2+ccmp'; + tbl_encryption = 'WPA Pers. (CCMP)'; + break; + case 'WPA PSK (TKIP)': + encryption = 'psk2+tkip'; + tbl_encryption = 'WPA Pers. (TKIP)'; + break; + case 'WPA3 802.1X (CCMP)': + encryption = 'wpa3'; + tbl_encryption = 'WPA3 Ent. (CCMP)'; + break; + case 'mixed WPA2/WPA3 802.1X (CCMP)': + encryption = 'wpa3-mixed'; + tbl_encryption = 'WPA2/WPA3 Ent. (CCMP)'; + break; + case 'WPA2 802.1X': + encryption = 'wpa2'; + tbl_encryption = 'WPA2 Ent.'; + break; + case 'WPA2 802.1X (CCMP)': + encryption = 'wpa2+ccmp'; + tbl_encryption = 'WPA2 Ent. (CCMP)'; + break; + case 'WPA3 OWE (CCMP)': + encryption = 'owe'; + tbl_encryption = 'WPA3 OWE (CCMP)'; + break; + case 'none': + encryption = 'none'; + tbl_encryption = 'none'; + break; + } + rows.push([ + strength, + channel, + tbl_ssid, + bssid, + tbl_encryption, + E('div', { 'class': 'right' }, E('button', { + 'class': 'cbi-button cbi-button-action', + 'click': ui.createHandlerFn(this, 'handleAdd', radio, iface, ssid, bssid, encryption) + }, _('Add Uplink...'))) + ]); + } } - rows.push([ - strength, - channel, - tbl_ssid, - bssid, - tbl_encryption, - E('div', { 'class': 'right' }, E('button', { - 'class': 'cbi-button cbi-button-action', - 'click': ui.createHandlerFn(this, 'handleAdd', radio, iface, ssid, bssid, encryption) - }, _('Add Uplink...'))) - ]); } } - else if (lines[i] === '::: Empty resultset') { + else { rows.push([ - 'No scan results (empty resultset)' + 'Empty resultset' ]); } - } - } - else { - rows.push([ - 'No scan results (timeout)' - ]); - } - cbi_update_table(table, rows); + cbi_update_table(table, rows); + poll.start(); + }, this)); }, this)); }; @@ -999,7 +999,7 @@ return view.extend({ o2.depends({ encryption: 'sae', '!contains': true }); o2.depends({ encryption: 'owe', '!contains': true }); o2.depends({ encryption: 'wpa', '!contains': true }); - o2.depends({ encryption: 'psk', '!contains': true }); + o2.depends({ encryption: 'psk', '!contains': true }); o2.value('', _('Disabled')); o2.value('1', _('Optional')); o2.value('2', _('Required')); diff --git a/applications/luci-app-travelmate/po/de/travelmate.po b/applications/luci-app-travelmate/po/de/travelmate.po index 7ad4464692..97032be28a 100644 --- a/applications/luci-app-travelmate/po/de/travelmate.po +++ b/applications/luci-app-travelmate/po/de/travelmate.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"PO-Revision-Date: 2023-12-14 15:39+0000\n" +"PO-Revision-Date: 2024-01-06 13:23+0000\n" "Last-Translator: ssantos <ssantos@web.de>\n" "Language-Team: German <https://hosted.weblate.org/projects/openwrt/" "luciapplicationstravelmate/de/>\n" @@ -8,7 +8,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.3\n" +"X-Generator: Weblate 5.4-dev\n" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:76 msgid "-- AP Selection --" @@ -173,7 +173,7 @@ msgstr "Gerätename" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:448 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:1003 msgid "Disabled" -msgstr "deaktiviert" +msgstr "Deaktiviert" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:46 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:131 diff --git a/applications/luci-app-travelmate/po/fi/travelmate.po b/applications/luci-app-travelmate/po/fi/travelmate.po index d2258940d7..f52b0368d5 100644 --- a/applications/luci-app-travelmate/po/fi/travelmate.po +++ b/applications/luci-app-travelmate/po/fi/travelmate.po @@ -1,14 +1,14 @@ msgid "" msgstr "" -"PO-Revision-Date: 2023-10-18 05:43+0000\n" -"Last-Translator: Jiri Grönroos <jiri.gronroos@iki.fi>\n" +"PO-Revision-Date: 2024-01-06 10:09+0000\n" +"Last-Translator: Hannu Nyman <hannu.nyman@iki.fi>\n" "Language-Team: Finnish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationstravelmate/fi/>\n" "Language: fi\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.1\n" +"X-Generator: Weblate 5.4-dev\n" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:76 msgid "-- AP Selection --" @@ -164,7 +164,7 @@ msgstr "Hylkää" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:261 msgid "Drag to reorder" -msgstr "Vedä järjestääksesi uudelleen" +msgstr "Järjestä raahaten" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:425 msgid "E-Mail Hook" @@ -176,11 +176,11 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:428 msgid "E-Mail Receiver Address" -msgstr "" +msgstr "Sähköpostin saajan osoite" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:433 msgid "E-Mail Sender Address" -msgstr "" +msgstr "Sähköpostin lähettäjän osoite" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:296 msgid "E-Mail Settings" @@ -188,7 +188,7 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:438 msgid "E-Mail Topic" -msgstr "" +msgstr "Sähköpostin aihe" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:425 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:983 diff --git a/applications/luci-app-travelmate/po/lt/travelmate.po b/applications/luci-app-travelmate/po/lt/travelmate.po index 251c00e002..bf3b4ff51c 100644 --- a/applications/luci-app-travelmate/po/lt/travelmate.po +++ b/applications/luci-app-travelmate/po/lt/travelmate.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2023-12-24 01:12+0000\n" +"PO-Revision-Date: 2024-01-08 01:06+0000\n" "Last-Translator: Džiugas J <dziugas1959@hotmail.com>\n" "Language-Team: Lithuanian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationstravelmate/lt/>\n" @@ -55,7 +55,7 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:617 msgid "Auto Login Script" -msgstr "" +msgstr "Automatinio prisijungimo skriptas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:352 msgid "AutoAdd Open Uplinks" @@ -128,23 +128,23 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:528 msgid "Connection End" -msgstr "" +msgstr "Prisijungimo pabaiga" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:599 msgid "Connection End Expiry" -msgstr "" +msgstr "Prisijungimo pabaigos galiojimo laikas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:370 msgid "Connection Limit" -msgstr "" +msgstr "Prisijungimo limitas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:517 msgid "Connection Start" -msgstr "" +msgstr "Prisijungimo pradžia" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:581 msgid "Connection Start Expiry" -msgstr "" +msgstr "Prisijungimo pradžios galiojimo laikas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:296 msgid "Device" @@ -172,7 +172,7 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:425 msgid "E-Mail Hook" -msgstr "" +msgstr "El. pašto pririšimas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:443 msgid "E-Mail Profile" @@ -242,7 +242,7 @@ msgstr "Įjungti/Išjungti šį tinklą" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:301 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:284 msgid "Enabled" -msgstr "Įjungta" +msgstr "Įjungta/-as" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:307 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:757 @@ -252,7 +252,7 @@ msgstr "Šifravimas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:250 msgid "Ext. Hooks" -msgstr "" +msgstr "Išor. pririšimai" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:618 msgid "" @@ -275,7 +275,7 @@ msgstr "" #: applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json:3 msgid "Grant access to LuCI app travelmate" -msgstr "" +msgstr "Duoti prieigą prie „LuCI-app-travelmate“" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:380 msgid "" @@ -301,7 +301,7 @@ msgstr "Sąsajos ir/arba sietuvo pavadinimas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:380 msgid "Interface Timeout" -msgstr "" +msgstr "Sąsajos ir/arba Sietuvo užklausos laikas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:23 msgid "Interface Wizard" @@ -339,7 +339,7 @@ msgstr "" #: applications/luci-app-travelmate/root/usr/share/luci/menu.d/luci-app-travelmate.json:35 msgid "Log View" -msgstr "" +msgstr "Žurnalo peržiūra" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:556 msgid "MAC Address" @@ -448,7 +448,7 @@ msgstr "Kelias į privatų raktą" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:266 msgid "Please install the separate 'qrencode' package." -msgstr "" +msgstr "Prašome įdiegti atskirą „qrencode“ prog. įrang. paketą." #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:296 msgid "" @@ -472,15 +472,15 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:116 msgid "QR-Code Overview" -msgstr "" +msgstr "„QR-Kodo“ peržiūra" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:307 msgid "Radio Selection" -msgstr "" +msgstr "Radijo pasirinkimas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:348 msgid "Randomize MAC Addresses" -msgstr "" +msgstr "Sumaišyti „MAC“ adresus" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:428 msgid "Receiver address for travelmate notification E-Mails." @@ -502,7 +502,7 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:774 msgid "Repeat Scan" -msgstr "" +msgstr "Atkartoti skenavimą" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:450 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:1005 @@ -544,19 +544,19 @@ msgstr "Išsaugoti" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:390 msgid "Scan Limit" -msgstr "" +msgstr "Skenavimo limitas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:739 msgid "Scan on" -msgstr "" +msgstr "Įjungtas skenavimas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:656 msgid "Script Arguments" -msgstr "" +msgstr "Skripto argumentai" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:433 msgid "Sender address for travelmate notification E-Mails." -msgstr "" +msgstr "Siuntėjo adresas „travelmate“ pranešimams per el. paštą." #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:425 msgid "Sends notification E-Mails after every succesful uplink connect." @@ -564,7 +564,7 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:413 msgid "Service Priority" -msgstr "" +msgstr "Tarnybos prioritetas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:292 msgid "Settings" @@ -582,11 +582,11 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:328 msgid "Standard VPN Service" -msgstr "" +msgstr "Tipinė „VPN“ tarnyba" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:334 msgid "Standard VPN interface" -msgstr "" +msgstr "Tipinė „VPN“ sąsaja" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:334 msgid "" @@ -616,29 +616,29 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:226 msgid "Status / Version" -msgstr "" +msgstr "Būklė / Versija" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:753 msgid "Strength" -msgstr "" +msgstr "Stiprumas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:413 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:971 msgid "TLS" -msgstr "" +msgstr "„TLS“" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:414 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:972 msgid "TTLS" -msgstr "" +msgstr "„TTLS“" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:107 msgid "The QR-Code could not be generated!" -msgstr "" +msgstr "Nepavyko sukurti „QR-Kodą“!" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:34 msgid "The firewall zone name" -msgstr "" +msgstr "Užkardos zonos pavadinimas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:39 msgid "The interface metric" @@ -694,11 +694,11 @@ msgstr "" #: applications/luci-app-travelmate/root/usr/share/luci/menu.d/luci-app-travelmate.json:3 msgid "Travelmate" -msgstr "" +msgstr "„Travelmate“" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:254 msgid "Travelmate Settings" -msgstr "" +msgstr "„Travelmate“ nustatymai" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:339 msgid "Treat missing internet availability as an error." @@ -723,27 +723,27 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:677 msgid "VPN Hook" -msgstr "" +msgstr "„VPN“ pririšimas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:709 msgid "VPN Interface" -msgstr "" +msgstr "„VPN“ sąsaja" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:694 msgid "VPN Service" -msgstr "" +msgstr "„VPN“ tarnyba" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:255 msgid "VPN Settings" -msgstr "" +msgstr "„VPN“ nustatymai" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:318 msgid "VPN connections will be managed by travelmate." -msgstr "" +msgstr "„VPN“ prisijungimai bus valdomi „travelmate“." #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:318 msgid "VPN processing" -msgstr "" +msgstr "„VPN“ apdorojimas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:458 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:1012 @@ -757,119 +757,119 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:323 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:950 msgid "WPA Ent. (CCMP)" -msgstr "" +msgstr "„WPA Enterprise“ („CCMP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:324 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:951 msgid "WPA Ent. (TKIP)" -msgstr "" +msgstr "„WPA Enterprise“ („TKIP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:242 msgid "WPA Flags" -msgstr "" +msgstr "„WPA vėliavos“" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:313 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:940 msgid "WPA Pers." -msgstr "" +msgstr "„WPA Personal“." #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:314 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:941 msgid "WPA Pers. (CCMP)" -msgstr "" +msgstr "„WPA Personal“ („CCMP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:315 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:942 msgid "WPA Pers. (TKIP)" -msgstr "" +msgstr "„WPA Personal“ („TKIP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:325 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:952 msgid "WPA/WPA2 Ent. (CCMP)" -msgstr "" +msgstr "„WPA/WPA2 Enterprise“ („CCMP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:326 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:953 msgid "WPA/WPA2 Ent. (TKIP)" -msgstr "" +msgstr "„WPA/WPA2 Enterprise“ („TKIP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:316 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:943 msgid "WPA/WPA2 Pers. (CCMP)" -msgstr "" +msgstr "„WPA/WPA2 Personal“ („CCMP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:317 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:944 msgid "WPA/WPA2 Pers. (TKIP)" -msgstr "" +msgstr "„WPA/WPA2 Personal“ („TKIP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:320 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:947 msgid "WPA2 Ent." -msgstr "" +msgstr "„WPA2 Enterprise“." #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:321 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:948 msgid "WPA2 Ent. (CCMP)" -msgstr "" +msgstr "„WPA2 Enterprise“ („CCMP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:322 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:949 msgid "WPA2 Ent. (TKIP)" -msgstr "" +msgstr "„WPA2 Enterprise“ („TKIP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:310 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:937 msgid "WPA2 Pers." -msgstr "" +msgstr "„WPA2 Personal“." #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:311 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:938 msgid "WPA2 Pers. (CCMP)" -msgstr "" +msgstr "„WPA2 Personal“ („CCMP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:312 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:939 msgid "WPA2 Pers. (TKIP)" -msgstr "" +msgstr "„WPA2 Personal“ („TKIP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:946 msgid "WPA2/WPA3 Ent." -msgstr "" +msgstr "„WPA2/WPA3 Enterprise“." #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:319 msgid "WPA2/WPA3 Ent. (CCMP)" -msgstr "" +msgstr "„WPA2/WPA3 Enterprise“ („CCMP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:309 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:936 msgid "WPA2/WPA3 Pers. (CCMP)" -msgstr "" +msgstr "„WPA2/WPA3 Personal“ („CCMP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:945 msgid "WPA3 Ent." -msgstr "" +msgstr "„WPA3 Enterprise“." #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:318 msgid "WPA3 Ent. (CCMP)" -msgstr "" +msgstr "„WPA3 Enterprise“ („CCMP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:954 msgid "WPA3 OWE (CCMP)" -msgstr "" +msgstr "„WPA3 OWE“ („CCMP“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:308 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:935 msgid "WPA3 Pers. (SAE)" -msgstr "" +msgstr "„WPA3 Personal“ („SAE“)" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:763 msgid "Wireless Scan" -msgstr "" +msgstr "Belaidis skenavimas" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:253 msgid "Wireless Settings" -msgstr "" +msgstr "Belaidžio tinklo nustatymai" #: applications/luci-app-travelmate/root/usr/share/luci/menu.d/luci-app-travelmate.json:27 msgid "Wireless Stations" @@ -878,12 +878,12 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:430 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:988 msgid "auth=MSCHAPV2" -msgstr "" +msgstr "auth=„MSCHAPV2“" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:429 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:987 msgid "auth=PAP" -msgstr "" +msgstr "auth=„PAP“" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:328 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:955 diff --git a/applications/luci-app-travelmate/po/nb_NO/travelmate.po b/applications/luci-app-travelmate/po/nb_NO/travelmate.po index 05364d4c7f..44f9c9f37b 100644 --- a/applications/luci-app-travelmate/po/nb_NO/travelmate.po +++ b/applications/luci-app-travelmate/po/nb_NO/travelmate.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"PO-Revision-Date: 2023-10-10 20:50+0000\n" +"PO-Revision-Date: 2024-01-03 18:37+0000\n" "Last-Translator: Allan Nordhøy <epost@anotheragency.no>\n" "Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/openwrt/" "luciapplicationstravelmate/nb_NO/>\n" @@ -8,7 +8,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.1-dev\n" +"X-Generator: Weblate 5.4-dev\n" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:76 msgid "-- AP Selection --" @@ -238,7 +238,7 @@ msgstr "" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:301 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:284 msgid "Enabled" -msgstr "Aktivert" +msgstr "Påskrudd" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:307 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:757 diff --git a/applications/luci-app-travelmate/po/pl/travelmate.po b/applications/luci-app-travelmate/po/pl/travelmate.po index 6d4ed2a409..7265ee8144 100644 --- a/applications/luci-app-travelmate/po/pl/travelmate.po +++ b/applications/luci-app-travelmate/po/pl/travelmate.po @@ -1,7 +1,7 @@ msgid "" msgstr "" -"PO-Revision-Date: 2023-11-08 19:32+0000\n" -"Last-Translator: Xtremo3 <a.lewicki95@gmail.com>\n" +"PO-Revision-Date: 2024-01-05 10:42+0000\n" +"Last-Translator: Matthaiks <kitynska@gmail.com>\n" "Language-Team: Polish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationstravelmate/pl/>\n" "Language: pl\n" @@ -9,7 +9,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 5.2-dev\n" +"X-Generator: Weblate 5.4-dev\n" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:76 msgid "-- AP Selection --" @@ -294,7 +294,7 @@ msgstr "Wygeneruj losowy adres MAC unicast dla każdego połączenia uplink." #: applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json:3 msgid "Grant access to LuCI app travelmate" -msgstr "Przyznaj dostęp LuCI do aplikacji Travelmate" +msgstr "Udziel dostępu do aplikacji LuCI Travelmate" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:380 msgid "" diff --git a/applications/luci-app-travelmate/po/zh_Hans/travelmate.po b/applications/luci-app-travelmate/po/zh_Hans/travelmate.po index c8f428610f..039151b49e 100644 --- a/applications/luci-app-travelmate/po/zh_Hans/travelmate.po +++ b/applications/luci-app-travelmate/po/zh_Hans/travelmate.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2023-10-25 13:51+0000\n" -"Last-Translator: Eric <hamburger2048@users.noreply.hosted.weblate.org>\n" +"PO-Revision-Date: 2024-01-04 07:07+0000\n" +"Last-Translator: Eric <zxmegaxqug@hldrive.com>\n" "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/" "openwrt/luciapplicationstravelmate/zh_Hans/>\n" "Language: zh_Hans\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 5.1.1\n" +"X-Generator: Weblate 5.4-dev\n" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:76 msgid "-- AP Selection --" @@ -256,7 +256,7 @@ msgstr "启用/禁用此网络" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:301 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:284 msgid "Enabled" -msgstr "启用" +msgstr "已启用" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:307 #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js:757 diff --git a/applications/luci-app-travelmate/po/zh_Hant/travelmate.po b/applications/luci-app-travelmate/po/zh_Hant/travelmate.po index a401c579ce..f7c1574a57 100644 --- a/applications/luci-app-travelmate/po/zh_Hant/travelmate.po +++ b/applications/luci-app-travelmate/po/zh_Hant/travelmate.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2023-12-20 18:08+0000\n" +"PO-Revision-Date: 2024-01-05 04:02+0000\n" "Last-Translator: Yuan Law <traverslombard@outlook.com>\n" "Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/" "openwrt/luciapplicationstravelmate/zh_Hant/>\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 5.3\n" +"X-Generator: Weblate 5.4-dev\n" #: applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js:76 msgid "-- AP Selection --" diff --git a/applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json b/applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json index 3790ce4eac..2283b377c6 100644 --- a/applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json +++ b/applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json @@ -12,6 +12,7 @@ "file": { "/etc/travelmate/*.login": [ "list" ], "/var/run/travelmate.pid": [ "read" ], + "/var/run/travelmate.scan": [ "read" ], "/var/state/travelmate.refresh": [ "read" ], "/tmp/trm_runtime.json": [ "read" ], "/sbin/logread -e trm-": [ "exec" ], |