luci-mod-admin-full: Fix display problem of wifi_add 948/head
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sat, 14 Jan 2017 17:16:33 +0000 (02:16 +0900)
committerINAGAKI Hiroshi <musashino.open@gmail.com>
Sat, 14 Jan 2017 17:16:33 +0000 (02:16 +0900)
Fixed an issue where the network name is displayed as "%q" on wlan
connection destination network settings page.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua

index 7dd094d7ec1066fb6c3471c9b74b82ff19598f5a..8277deb2f6f23b128f81b4ff40ffde717878536b 100644 (file)
@@ -16,7 +16,7 @@ if not iw then
        return
 end
 
-m = SimpleForm("network", translate("Joining Network: %q", http.formvalue("join")))
+m = SimpleForm("network", translatef("Joining Network: %q", http.formvalue("join")))
 m.cancel = translate("Back to scan results")
 m.reset = false