luci-app-statistics: minor bugfixes in IRQ and OpenVPN plugin config
authorJo-Philipp Wich <jo@mein.io>
Sun, 29 Mar 2020 12:17:55 +0000 (14:17 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 29 Mar 2020 12:17:55 +0000 (14:17 +0200)
 - Fix cfgvalue loading in IRQ selection
 - Fix cfgbalue loading in OpenVPN status file selection
 - Fix typo in OpenVPN config translation string

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
32 files changed:
applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/irq.js
applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js
applications/luci-app-statistics/po/bg/statistics.po
applications/luci-app-statistics/po/ca/statistics.po
applications/luci-app-statistics/po/cs/statistics.po
applications/luci-app-statistics/po/de/statistics.po
applications/luci-app-statistics/po/el/statistics.po
applications/luci-app-statistics/po/en/statistics.po
applications/luci-app-statistics/po/es/statistics.po
applications/luci-app-statistics/po/fr/statistics.po
applications/luci-app-statistics/po/he/statistics.po
applications/luci-app-statistics/po/hi/statistics.po
applications/luci-app-statistics/po/hu/statistics.po
applications/luci-app-statistics/po/it/statistics.po
applications/luci-app-statistics/po/ja/statistics.po
applications/luci-app-statistics/po/ko/statistics.po
applications/luci-app-statistics/po/mr/statistics.po
applications/luci-app-statistics/po/ms/statistics.po
applications/luci-app-statistics/po/nb_NO/statistics.po
applications/luci-app-statistics/po/pl/statistics.po
applications/luci-app-statistics/po/pt/statistics.po
applications/luci-app-statistics/po/pt_BR/statistics.po
applications/luci-app-statistics/po/ro/statistics.po
applications/luci-app-statistics/po/ru/statistics.po
applications/luci-app-statistics/po/sk/statistics.po
applications/luci-app-statistics/po/sv/statistics.po
applications/luci-app-statistics/po/templates/statistics.pot
applications/luci-app-statistics/po/tr/statistics.po
applications/luci-app-statistics/po/uk/statistics.po
applications/luci-app-statistics/po/vi/statistics.po
applications/luci-app-statistics/po/zh_Hans/statistics.po
applications/luci-app-statistics/po/zh_Hant/statistics.po

index f6bac087239ead6262e686dbc0e57c88463e81ff..0061c4dfd422477449f6bc7466b614d472d4d546 100644 (file)
@@ -36,6 +36,8 @@ return L.Class.extend({
 
                                        this.value(m[1], '%s (%s)'.format(m[1], desc || '-'));
                                }
+
+                               return this.super('load', [section_id]);
                        }, this));
                };
 
index b3e4f19331abac624a89026f42d553f011fe61fb..b0704fc722505262338ad03fe1acaedb7801764f 100644 (file)
@@ -29,7 +29,9 @@ return L.Class.extend({
                        return L.resolveDefault(fs.list('/var/run'), []).then(L.bind(function(entries) {
                                for (var i = 0; i < entries.length; i++)
                                        if (entries[i].type == 'file' && entries[i].name.match(/^openvpn\..+\.status$/))
-                                               o.value('/var/run/' + entries[i].name);
+                                               this.value('/var/run/' + entries[i].name);
+
+                               return this.super('load', [section_id]);
                        }, this));
                };
        },
@@ -38,6 +40,6 @@ return L.Class.extend({
                var stats = L.toArray(section.StatusFile);
 
                if (stats.length)
-                       return N_(stats.length, 'Monitoring one OpenVPN instance', 'Monitoring %d OpenVPN instancees').format(stats.length);
+                       return N_(stats.length, 'Monitoring one OpenVPN instance', 'Monitoring %d OpenVPN instances').format(stats.length);
        }
 });
index 921cbf0443ab65503afe3aac6e3aac9e0fbd248a..4a5a0bd0d97dc82ef9ab715d3f9f5fd87dbe233a 100644 (file)
@@ -671,7 +671,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index 1f91a486913a3b8bf945d5305a797b831b09a91a..5583e43e9ed59f7eb2d26ea098464a47ba335c59 100644 (file)
@@ -682,7 +682,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index da3c9048085fa14dcac5db5e92413bb0b8154462..d33d9a5cf9a22e48bfd8b7126db72bffba5a0d39 100644 (file)
@@ -686,7 +686,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 msgstr[2] ""
index c293452e9041ca1055709c64a69861273242f3c2..4b26a0b123143c7e09188af8d27574f2c81cf8a1 100644 (file)
@@ -682,7 +682,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index 5bb7a259dfab3cd4d620dcdaec88e942e648ded1..ff6656c0255a8011110056032759066ce2ad989f 100644 (file)
@@ -673,7 +673,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index 19fc380049581e423cd5855bc30f5c2cbc1ff26f..3e5686e0f7a29fcf4ddd197992caecca9e00ae60 100644 (file)
@@ -677,7 +677,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index cdfb8903eaf4494e04dadfb820afdd6d3474a511..95bb340dfecbb681468b904a716b0521077bda34 100644 (file)
@@ -681,7 +681,7 @@ msgstr "Monitoreo de puertos de escucha locales"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] "Monitoreo de una instancia de OpenVPN"
 msgstr[1] "Monitoreo de %d instancias OpenVPN"
 
