summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-10-28 16:17:05 +0200
committerGitHub <noreply@github.com>2016-10-28 16:17:05 +0200
commit98e12fcebba7cf0a962f316e572077cacfac43d3 (patch)
tree8fb6f4b2f652b7888afc53dceec08b1f9c299c80
parent95358ab99d89b92e3e68a9ceebb76ae563a73344 (diff)
parent4a5cee22ed769623ce8c51e87eed32ad2c7b4e0e (diff)
Merge pull request #793 from remakeelectric/rme-master-tweaks
wifi_add minor usability tweaks
-rw-r--r--modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
index 96b8b4d74..05b27a9f0 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
+++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua
@@ -16,7 +16,7 @@ if not iw then
return
end
-m = SimpleForm("network", translate("Join Network: Settings"))
+m = SimpleForm("network", translate("Joining Network: %q", http.formvalue("join")))
m.cancel = translate("Back to scan results")
m.reset = false
@@ -44,9 +44,9 @@ m.hidden = {
if iw and iw.mbssid_support then
replace = m:field(Flag, "replace", translate("Replace wireless configuration"),
- translate("An additional network will be created if you leave this unchecked."))
+ translate("An additional network will be created if you leave this checked."))
- function replace.cfgvalue() return "1" end
+ function replace.cfgvalue() return "0" end
else
replace = m:field(DummyValue, "replace", translate("Replace wireless configuration"))
replace.default = translate("The hardware is not multi-SSID capable and the existing " ..