summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2019-06-29 14:46:28 +0200
committerDirk Brenken <dev@brenken.org>2019-06-29 14:46:28 +0200
commitee80de6a7b2b24b56eb8280d7e21f6cd745d58c9 (patch)
treea7555f1e1ec667c550b1fe9d68798b058b5d0bdf /applications
parent86fd703bae2089cfd0dd7e06c1dd20c4b956767a (diff)
luci-app-travelmate: sync with update 1.4.8
* add optional 'trm_scanbuffer' parm * fix wrong lua escape character in wifi edit * sync translations Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua6
-rw-r--r--applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua6
-rw-r--r--applications/luci-app-travelmate/po/pt-br/travelmate.po8
-rw-r--r--applications/luci-app-travelmate/po/ru/travelmate.po8
-rw-r--r--applications/luci-app-travelmate/po/templates/travelmate.pot8
-rw-r--r--applications/luci-app-travelmate/po/zh-cn/travelmate.po8
-rw-r--r--applications/luci-app-travelmate/po/zh-tw/travelmate.po8
7 files changed, 49 insertions, 3 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
index 827a39b8cf..429d4357d6 100644
--- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
+++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
@@ -139,4 +139,10 @@ e8.default = 60
e8.datatype = "range(30,300)"
e8.rmempty = false
+e10 = e:option(Value, "trm_scanbuffer", translate("Scan Buffer Size"),
+ translate("Buffer size in bytes to prepare nearby scan results."))
+e10.default = 1024
+e10.datatype = "range(512,4096)"
+e10.optional = true
+
return m
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua
index f3ad762594..dae358ae03 100644
--- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua
+++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua
@@ -1,4 +1,4 @@
--- Copyright 2017-2018 Dirk Brenken (dev@brenken.org)
+-- Copyright 2017-2019 Dirk Brenken (dev@brenken.org)
-- This is free software, licensed under the Apache License, Version 2.0
local fs = require("nixio.fs")
@@ -29,8 +29,8 @@ if s ~= nil then
bssid.default = s.bssid or ""
s.cipher = "auto"
- if string.match(s.encryption, '\+') and not string.match(s.encryption, '^wep') then
- s.pos = string.find(s.encryption, '\+')
+ if string.match(s.encryption, '%+') and not string.match(s.encryption, '^wep') then
+ s.pos = string.find(s.encryption, '%+')
s.cipher = string.sub(s.encryption, s.pos + 1)
s.encryption = string.sub(s.encryption, 0, s.pos - 1)
end
diff --git a/applications/luci-app-travelmate/po/pt-br/travelmate.po b/applications/luci-app-travelmate/po/pt-br/travelmate.po
index 32e9f2500c..c95941639b 100644
--- a/applications/luci-app-travelmate/po/pt-br/travelmate.po
+++ b/applications/luci-app-travelmate/po/pt-br/travelmate.po
@@ -595,3 +595,11 @@ msgstr ""
#~ msgid "Restrict travelmate to a dedicated radio, e.g. 'radio0'."
#~ msgstr "Restringir o travelmate a um rádio dedicado (ex: 'radio0')."
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:142
+msgid "Scan Buffer Size"
+msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:143
+msgid "Buffer size in bytes to prepare nearby scan results."
+msgstr ""
diff --git a/applications/luci-app-travelmate/po/ru/travelmate.po b/applications/luci-app-travelmate/po/ru/travelmate.po
index 127d0b0051..79b1607db6 100644
--- a/applications/luci-app-travelmate/po/ru/travelmate.po
+++ b/applications/luci-app-travelmate/po/ru/travelmate.po
@@ -688,3 +688,11 @@ msgstr ""
#~ msgid "running"
#~ msgstr "работает"
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:142
+msgid "Scan Buffer Size"
+msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:143
+msgid "Buffer size in bytes to prepare nearby scan results."
+msgstr ""
diff --git a/applications/luci-app-travelmate/po/templates/travelmate.pot b/applications/luci-app-travelmate/po/templates/travelmate.pot
index aa9e395332..766e55473e 100644
--- a/applications/luci-app-travelmate/po/templates/travelmate.pot
+++ b/applications/luci-app-travelmate/po/templates/travelmate.pot
@@ -539,3 +539,11 @@ msgstr ""
#: applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm:197
msgid "with SSID"
msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:142
+msgid "Scan Buffer Size"
+msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:143
+msgid "Buffer size in bytes to prepare nearby scan results."
+msgstr ""
diff --git a/applications/luci-app-travelmate/po/zh-cn/travelmate.po b/applications/luci-app-travelmate/po/zh-cn/travelmate.po
index 1ac234c498..299c9d95c9 100644
--- a/applications/luci-app-travelmate/po/zh-cn/travelmate.po
+++ b/applications/luci-app-travelmate/po/zh-cn/travelmate.po
@@ -557,3 +557,11 @@ msgstr "隐藏"
#: applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm:197
msgid "with SSID"
msgstr "带 SSID"
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:142
+msgid "Scan Buffer Size"
+msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:143
+msgid "Buffer size in bytes to prepare nearby scan results."
+msgstr ""
diff --git a/applications/luci-app-travelmate/po/zh-tw/travelmate.po b/applications/luci-app-travelmate/po/zh-tw/travelmate.po
index 3b1d697e5c..0a8cb15f7c 100644
--- a/applications/luci-app-travelmate/po/zh-tw/travelmate.po
+++ b/applications/luci-app-travelmate/po/zh-tw/travelmate.po
@@ -558,3 +558,11 @@ msgstr "隱藏"
#: applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm:197
msgid "with SSID"
msgstr "帶 SSID"
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:142
+msgid "Scan Buffer Size"
+msgstr ""
+
+#: applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua:143
+msgid "Buffer size in bytes to prepare nearby scan results."
+msgstr ""