monitoring/tactical: fix missing translations

This commit is contained in:
Thomas Gelf 2014-08-22 18:08:20 +02:00
parent 5c46355474
commit 70fe22dfad
4 changed files with 36 additions and 11 deletions

View File

@ -12,7 +12,7 @@ class Monitoring_TacticalController extends MonitoringController
$this->getTabs()->add(
'tactical_overview',
array(
'title' => 'Tactical Overview',
'title' => $this->translate('Tactical Overview'),
'url' => Url::fromRequest()
)
)->activate('tactical_overview');

View File

@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Monitoring Module (2.0.0~alpha4)\n"
"Report-Msgid-Bugs-To: dev@icinga.org\n"
"POT-Creation-Date: 2014-08-22 16:18+0200\n"
"PO-Revision-Date: 2014-08-22 17:57+0100\n"
"POT-Creation-Date: 2014-08-22 18:04+0200\n"
"PO-Revision-Date: 2014-08-22 18:05+0100\n"
"Last-Translator: Thomas Gelf <thomas@gelf.net>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
@ -103,6 +103,18 @@ msgstr "%d werden nicht überwacht"
msgid "%d are passively checked"
msgstr "%d werden passiv überwacht"
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml:20
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml:87
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml:138
#, php-format
msgid "%d hosts disabled"
msgstr "%d deaktivierte Hosts"
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml:36
#, php-format
msgid "%d hosts flapping"
msgstr "%d flapping Hosts"
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/tactical/components/parts/servicestatesummarybyhoststate.phtml:62
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/tactical/components/parts/servicestatesummarybyhoststate.phtml:132
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/tactical/components/parts/servicestatesummarybyhoststate.phtml:202
@ -119,6 +131,18 @@ msgstr "%d wird nicht überwacht"
msgid "%d is passively checked"
msgstr "%d wird passiv überwacht"
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml:48
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml:107
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml:158
#, php-format
msgid "%d services disabled"
msgstr "%d deaktivierte Services"
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml:64
#, php-format
msgid "%d services flapping"
msgstr "%d flapping services"
#: /usr/local/src/bugfix.master/modules/monitoring/application/views/scripts/list/hosts.phtml:105
#, php-format
msgid "%d unhandled services"
@ -1349,6 +1373,7 @@ msgid "TODO: Help message when with children is enabled"
msgstr ""
#: /usr/local/src/bugfix.master/modules/monitoring/configuration.php:54
#: /usr/local/src/bugfix.master/modules/monitoring/application/controllers/TacticalController.php:15
msgid "Tactical Overview"
msgstr "Taktische Übersicht"

View File

@ -17,7 +17,7 @@
'monitoring/list/hosts',
array('host_flap_detection_enabled' => 0)
); ?>" class="feature-highlight">
<?= sprintf('%d hosts disabled', $this->statusSummary->hosts_without_flap_detection); ?>
<?= sprintf($this->translate('%d hosts disabled'), $this->statusSummary->hosts_without_flap_detection); ?>
</a>
<?php else: ?>
<div class="box entry">
@ -33,7 +33,7 @@
'monitoring/list/hosts',
array('host_is_flapping' => 1)
); ?>" class="feature-highlight">
<?= sprintf('%d hosts flapping', $this->statusSummary->hosts_flapping); ?>
<?= sprintf($this->translate('%d hosts flapping'), $this->statusSummary->hosts_flapping); ?>
</a>
<?php endif ?>
</div>
@ -45,7 +45,7 @@
'monitoring/list/services',
array('service_flap_detection_enabled' => 0)
); ?>" class="feature-highlight">
<?= sprintf('%d services disabled', $this->statusSummary->services_without_flap_detection); ?>
<?= sprintf($this->translate('%d services disabled'), $this->statusSummary->services_without_flap_detection); ?>
</a>
<?php else: ?>
<div class="box entry">
@ -61,7 +61,7 @@
'monitoring/list/services',
array('service_is_flapping' => 1)
); ?>" class="feature-highlight">
<?= sprintf('%d services flapping', $this->statusSummary->services_flapping); ?>
<?= sprintf($this->translate('%d services flapping'), $this->statusSummary->services_flapping); ?>
</a>
<?php endif ?>
</div>
@ -84,7 +84,7 @@
'monitoring/list/hosts',
array('host_notifications_enabled' => 0)
); ?>" class="feature-highlight">
<?= sprintf('%d hosts disabled', $this->statusSummary->hosts_not_triggering_notifications); ?>
<?= sprintf($this->translate('%d hosts disabled'), $this->statusSummary->hosts_not_triggering_notifications); ?>
</a>
<?php else: ?>
<div class="box entry ">
@ -104,7 +104,7 @@
'monitoring/list/services',
array('service_notifications_enabled' => 0)
); ?>" class="feature-highlight">
<?= sprintf('%d services disabled', $this->statusSummary->services_not_triggering_notifications); ?>
<?= sprintf($this->translate('%d services disabled'), $this->statusSummary->services_not_triggering_notifications); ?>
</a>
<?php else: ?>
<div class="box entry">
@ -135,7 +135,7 @@
'monitoring/list/hosts',
array('host_event_handler_enabled' => 0)
); ?>" class="feature-highlight">
<?= sprintf('%d hosts disabled', $this->statusSummary->hosts_not_processing_event_handlers); ?>
<?= sprintf($this->translate('%d hosts disabled'), $this->statusSummary->hosts_not_processing_event_handlers); ?>
</a>
<?php else: ?>
<div class="box entry">
@ -155,7 +155,7 @@
'monitoring/list/services',
array('service_event_handler_enabled' => 0)
); ?>" class="feature-highlight">
<?= sprintf('%d services disabled', $this->statusSummary->services_not_processing_event_handlers); ?>
<?= sprintf($this->translate('%d services disabled'), $this->statusSummary->services_not_processing_event_handlers); ?>
</a>
<?php else: ?>
<div class="box entry">