From cd1e8cc6b94ef9aed2199d69f54c94d0c0919605 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 7 Mar 2019 14:50:17 +0100 Subject: luci-app-statistics: add new item callback for menu entry Add the item callback function to the rrdtool definitions. Signed-off-by: Florian Eckert --- .../luasrc/statistics/rrdtool/definitions/iwinfo.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua') diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua index 194afd6fc..53f4c7a40 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua @@ -3,6 +3,10 @@ module("luci.statistics.rrdtool.definitions.iwinfo", package.seeall) +function item() + return luci.i18n.translate("Wireless") +end + function rrdargs( graph, plugin, plugin_instance ) -- -- cgit v1.2.3