diff options
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-app-travelmate/luasrc/model/cbi/travelmate/setup_tab.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/setup_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/setup_tab.lua index 2c650f00d4..6cd030ce6e 100644 --- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/setup_tab.lua +++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/setup_tab.lua @@ -25,11 +25,11 @@ function iface.validate(self, value, section) else iface.datatype = false iface.default = iface.disabled - f = m:field(DummyValue, "textfield", " ", translate("Direct Link: " - .. [[<a href="]] .. luci.dispatcher.build_url("admin/network/wireless") .. [[">]] - .. "Wireless Setup" .. [[</a>]])) - f.default = translate("Network Interface '" .. value .. "' created successfully." .. - " Feel free to scan & add new stations via standard wireless setup.") + f = m:field(DummyValue, "textfield", " ", translatef("Direct Link: " + .. "<a href=\"%s\">" + .. "Wireless Setup</a>", luci.dispatcher.build_url("admin/network/wireless"))) + f.default = translatef("Network Interface '%s' created successfully." .. + " Feel free to scan & add new stations via standard wireless setup.", value) f.disabled = true end return value |