summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/apcups.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-04-03 21:01:08 +0200
committerGitHub <noreply@github.com>2019-04-03 21:01:08 +0200
commitd679b93bad9ce0ee529b78c791de39a751a78006 (patch)
treeff77ef7b25712715e8cb5bcab0a8334c1f19d2a6 /applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/apcups.lua
parenta483a8d05b39a2f12a764f7d625933cae2bd92f5 (diff)
parent05f0649716ccf209ab14a569e49dd8dcefcc04c6 (diff)
Merge pull request #2618 from TDT-AG/pr/20199397-luci-app-statistics
luci-app-statistics: enhancements
Diffstat (limited to 'applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/apcups.lua')
-rw-r--r--applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/apcups.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/apcups.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/apcups.lua
index 37055f5861..637b5f9592 100644
--- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/apcups.lua
+++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/apcups.lua
@@ -3,6 +3,10 @@
module("luci.statistics.rrdtool.definitions.apcups",package.seeall)
+function item()
+ return luci.i18n.translate("APC UPS")
+end
+
function rrdargs( graph, plugin, plugin_instance )
local lu = require("luci.util")