index d894cd313857bb85b251eefa94863131adcc5f13..4cebd5b6edd80611c125ee68cc36024390f635f7 100644 (file)
@@ -679,7 +679,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index a8fee1d130bf417f0c9a25141d6e99e66108be6d..15a10b65c02703714c21f79ae89a587bd8ef927a 100644 (file)
@@ -670,7 +670,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index 088ed3c844843f09ac4ee55cfaf3086b0a062288..80ac6f15c86de169c8a2f291b7a7aec62734353b 100644 (file)
@@ -671,7 +671,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index cf4580330bcd50b6f38dd8f016db94d3a69f9bf5..0135834b61f454e9bd56b0d4fb2bf77ccc9b5bde 100644 (file)
@@ -682,7 +682,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index 1e990ee34a97dca76a9d068674a96b71c7f04f1c..bd4a5a747a646175384fa307cbd23e3b1ef875fa 100644 (file)
@@ -678,7 +678,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index 0fcb20d0c68cf65a719dab0a9b421708f56edee7..82321d82fffff826ee641d0b1423b6454f8e5ca9 100644 (file)
@@ -675,7 +675,7 @@ msgstr "ローカルの待ち受けポートを監視中"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/nut.js:20
index 1f223055c800681a4f58372d5f338c7b8334baea..febfad2fe5526665bb7a2205d575cb3e8a78bcb2 100644 (file)
@@ -665,7 +665,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/nut.js:20
index 826b0f053bf9c26324db637e96c22a997b5a1d5a..bea158397806ac80e540ee22fe5bca5d02c32f4d 100644 (file)
@@ -671,7 +671,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index 6eceb252cf1364b8be87dbff5b45f5e5b9163ee2..bb0283ec81cb4381c79d7ec1fa431d56170271bc 100644 (file)
@@ -665,7 +665,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/nut.js:20
index 3ff6ad3b03442864890c82219eb86d2e068ad25d..f5cd01179c2125f3916a7c6de832209296c1a535 100644 (file)
@@ -672,7 +672,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index 9c3c58af5f51c24a01d60d0e5f3060343015d027..4412312b0fcb3849e43e4eb6ff42bab4143c575b 100644 (file)
@@ -690,7 +690,7 @@ msgstr "Monitorowanie lokalnych portów nasłuchiwania"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] "Monitorowanie jednej instancji OpenVPN"
 msgstr[1] "Monitorowanie %d instancji OpenVPN"
 msgstr[2] "Monitorowanie innych instancji OpenVPN"
index b322f5b841aba8e687c7bf177b6803f93110b9f9..8ada739ac560af9a0baad9edaee462dc046a8874 100644 (file)
@@ -683,7 +683,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index 7380460901b81eedcd3b3079da67ac289ada3a85..e8356f47d105b9fddd9df702048c6a4096c227cc 100644 (file)
@@ -684,7 +684,7 @@ msgstr "Monitorando portas locais de escuta"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] "Monitorando uma instância openVPN"
 msgstr[1] "Monitorando %d instâncias openVPN"
 
index 23b8696810d22d817992426f24a804b75a5395f5..bcd042f9761819e9f23b040bba3e739b06c47ce0 100644 (file)
@@ -678,7 +678,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 msgstr[2] ""
index 3ff50fded7f4cbc34d56cd181b3a317ca02d4433..8413964588b8ee778811bd0392d91f11a23e9272 100644 (file)
@@ -692,7 +692,7 @@ msgstr "Мониторинг локальных прослушиваемых п
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] "Мониторинг одного экземпляра OpenVPN"
 msgstr[1] "Мониторинг %d экземпляров OpenVPN"
 msgstr[2] "Мониторинг %d экземпляров OpenVPN"
index 2311ea88b507e2e16b24189b1fb48d6b85939d36..a1420ab0fbeccef85b1ebc47500728d364300c9e 100644 (file)
@@ -675,7 +675,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 msgstr[2] ""
index 913e4992e8c1f9ae127636c0d69821896782ff99..5af865c2b907c095774a4d45810292518743a6bd 100644 (file)
@@ -669,7 +669,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index 89f772f25653cb2b9b88188376d0866e34730abf..cb35bf384d94f825f8f15088240ecdd10d5bfae7 100644 (file)
@@ -658,7 +658,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 
index 2f00dcd4c275582b76d413bfac522320bf83f945..1819d82d5a54091641847ea9400a28b5cc24d39e 100644 (file)
@@ -663,7 +663,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/nut.js:20
index f52be3918e9d3fe9f04b03d072ae654b7dbcab68..524007d14d30c463953d256627b218c37a4a9daa 100644 (file)
@@ -678,7 +678,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 msgstr[1] ""
 msgstr[2] ""
index de82b84b5e0be68ce8806ee35da1c102957145d4..cabb4d10cb25c1d862759b77868d4d9d3a1cabc2 100644 (file)
@@ -674,7 +674,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/nut.js:20
index 6439396472d5b8a7e1383f65a1e7e841b0bd3eaa..09091c69773e6903929973d5a2bf3a3588662dad 100644 (file)
@@ -673,7 +673,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/nut.js:20
index ea09e3cceb88a3944e3a7665f9086ecf8cb9a9ce..e9c084546375b4c3270a053a33ca663f5526d69d 100644 (file)
@@ -672,7 +672,7 @@ msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js:41
 msgid "Monitoring one OpenVPN instance"
-msgid_plural "Monitoring %d OpenVPN instancees"
+msgid_plural "Monitoring %d OpenVPN instances"
 msgstr[0] ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/nut.js:20