diff options
Diffstat (limited to 'applications/luci-app-statistics')
32 files changed, 36 insertions, 32 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/irq.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/irq.js index f6bac08723..0061c4dfd4 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/irq.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/irq.js @@ -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)); }; diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js index b3e4f19331..b0704fc722 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/openvpn.js @@ -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); } }); diff --git a/applications/luci-app-statistics/po/bg/statistics.po b/applications/luci-app-statistics/po/bg/statistics.po index 921cbf0443..4a5a0bd0d9 100644 --- a/applications/luci-app-statistics/po/bg/statistics.po +++ b/applications/luci-app-statistics/po/bg/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/ca/statistics.po b/applications/luci-app-statistics/po/ca/statistics.po index 1f91a48691..5583e43e9e 100644 --- a/applications/luci-app-statistics/po/ca/statistics.po +++ b/applications/luci-app-statistics/po/ca/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/cs/statistics.po b/applications/luci-app-statistics/po/cs/statistics.po index da3c904808..d33d9a5cf9 100644 --- a/applications/luci-app-statistics/po/cs/statistics.po +++ b/applications/luci-app-statistics/po/cs/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/de/statistics.po b/applications/luci-app-statistics/po/de/statistics.po index c293452e90..4b26a0b123 100644 --- a/applications/luci-app-statistics/po/de/statistics.po +++ b/applications/luci-app-statistics/po/de/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/el/statistics.po b/applications/luci-app-statistics/po/el/statistics.po index 5bb7a259df..ff6656c025 100644 --- a/applications/luci-app-statistics/po/el/statistics.po +++ b/applications/luci-app-statistics/po/el/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/en/statistics.po b/applications/luci-app-statistics/po/en/statistics.po index 19fc380049..3e5686e0f7 100644 --- a/applications/luci-app-statistics/po/en/statistics.po +++ b/applications/luci-app-statistics/po/en/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/es/statistics.po b/applications/luci-app-statistics/po/es/statistics.po index cdfb8903ea..95bb340dfe 100644 --- a/applications/luci-app-statistics/po/es/statistics.po +++ b/applications/luci-app-statistics/po/es/statistics.po @@ -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" diff --git a/applications/luci-app-statistics/po/fr/statistics.po b/applications/luci-app-statistics/po/fr/statistics.po index d894cd3138..4cebd5b6ed 100644 --- a/applications/luci-app-statistics/po/fr/statistics.po +++ b/applications/luci-app-statistics/po/fr/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/he/statistics.po b/applications/luci-app-statistics/po/he/statistics.po index a8fee1d130..15a10b65c0 100644 --- a/applications/luci-app-statistics/po/he/statistics.po +++ b/applications/luci-app-statistics/po/he/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/hi/statistics.po b/applications/luci-app-statistics/po/hi/statistics.po index 088ed3c844..80ac6f15c8 100644 --- a/applications/luci-app-statistics/po/hi/statistics.po +++ b/applications/luci-app-statistics/po/hi/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/hu/statistics.po b/applications/luci-app-statistics/po/hu/statistics.po index cf4580330b..0135834b61 100644 --- a/applications/luci-app-statistics/po/hu/statistics.po +++ b/applications/luci-app-statistics/po/hu/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/it/statistics.po b/applications/luci-app-statistics/po/it/statistics.po index 1e990ee34a..bd4a5a747a 100644 --- a/applications/luci-app-statistics/po/it/statistics.po +++ b/applications/luci-app-statistics/po/it/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/ja/statistics.po b/applications/luci-app-statistics/po/ja/statistics.po index 0fcb20d0c6..82321d82ff 100644 --- a/applications/luci-app-statistics/po/ja/statistics.po +++ b/applications/luci-app-statistics/po/ja/statistics.po @@ -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 diff --git a/applications/luci-app-statistics/po/ko/statistics.po b/applications/luci-app-statistics/po/ko/statistics.po index 1f223055c8..febfad2fe5 100644 --- a/applications/luci-app-statistics/po/ko/statistics.po +++ b/applications/luci-app-statistics/po/ko/statistics.po @@ -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 diff --git a/applications/luci-app-statistics/po/mr/statistics.po b/applications/luci-app-statistics/po/mr/statistics.po index 826b0f053b..bea1583978 100644 --- a/applications/luci-app-statistics/po/mr/statistics.po +++ b/applications/luci-app-statistics/po/mr/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/ms/statistics.po b/applications/luci-app-statistics/po/ms/statistics.po index 6eceb252cf..bb0283ec81 100644 --- a/applications/luci-app-statistics/po/ms/statistics.po +++ b/applications/luci-app-statistics/po/ms/statistics.po @@ -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 diff --git a/applications/luci-app-statistics/po/nb_NO/statistics.po b/applications/luci-app-statistics/po/nb_NO/statistics.po index 3ff6ad3b03..f5cd01179c 100644 --- a/applications/luci-app-statistics/po/nb_NO/statistics.po +++ b/applications/luci-app-statistics/po/nb_NO/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/pl/statistics.po b/applications/luci-app-statistics/po/pl/statistics.po index 9c3c58af5f..4412312b0f 100644 --- a/applications/luci-app-statistics/po/pl/statistics.po +++ b/applications/luci-app-statistics/po/pl/statistics.po @@ -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" diff --git a/applications/luci-app-statistics/po/pt/statistics.po b/applications/luci-app-statistics/po/pt/statistics.po index b322f5b841..8ada739ac5 100644 --- a/applications/luci-app-statistics/po/pt/statistics.po +++ b/applications/luci-app-statistics/po/pt/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/pt_BR/statistics.po b/applications/luci-app-statistics/po/pt_BR/statistics.po index 7380460901..e8356f47d1 100644 --- a/applications/luci-app-statistics/po/pt_BR/statistics.po +++ b/applications/luci-app-statistics/po/pt_BR/statistics.po @@ -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" diff --git a/applications/luci-app-statistics/po/ro/statistics.po b/applications/luci-app-statistics/po/ro/statistics.po index 23b8696810..bcd042f976 100644 --- a/applications/luci-app-statistics/po/ro/statistics.po +++ b/applications/luci-app-statistics/po/ro/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/ru/statistics.po b/applications/luci-app-statistics/po/ru/statistics.po index 3ff50fded7..8413964588 100644 --- a/applications/luci-app-statistics/po/ru/statistics.po +++ b/applications/luci-app-statistics/po/ru/statistics.po @@ -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" diff --git a/applications/luci-app-statistics/po/sk/statistics.po b/applications/luci-app-statistics/po/sk/statistics.po index 2311ea88b5..a1420ab0fb 100644 --- a/applications/luci-app-statistics/po/sk/statistics.po +++ b/applications/luci-app-statistics/po/sk/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/sv/statistics.po b/applications/luci-app-statistics/po/sv/statistics.po index 913e4992e8..5af865c2b9 100644 --- a/applications/luci-app-statistics/po/sv/statistics.po +++ b/applications/luci-app-statistics/po/sv/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/templates/statistics.pot b/applications/luci-app-statistics/po/templates/statistics.pot index 89f772f256..cb35bf384d 100644 --- a/applications/luci-app-statistics/po/templates/statistics.pot +++ b/applications/luci-app-statistics/po/templates/statistics.pot @@ -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] "" diff --git a/applications/luci-app-statistics/po/tr/statistics.po b/applications/luci-app-statistics/po/tr/statistics.po index 2f00dcd4c2..1819d82d5a 100644 --- a/applications/luci-app-statistics/po/tr/statistics.po +++ b/applications/luci-app-statistics/po/tr/statistics.po @@ -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 diff --git a/applications/luci-app-statistics/po/uk/statistics.po b/applications/luci-app-statistics/po/uk/statistics.po index f52be3918e..524007d14d 100644 --- a/applications/luci-app-statistics/po/uk/statistics.po +++ b/applications/luci-app-statistics/po/uk/statistics.po @@ -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] "" diff --git a/applications/luci-app-statistics/po/vi/statistics.po b/applications/luci-app-statistics/po/vi/statistics.po index de82b84b5e..cabb4d10cb 100644 --- a/applications/luci-app-statistics/po/vi/statistics.po +++ b/applications/luci-app-statistics/po/vi/statistics.po @@ -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 diff --git a/applications/luci-app-statistics/po/zh_Hans/statistics.po b/applications/luci-app-statistics/po/zh_Hans/statistics.po index 6439396472..09091c6977 100644 --- a/applications/luci-app-statistics/po/zh_Hans/statistics.po +++ b/applications/luci-app-statistics/po/zh_Hans/statistics.po @@ -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 diff --git a/applications/luci-app-statistics/po/zh_Hant/statistics.po b/applications/luci-app-statistics/po/zh_Hant/statistics.po index ea09e3cceb..e9c0845463 100644 --- a/applications/luci-app-statistics/po/zh_Hant/statistics.po +++ b/applications/luci-app-statistics/po/zh_Hant/statistics.po @@ -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 |