luci-0.11: merge outstanding trunk changes
[project/luci.git] / applications / luci-diag-devinfo / luasrc / controller / luci_diag / devinfo_common.lua
index ba6bdcd9c165e00cc7f894338028ebfcdcfe18b8..c124cd310139e945a053bec22ddb078df7e63b44 100644 (file)
@@ -23,6 +23,10 @@ local translate = luci.i18n.translate
 local DummyValue = luci.cbi.DummyValue
 local SimpleSection = luci.cbi.SimpleSection
 
+function index()
+       return -- no-op
+end
+
 function run_processes(outnets, cmdfunc)
    i = next(outnets, nil)
    while (i) do
@@ -34,8 +38,6 @@ end
 function parse_output(devmap, outnets, haslink, type, mini, debug)
    local curnet = next(outnets, nil)
 
-   luci.i18n.loadc("diag_devinfo")
-
    while (curnet) do
       local output = outnets[curnet]["output"]
       local subnet = outnets[curnet]["subnet"]
@@ -190,4 +192,4 @@ function config_devinfo_scan(map, scannet)
    
    o = scannet:option(luci.cbi.Value, "sleepreq", translate("Sleep Between Requests"), translate("Milliseconds to sleep between requests (default 100)"))
    o.optional = true
-end
\ No newline at end of file
+end