Merge pull request #3409 from Icinga/fix/missing-german-tactical-overview-translations-3375

Fix missing german tactical overview translations
This commit is contained in:
Johannes Meyer 2018-04-05 13:55:33 +02:00 committed by GitHub
commit b24d6f45e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 8 deletions

View File

@ -65,7 +65,7 @@ class TacticalController extends Controller
->addSlice($summary->hosts_not_checked, array('class' => 'slice-state-not-checked'))
->setLabelBig($summary->hosts_down_unhandled)
->setLabelBigEyeCatching($summary->hosts_down_unhandled > 0)
->setLabelSmall($this->translate('hosts down'));
->setLabelSmall($this->translate('Hosts Down'));
$serviceSummaryChart = new Donut();
$serviceSummaryChart
@ -80,7 +80,7 @@ class TacticalController extends Controller
->addSlice($summary->services_not_checked, array('class' => 'slice-state-not-checked'))
->setLabelBig($summary->services_critical_unhandled)
->setLabelBigEyeCatching($summary->services_critical_unhandled > 0)
->setLabelSmall($this->translate('services critical'));
->setLabelSmall($this->translate('Services Critical'));
$this->view->hostStatusSummaryChart = $hostSummaryChart
->setLabelBigUrl($this->view->url(

View File

@ -3854,6 +3854,22 @@ msgstr "System"
msgid "Tactical Overview"
msgstr "Taktische Übersicht"
#: ../../../../modules/monitoring/application/controllers/TacticalController.php:83
msgid "Services Critical"
msgstr "Services Kritisch"
#: ../../../../modules/monitoring/application/controllers/TacticalController.php:68
msgid "Hosts Down"
msgstr "Hosts Down"
#: ../../../../modules/monitoring/application/views/scripts/tactical/index.phtml:9
msgid "Host Summary"
msgstr "Host Übersicht"
#: ../../../../modules/monitoring/application/views/scripts/tactical/index.phtml:61
msgid "Service Summary"
msgstr "Service Übersicht"
#: ../../../../modules/monitoring/library/Monitoring/MonitoringWizard.php:183
msgid ""
"The Zend database adapter for MySQL is required to access a MySQL database."

View File

@ -21,7 +21,7 @@
if ($statusSummary->hosts_down_handled):?>
<tr href="<?= $this->url('monitoring/list/hosts', array('host_state' => 1, 'host_handled' => 1, 'sort' => 'host_last_check', 'dir' => 'asc')) ?>">
<th class="state slice-state-critical-handled badge"><?= $statusSummary->hosts_down_handled ?></th>
<td><?= $this->translate('Down handled') ?></td>
<td><?= $this->translate('Down') ?> (<?= $this->translate('Handled') ?>)</td>
</tr>
<?php endif;
if ($statusSummary->hosts_down_unhandled):?>
@ -33,7 +33,7 @@
if ($statusSummary->hosts_unreachable_handled):?>
<tr href="<?= $this->url('monitoring/list/hosts', array('host_state' => 2, 'host_handled' => 1, 'sort' => 'host_last_check', 'dir' => 'asc')) ?>">
<th class="state slice-state-unreachable-handled badge"><?= $statusSummary->hosts_unreachable_handled ?></th>
<td><?= $this->translate('Unreachable handled') ?></td>
<td><?= $this->translate('Unreachable') ?> (<?= $this->translate('Handled') ?>)</td>
</tr>
<?php endif;
if ($statusSummary->hosts_unreachable_unhandled):?>
@ -73,7 +73,7 @@
if ($statusSummary->services_warning_handled):?>
<tr href="<?= $this->url('monitoring/list/services', array('service_state' => 1, 'service_handled' => 1, 'sort' => 'service_last_check', 'dir' => 'asc')) ?>">
<th class="state slice-state-warning-handled badge"><?= $statusSummary->services_warning_handled ?></th>
<td><?= $this->translate('Warning handled') ?></td>
<td><?= $this->translate('Warning') ?> (<?= $this->translate('Handled') ?>)</td>
</tr>
<?php endif;
if ($statusSummary->services_warning_unhandled):?>
@ -85,7 +85,7 @@
if ($statusSummary->services_critical_handled):?>
<tr href="<?= $this->url('monitoring/list/services', array('service_state' => 2, 'service_handled' => 1, 'sort' => 'service_last_check', 'dir' => 'asc')) ?>">
<th class="state slice-state-critical-handled badge"><?= $statusSummary->services_critical_handled ?></th>
<td><?= $this->translate('Critical handled') ?></td>
<td><?= $this->translate('Critical') ?> (<?= $this->translate('Handled') ?>)</td>
</tr>
<?php endif;
if ($statusSummary->services_critical_unhandled):?>
@ -97,7 +97,7 @@
if ($statusSummary->services_unknown_handled):?>
<tr href="<?= $this->url('monitoring/list/services', array('service_state' => 3, 'service_handled' => 1, 'sort' => 'service_last_check', 'dir' => 'asc')) ?>">
<th class="state slice-state-unknown-handled badge"><?= $statusSummary->services_unknown_handled ?></th>
<td><?= $this->translate('Unknown handled') ?></td>
<td><?= $this->translate('Unknown') ?> (<?= $this->translate('Handled') ?>)</td>
</tr>
<?php endif;
if ($statusSummary->services_unknown_unhandled):?>

View File

@ -449,7 +449,6 @@ ul.tree li a.error:hover {
.donut-label-small {
fill: @text-color;
font-size: 1.2em;
text-transform: lowercase;
text-anchor: middle;
-moz-transform: translateY(0.35em);
-ms-transform: translateY(0.35em);