diff --git a/modules/monitoring/application/controllers/TacticalController.php b/modules/monitoring/application/controllers/TacticalController.php index 2c99e6d65..a48e053ca 100644 --- a/modules/monitoring/application/controllers/TacticalController.php +++ b/modules/monitoring/application/controllers/TacticalController.php @@ -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'); diff --git a/modules/monitoring/application/locale/de_DE/LC_MESSAGES/monitoring.mo b/modules/monitoring/application/locale/de_DE/LC_MESSAGES/monitoring.mo index e7c3f0b15..96f792026 100644 Binary files a/modules/monitoring/application/locale/de_DE/LC_MESSAGES/monitoring.mo and b/modules/monitoring/application/locale/de_DE/LC_MESSAGES/monitoring.mo differ diff --git a/modules/monitoring/application/locale/de_DE/LC_MESSAGES/monitoring.po b/modules/monitoring/application/locale/de_DE/LC_MESSAGES/monitoring.po index 29a28d632..79fda3e05 100644 --- a/modules/monitoring/application/locale/de_DE/LC_MESSAGES/monitoring.po +++ b/modules/monitoring/application/locale/de_DE/LC_MESSAGES/monitoring.po @@ -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 \n" "Language-Team: LANGUAGE \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" diff --git a/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml b/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml index 41ad3331d..8e6d35221 100644 --- a/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml +++ b/modules/monitoring/application/views/scripts/tactical/components/monitoringfeatures.phtml @@ -17,7 +17,7 @@ 'monitoring/list/hosts', array('host_flap_detection_enabled' => 0) ); ?>" class="feature-highlight"> - statusSummary->hosts_without_flap_detection); ?> + translate('%d hosts disabled'), $this->statusSummary->hosts_without_flap_detection); ?>
@@ -33,7 +33,7 @@ 'monitoring/list/hosts', array('host_is_flapping' => 1) ); ?>" class="feature-highlight"> - statusSummary->hosts_flapping); ?> + translate('%d hosts flapping'), $this->statusSummary->hosts_flapping); ?>
@@ -45,7 +45,7 @@ 'monitoring/list/services', array('service_flap_detection_enabled' => 0) ); ?>" class="feature-highlight"> - statusSummary->services_without_flap_detection); ?> + translate('%d services disabled'), $this->statusSummary->services_without_flap_detection); ?>
@@ -61,7 +61,7 @@ 'monitoring/list/services', array('service_is_flapping' => 1) ); ?>" class="feature-highlight"> - statusSummary->services_flapping); ?> + translate('%d services flapping'), $this->statusSummary->services_flapping); ?>
@@ -84,7 +84,7 @@ 'monitoring/list/hosts', array('host_notifications_enabled' => 0) ); ?>" class="feature-highlight"> - statusSummary->hosts_not_triggering_notifications); ?> + translate('%d hosts disabled'), $this->statusSummary->hosts_not_triggering_notifications); ?>
@@ -104,7 +104,7 @@ 'monitoring/list/services', array('service_notifications_enabled' => 0) ); ?>" class="feature-highlight"> - statusSummary->services_not_triggering_notifications); ?> + translate('%d services disabled'), $this->statusSummary->services_not_triggering_notifications); ?>
@@ -135,7 +135,7 @@ 'monitoring/list/hosts', array('host_event_handler_enabled' => 0) ); ?>" class="feature-highlight"> - statusSummary->hosts_not_processing_event_handlers); ?> + translate('%d hosts disabled'), $this->statusSummary->hosts_not_processing_event_handlers); ?>
@@ -155,7 +155,7 @@ 'monitoring/list/services', array('service_event_handler_enabled' => 0) ); ?>" class="feature-highlight"> - statusSummary->services_not_processing_event_handlers); ?> + translate('%d services disabled'), $this->statusSummary->services_not_processing_event_handlers); ?>