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 c28c8b31f..3560dc336 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 c0e2ed8b4..79a04cf40 100644 --- a/modules/monitoring/application/locale/de_DE/LC_MESSAGES/monitoring.po +++ b/modules/monitoring/application/locale/de_DE/LC_MESSAGES/monitoring.po @@ -2,21 +2,21 @@ # Copyright (C) 2016 Icinga Development Team # This file is distributed under the same license as Monitoring Module. # FIRST AUTHOR , YEAR. -# -#, fuzzy +# msgid "" msgstr "" "Project-Id-Version: Monitoring Module (2.1.2)\n" "Report-Msgid-Bugs-To: dev@icinga.org\n" "POT-Creation-Date: 2016-02-29 14:40+0000\n" -"PO-Revision-Date: 2015-11-16 14:50+0100\n" +"PO-Revision-Date: 2016-04-26 12:08+0200\n" "Last-Translator: Thomas Gelf \n" "Language: de_DE\n" -"Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language-Team: \n" +"X-Generator: Poedit 1.8.7.1\n" #: /vagrant/modules/monitoring/application/controllers/ChartController.php:375 msgid " Down Hosts (Handled)" @@ -4387,6 +4387,11 @@ msgstr "nicht erreichbar" msgid "is reachable" msgstr "erreichbar" +#: /vagrant/modules/monitoring/application/views/scripts/partials/event-history.phtml:41 +msgctxt "date.verbose" +msgid "%A, %B %e, %Y" +msgstr "%A, %e. %B %Y" + #: /vagrant/modules/monitoring/application/views/scripts/alertsummary/index.phtml:35 msgid "notifications per hour" msgstr "Benachrichtigungen per Stunde" diff --git a/modules/monitoring/application/views/scripts/list/eventhistory.phtml b/modules/monitoring/application/views/scripts/list/eventhistory.phtml index 2ee788d60..a14e8eb56 100644 --- a/modules/monitoring/application/views/scripts/list/eventhistory.phtml +++ b/modules/monitoring/application/views/scripts/list/eventhistory.phtml @@ -12,6 +12,12 @@ if (! $this->compact): ?> partial( 'partials/event-history.phtml', - array('compact' => $this->compact, 'history' => $history, 'isOverview' => true, 'tableCssClass' => 'table-row-selectable') + array( + 'compact' => $this->compact, + 'history' => $history, + 'isOverview' => true, + 'tableCssClass' => 'table-row-selectable', + 'translationDomain' => $this->translationDomain + ) ) ?> diff --git a/modules/monitoring/application/views/scripts/partials/event-history.phtml b/modules/monitoring/application/views/scripts/partials/event-history.phtml index 33e34ec8a..67236bd6a 100644 --- a/modules/monitoring/application/views/scripts/partials/event-history.phtml +++ b/modules/monitoring/application/views/scripts/partials/event-history.phtml @@ -31,6 +31,10 @@ $history->limit($limit * $page);

translate('No historical events found matching the filter.') ?>

+translate('%A, %B %e, %Y', 'date.verbose'); +$lastDate = null; +?> class=""> peekAhead() as $event): @@ -104,13 +108,22 @@ $history->limit($limit * $page); $label = $this->translate('DOWNTIME END'); break; } ?> + timestamp); + if ($currentDate !== $lastDate): + $lastDate = $currentDate; + ?> + + + +
getIteratorPosition() % $limit === 0): ?>
escape($label) ?>
-
timeAgo($event->timestamp, $this->compact) ?>
+
formatTime($event->timestamp) ?>
isOverview): ?>