diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-26 12:53:43 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-11-26 12:53:43 +0000 |
commit | 848e43a5b47c0467b90e7d9a029e59ec53461da3 (patch) | |
tree | 175f8f2aae92abc3a587fe39f082f53ea627ccc9 /applications/luci-diag-devinfo/luasrc | |
parent | 264aae7910c2598fe845ebdd952e504bf8f0e48e (diff) |
remove .i18n annotations from controller files
Diffstat (limited to 'applications/luci-diag-devinfo/luasrc')
4 files changed, 0 insertions, 15 deletions
diff --git a/applications/luci-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua b/applications/luci-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua index 009054a86..c124cd310 100644 --- a/applications/luci-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua +++ b/applications/luci-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua @@ -38,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"] diff --git a/applications/luci-diag-devinfo/luasrc/controller/luci_diag/luci_diag_devinfo.lua b/applications/luci-diag-devinfo/luasrc/controller/luci_diag/luci_diag_devinfo.lua index e8a2f5043..7a2fbd91a 100644 --- a/applications/luci-diag-devinfo/luasrc/controller/luci_diag/luci_diag_devinfo.lua +++ b/applications/luci-diag-devinfo/luasrc/controller/luci_diag/luci_diag_devinfo.lua @@ -19,49 +19,38 @@ function index() e = entry({"admin", "voice", "diag", "phones"}, arcombine(cbi("luci_diag/smap_devinfo"), cbi("luci_diag/smap_devinfo_config")), _("Phones"), 10) e.leaf = true e.subindex = true - e.i18n = "diag_devinfo" e.dependent = true e = entry({"admin", "voice", "diag", "phones", "config"}, cbi("luci_diag/smap_devinfo_config"), _("Configure"), 10) - e.i18n = "diag_devinfo" e = entry({"admin", "status", "smap_devinfo"}, cbi("luci_diag/smap_devinfo"), _("SIP Devices on Network"), 120) e.leaf = true - e.i18n = "diag_devinfo" e.dependent = true e = entry({"admin", "network", "diag_config", "netdiscover_devinfo_config"}, cbi("luci_diag/netdiscover_devinfo_config"), _("Network Device Scan"), 100) e.leaf = true - e.i18n = "diag_devinfo" e.dependent = true e = entry({"admin", "network", "diag_config", "smap_devinfo_config"}, cbi("luci_diag/smap_devinfo_config"), _("SIP Device Scan")) e.leaf = true - e.i18n = "diag_devinfo" e.dependent = true e = entry({"admin", "status", "netdiscover_devinfo"}, cbi("luci_diag/netdiscover_devinfo"), _("Devices on Network"), 90) - e.i18n = "diag_devinfo" e.dependent = true e = entry({"admin", "network", "mactodevinfo"}, cbi("luci_diag/mactodevinfo"), _("MAC Device Info Overrides"), 190) - e.i18n = "diag_devinfo" e.dependent = true e = entry({"mini", "diag", "phone_scan"}, cbi("luci_diag/smap_devinfo_mini"), _("Phone Scan"), 100) - e.i18n = "diag_devinfo" e.dependent = true e = entry({"mini", "voice", "phones", "phone_scan_config"}, cbi("luci_diag/smap_devinfo_config_mini"), _("Config Phone Scan"), 90) - e.i18n = "diag_devinfo" e.dependent = true e = entry({"mini", "diag", "netdiscover_devinfo"}, cbi("luci_diag/netdiscover_devinfo_mini"), _("Network Device Scan"), 10) - e.i18n = "diag_devinfo" e.dependent = true e = entry({"mini", "network", "netdiscover_devinfo_config"}, cbi("luci_diag/netdiscover_devinfo_config_mini"), _("Device Scan Config")) - e.i18n = "diag_devinfo" e.dependent = true end diff --git a/applications/luci-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua b/applications/luci-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua index 95859aeaf..592ca1eaa 100644 --- a/applications/luci-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua +++ b/applications/luci-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua @@ -83,7 +83,6 @@ function command_function(outnets, i) end function action_links(netdiscovermap, mini) - luci.i18n.loadc("diag_devinfo") s = netdiscovermap:section(SimpleSection, "", translate("Actions")) b = s:option(DummyValue, "_config", translate("Configure Scans")) b.value = "" diff --git a/applications/luci-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua b/applications/luci-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua index 13ac91f93..e9aeaa621 100644 --- a/applications/luci-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua +++ b/applications/luci-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua @@ -94,7 +94,6 @@ function command_function(outnets, i) end function action_links(smapmap, mini) - luci.i18n.loadc("diag_devinfo") s = smapmap:section(SimpleSection, "", translate("Actions")) b = s:option(DummyValue, "_config", translate("Configure Scans")) b.value = "" |