diff options
Diffstat (limited to 'applications/luci-app-bmx7')
8 files changed, 29 insertions, 22 deletions
diff --git a/applications/luci-app-bmx7/po/he/bmx7.po b/applications/luci-app-bmx7/po/he/bmx7.po index 25bcc1d6db..98a0e6c5da 100644 --- a/applications/luci-app-bmx7/po/he/bmx7.po +++ b/applications/luci-app-bmx7/po/he/bmx7.po @@ -1,8 +1,15 @@ msgid "" msgstr "" +"PO-Revision-Date: 2020-10-17 15:26+0000\n" +"Last-Translator: Yaron Shahrabani <sh.yaron@gmail.com>\n" +"Language-Team: Hebrew <https://hosted.weblate.org/projects/openwrt/" +"luciapplicationsbmx7/he/>\n" "Language: he\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=(n == 1) ? 0 : ((n == 2) ? 1 : ((n > 10 && " +"n % 10 == 0) ? 2 : 3));\n" +"X-Generator: Weblate 4.3.1-dev\n" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm:33 msgid "Announcements" @@ -31,7 +38,7 @@ msgstr "" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm:57 msgid "Interface" -msgstr "" +msgstr "מנשק" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm:81 msgid "Last Desc" diff --git a/applications/luci-app-bmx7/po/ru/bmx7.po b/applications/luci-app-bmx7/po/ru/bmx7.po index fe5e4e311a..cfc80c8102 100644 --- a/applications/luci-app-bmx7/po/ru/bmx7.po +++ b/applications/luci-app-bmx7/po/ru/bmx7.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"PO-Revision-Date: 2020-09-07 10:27+0000\n" +"PO-Revision-Date: 2020-09-23 14:41+0000\n" "Last-Translator: Artem <KovalevArtem.ru@gmail.com>\n" "Language-Team: Russian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsbmx7/ru/>\n" @@ -17,11 +17,11 @@ msgstr "Объявления" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm:27 msgid "BMX7 revision" -msgstr "" +msgstr "Версия BMX7" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm:41 msgid "Bandwidth" -msgstr "" +msgstr "Пропускная способность" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm:3 msgid "Bmx7 mesh nodes" @@ -29,7 +29,7 @@ msgstr "" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm:44 msgid "CPU usage" -msgstr "" +msgstr "Использование CPU" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm:12 #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm:79 diff --git a/applications/luci-app-bmx7/po/tr/bmx7.po b/applications/luci-app-bmx7/po/tr/bmx7.po index abcc45b028..738da0f0ee 100644 --- a/applications/luci-app-bmx7/po/tr/bmx7.po +++ b/applications/luci-app-bmx7/po/tr/bmx7.po @@ -1,18 +1,18 @@ msgid "" msgstr "" -"PO-Revision-Date: 2019-11-13 13:08+0000\n" -"Last-Translator: Yunus BAYRAK <yunus@baygunelektronik.com>\n" +"PO-Revision-Date: 2020-09-25 07:41+0000\n" +"Last-Translator: Oğuz Ersen <oguzersen@protonmail.com>\n" "Language-Team: Turkish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsbmx7/tr/>\n" "Language: tr\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 3.10-dev\n" +"X-Generator: Weblate 4.3-dev\n" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm:33 msgid "Announcements" -msgstr "" +msgstr "Duyurular" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm:27 msgid "BMX7 revision" @@ -33,11 +33,11 @@ msgstr "" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm:12 #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm:79 msgid "Device" -msgstr "" +msgstr "Cihaz" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm:57 msgid "Interface" -msgstr "" +msgstr "Arayüz" #: applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm:81 msgid "Last Desc" diff --git a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm index 8a6aefaa20..32a3a965ce 100644 --- a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm +++ b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/admin_status/index/bmx7_nodes.htm @@ -20,7 +20,7 @@ <script type="text/javascript" src="<%=resource%>/bmx7/js/polling.js"></script> <script type="text/javascript">//<![CDATA[ - new TablePooler(10,"/cgi-bin/bmx7-info", {'$originators':''}, "nodes_div", function(st){ + new TablePooler(10,"/cgi-bin/bmx7-info", {'originators':''}, "nodes_div", function(st){ var originators = st.originators; var res = Array(); originators.forEach(function(originator,i){ diff --git a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm index a631c93e89..16522b962c 100644 --- a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm +++ b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/nodes_j.htm @@ -92,7 +92,7 @@ var displayExtraInfo = function ( id ) { document.getElementById('extra-info').innerHTML = document.getElementById(id).innerHTML; } - new TablePooler(5,"/cgi-bin/bmx7-info", {'$originators':''}, "nodes_div", function(st){ + new TablePooler(5,"/cgi-bin/bmx7-info", {'originators':''}, "nodes_div", function(st){ var infoicon = "<%=resource%>/bmx7/world_small.png"; var originators = st.originators; var res = Array(); diff --git a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm index 8ecae656f7..a3249a2b14 100644 --- a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm +++ b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/status_j.htm @@ -88,14 +88,14 @@ </div> <script type="text/javascript">//<![CDATA[ - new TablePooler(1,"/cgi-bin/bmx7-info", {'$info':''}, "config_div", function(st){ + new TablePooler(10,"/cgi-bin/bmx7-info", {'info':''}, "config_div", function(st){ var res = Array(); var sta = st.info[0].status; res.push([sta.shortId, sta.name, sta.primaryIp, sta.nodeKey, sta.shortDhash, sta.revision]); return res; }); - new TablePooler(1,"/cgi-bin/bmx7-info", {'$info':''}, "status_div", function(st){ + new TablePooler(10,"/cgi-bin/bmx7-info", {'info':''}, "status_div", function(st){ var res = Array(); var sta = st.info[0].status; var mem = st.info[3].memory.bmx7; @@ -105,7 +105,7 @@ return res; }); - new TablePooler(1,"/cgi-bin/bmx7-info", {'$info':''}, "ifaces_div", function(st){ + new TablePooler(10,"/cgi-bin/bmx7-info", {'info':''}, "ifaces_div", function(st){ var res = Array(); var ifaces = st.info[1].interfaces; @@ -115,7 +115,7 @@ return res; }); - new TablePooler(1,"/cgi-bin/bmx7-info", {'$info':''}, "links_div", function(st){ + new TablePooler(10,"/cgi-bin/bmx7-info", {'info':''}, "links_div", function(st){ var res = Array(); links = st.info[2].links; diff --git a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm index 9348e7c610..0b9662df8c 100644 --- a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm +++ b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/tunnels_j.htm @@ -51,7 +51,7 @@ </div> <script type="text/javascript">//<![CDATA[ - new TablePooler(5,"/cgi-bin/bmx7-info", {'$tunnels':''}, "tunnels_div", function(st){ + new TablePooler(5,"/cgi-bin/bmx7-info", {'tunnels':''}, "tunnels_div", function(st){ var tunicon = "<%=resource%>/icons/tunnel.png"; var tunicon_dis = "<%=resource%>/icons/tunnel_disabled.png"; var applyicon = "<%=resource%>/cbi/apply.gif"; diff --git a/applications/luci-app-bmx7/root/www/cgi-bin/bmx7-info b/applications/luci-app-bmx7/root/www/cgi-bin/bmx7-info index 7388ed12c3..327e3f0f16 100755 --- a/applications/luci-app-bmx7/root/www/cgi-bin/bmx7-info +++ b/applications/luci-app-bmx7/root/www/cgi-bin/bmx7-info @@ -90,7 +90,7 @@ if [ "${QUERY##*/}" == "all" ]; then QALL=1 fi -if [ "$QUERY" == '$info' ]; then +if [ "$QUERY" == 'info' ]; then echo '{ "info": [ ' print_query status echo -n "," @@ -100,7 +100,7 @@ if [ "$QUERY" == '$info' ]; then echo "] }" fi -if [ "$QUERY" == '$neighbours' ]; then +if [ "$QUERY" == 'neighbours' ]; then QALL=1 echo '{ "neighbours": [ ' echo '{ "originators": ' @@ -111,11 +111,11 @@ if [ "$QUERY" == '$neighbours' ]; then echo "} ] }" exit 0 -else if [ "$QUERY" == '$tunnels' ]; then +else if [ "$QUERY" == 'tunnels' ]; then bmx7 -c --jshow tunnels /r=0 exit 0 - else if [ "$QUERY" == '$originators' ]; then + else if [ "$QUERY" == 'originators' ]; then bmx7 -c --jshow originators /r=0 exit 0 |