summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-30 18:44:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-30 18:44:34 +0000
commitc622f0b6d1fdb1ec6b39c309e63f63d6b9cd597b (patch)
treed4369b487d870c050d86115c1c70e0f9fa2061b0 /applications
parent8138c8475d9573b834ca8dcba1b8f37647d61212 (diff)
* luci/i18n/portuguese_brazilian: core translation fixes
* luci/app/statistics: add missing strings for dns, unixsock and email plugin - thanks Carlos!
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-statistics/luasrc/i18n/rrdtool.pt_br.xml.hide2
-rw-r--r--applications/luci-statistics/luasrc/i18n/statistics.de.xml4
-rw-r--r--applications/luci-statistics/luasrc/i18n/statistics.en.xml6
-rw-r--r--applications/luci-statistics/luasrc/i18n/statistics.pt_br.xml8
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua8
5 files changed, 21 insertions, 7 deletions
diff --git a/applications/luci-statistics/luasrc/i18n/rrdtool.pt_br.xml.hide b/applications/luci-statistics/luasrc/i18n/rrdtool.pt_br.xml.hide
index 1e26142d2..7f369c1bf 100644
--- a/applications/luci-statistics/luasrc/i18n/rrdtool.pt_br.xml.hide
+++ b/applications/luci-statistics/luasrc/i18n/rrdtool.pt_br.xml.hide
@@ -63,7 +63,7 @@
<i18n:msg xml:id="stat_dg_label_processes__ps_rss">Bytes</i18n:msg>
<i18n:msg xml:id="stat_ds_ps_rss">memoria virtual</i18n:msg>
-<i18n:msg xml:id="stat_dg_title_cpu">%H: Usado no Processado #%pi</i18n:msg>
+<i18n:msg xml:id="stat_dg_title_cpu">%H: Usado no Processador #%pi</i18n:msg>
<i18n:msg xml:id="stat_dg_label_cpu">%</i18n:msg>
<i18n:msg xml:id="stat_ds_cpu">%di</i18n:msg>
diff --git a/applications/luci-statistics/luasrc/i18n/statistics.de.xml b/applications/luci-statistics/luasrc/i18n/statistics.de.xml
index 1dee01c65..060bbc8ed 100644
--- a/applications/luci-statistics/luasrc/i18n/statistics.de.xml
+++ b/applications/luci-statistics/luasrc/i18n/statistics.de.xml
@@ -27,6 +27,9 @@
<i18n:msg xml:id="stat_network">Netzwerk</i18n:msg>
<i18n:msg xml:id="stat_csv">CSV Ausgabe</i18n:msg>
<i18n:msg xml:id="stat_load">Systemlast</i18n:msg>
+<i18n:msg xml:id="stat_dns">DNS</i18n:msg>
+<i18n:msg xml:id="stat_email">Email</i18n:msg>
+<i18n:msg xml:id="stat_unixsock">UnixSock</i18n:msg>
<i18n:msg xml:id="lucistatistics">Statistiken</i18n:msg>
@@ -168,6 +171,7 @@
<i18n:msg xml:id="lucistatistics_collectdnetlink_classes_desc">Strg gedrückt halten um mehrere zu wählen</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetlink_filters">Filterklassen überwachen</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetlink_filters_desc">Strg gedrückt halten um mehrere zu wählen</i18n:msg>
+<i18n:msg xml:id="lucistatistics_collectdnetlink_ignoreselected">Alle außer Ausgewählte überwachen</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetwork">Network Plugin Konfiguration</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetwork_desc">Das Network-Plugin ermöglicht die netzwerkgestützte Kommunikation zwischen verschiedenen Collectd-Instanzen. Collectd kann gleichzeitig im Server- und Client-Modus betrieben werden. Im Client-Modus werden lokal gesammelte Daten an einen Collectd-Server übermittelt, im Server-Modus empfängt die lokale Instanz Daten von anderen Installationen.</i18n:msg>
diff --git a/applications/luci-statistics/luasrc/i18n/statistics.en.xml b/applications/luci-statistics/luasrc/i18n/statistics.en.xml
index 927a33021..4297b7c70 100644
--- a/applications/luci-statistics/luasrc/i18n/statistics.en.xml
+++ b/applications/luci-statistics/luasrc/i18n/statistics.en.xml
@@ -26,6 +26,9 @@
<i18n:msg xml:id="stat_network">Network</i18n:msg>
<i18n:msg xml:id="stat_csv">CSV Output</i18n:msg>
<i18n:msg xml:id="stat_load">System Load</i18n:msg>
+<i18n:msg xml:id="stat_dns">DNS</i18n:msg>
+<i18n:msg xml:id="stat_email">Email</i18n:msg>
+<i18n:msg xml:id="stat_unixsock">UnixSock</i18n:msg>
<i18n:msg xml:id="lucistatistics">Statistics</i18n:msg>
@@ -77,7 +80,7 @@
<i18n:msg xml:id="lucistatistics_collectddns_interfaces">Monitor interfaces</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectddns_interfaces_desc">multiple separated by space</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectddns_ignoresources">Ignore source addresses</i18n:msg>
-<i18n:msg xml:id="lucistatistics_collectddns_ignoresources_desc">multiple separated by space</i18n:msg>
+<i18n:msg xml:id="lucistatistics_collectddns_ignoresources_desc">hold Ctrl while clicking to select multiple interfaces</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdemail">E-Mail Plugin Configuration</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdemail_desc">The email plugin creates a unix socket which can be used to transmit email-statistics to a running collectd daemon. This plugin is primarily intended to be used in conjunction with Mail::SpamAssasin::Plugin::Collectd but can be used in other ways as well.</i18n:msg>
@@ -166,6 +169,7 @@
<i18n:msg xml:id="lucistatistics_collectdnetlink_classes_desc">hold Ctrl while clicking to select multiple interfaces</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetlink_filters">Filter class monitoring</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetlink_filters_desc">hold Ctrl while clicking to select multiple interfaces</i18n:msg>
+<i18n:msg xml:id="lucistatistics_collectdnetlink_ignoreselected">Monitor all except selected ones</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetwork">Network Plugin Configuration</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetwork_desc">The network plugin provides network based communication between different collectd instances. Collectd can operate both in client and server mode. In client mode locally collected date is transferred to a collectd server instance, in server mode the local instance receives data from other hosts.</i18n:msg>
diff --git a/applications/luci-statistics/luasrc/i18n/statistics.pt_br.xml b/applications/luci-statistics/luasrc/i18n/statistics.pt_br.xml
index d24dd94d3..6a68cd9f7 100644
--- a/applications/luci-statistics/luasrc/i18n/statistics.pt_br.xml
+++ b/applications/luci-statistics/luasrc/i18n/statistics.pt_br.xml
@@ -26,6 +26,9 @@
<i18n:msg xml:id="stat_network">Rede</i18n:msg>
<i18n:msg xml:id="stat_csv">Formato CSV</i18n:msg>
<i18n:msg xml:id="stat_load">Carga do Sistema</i18n:msg>
+<i18n:msg xml:id="stat_dns">DNS</i18n:msg>
+<i18n:msg xml:id="stat_email">Email</i18n:msg>
+<i18n:msg xml:id="stat_unixsock">UnixSock</i18n:msg>
<i18n:msg xml:id="lucistatistics">Estatísticas</i18n:msg>
@@ -77,7 +80,7 @@
<i18n:msg xml:id="lucistatistics_collectddns_interfaces">Monitorar interfaces</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectddns_interfaces_desc">múltiplos valores, separados por espaço</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectddns_ignoresources">Ignorar endereços de origem</i18n:msg>
-<i18n:msg xml:id="lucistatistics_collectddns_ignoresources_desc">múltiplos valores, separados por espaço</i18n:msg>
+<i18n:msg xml:id="lucistatistics_collectddns_ignoresources_desc">pressione Ctrl enquanto clica para selecionar várias interfaces</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdemail">Configuração do plugin E-Mail</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdemail_desc">O plugin de email cria um socket unix que pode ser usado para transmitir estatísticas de email o daemon collectd. Este plugin é essencialmente destinado a ser utilizado em conjunto com o plugin Mail::SpamAssasin::Plugin::Collectd mas pode ser utilizado de outras maneiras também.</i18n:msg>
@@ -145,7 +148,7 @@
<i18n:msg xml:id="lucistatistics_collectdirq_enable">Habilitar este plugin</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdirq_irqs">Monitorar interrupções</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdirq_irqs_desc">múltiplos valores, separados por espaço</i18n:msg>
-<i18n:msg xml:id="lucistatistics_collectdirq_ignoreselected">Monitorar tudas exceto as selecionadas</i18n:msg>
+<i18n:msg xml:id="lucistatistics_collectdirq_ignoreselected">Monitorar todas exceto as selecionadas</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdload">Configuração do plugin carga</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdload_desc">O plugin carga coleta estatísticas gerais sobre a carga do sistema.</i18n:msg>
@@ -166,6 +169,7 @@
<i18n:msg xml:id="lucistatistics_collectdnetlink_classes_desc">pressione Ctrl enquanto clica para selecionar várias interfaces</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetlink_filters">Monitoramento das Classes de Filtros</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetlink_filters_desc">pressione Ctrl enquanto clica para selecionar várias interfaces</i18n:msg>
+<i18n:msg xml:id="lucistatistics_collectdnetlink_ignoreselected">Monitorar todas exceto as selecionadas</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetwork">Configuração do plugin Rede</i18n:msg>
<i18n:msg xml:id="lucistatistics_collectdnetwork_desc">O plugin rede fornece informações de rede baseadas na comunicação entre as diferentes instâncias do collectd. O Collectd pode operar tanto no modo cliente quanto no modo servidor. No modo cliente os dados coletados localmente são transferidos para um servidor collectd, no modo de servidor a instância local recebe dados de outros hosts.</i18n:msg>
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
index be391a9c0..02fa4cb0b 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
@@ -26,13 +26,15 @@ enable = s:option( Flag, "enable" )
enable.default = 0
-- collectd_dns.interfaces (Interface)
-interfaces = s:option( ListValue, "Interfaces" )
+interfaces = s:option( MultiValue, "Interfaces" )
+interfaces.widget = "select"
+interfaces.size = 5
interfaces:depends( "enable", 1 )
interfaces:value("any")
for k, v in pairs(luci.sys.net.devices()) do
- interfaces:value(v)
+ interfaces:value(v)
end
-
+
-- collectd_dns.ignoresources (IgnoreSource)
ignoresources = s:option( Value, "IgnoreSources" )
ignoresources.default = "127.0.0.1"