summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/po/fr/statistics.po
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-04-27 10:09:05 +0200
committerJo-Philipp Wich <jo@mein.io>2021-04-27 10:17:05 +0200
commit8816c8fff7e8e30f19e85c0f1c7f70b6914be701 (patch)
treed77b437242589003bb934ef5557df4ee79b6c0e8 /applications/luci-app-statistics/po/fr/statistics.po
parentc6b4d4ab5a2c57889bcf14fafac17e73d22205c6 (diff)
luci-app-statistics: treat APC UPS "host" setting as single value option
Existing Lua code incorrectly stated that the "Host" option takes a space sparated list of hostnames which is not the case since the collect plugin does not handle multiple hosts. This change reverts the configuration to a simple value as proposed by the original PR and adjusts the config summary accordingly, while retaining the translation string. Ref: https://github.com/openwrt/luci/pull/5010#issuecomment-827285319 Fixes: dd5d96afd ("luci-app-statistics: fix APC UPS host configuration") Fixes: e7d22dce5 ("luci-app-statistics: convert collectd configuration to client side views") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-statistics/po/fr/statistics.po')
-rw-r--r--applications/luci-app-statistics/po/fr/statistics.po7
1 files changed, 3 insertions, 4 deletions
diff --git a/applications/luci-app-statistics/po/fr/statistics.po b/applications/luci-app-statistics/po/fr/statistics.po
index a404ddbb7f..d618bddc09 100644
--- a/applications/luci-app-statistics/po/fr/statistics.po
+++ b/applications/luci-app-statistics/po/fr/statistics.po
@@ -669,11 +669,10 @@ msgstr "Surveillance de %s et %s"
msgid "Monitoring %s, %s, %s"
msgstr "Surveillance de %s, %s, %s"
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "Surveillance des APC UPS au niveau de l'hôte %s, port %s"
-msgstr[1] "Surveillance des APC UPS au niveau des hôtes %s, port %s"
+msgstr "Surveillance des APC UPS au niveau de l'hôte %s, port %s"
#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
msgid "Monitoring DHCP leases enabled"