Enable translation in 3 Alert widget (#14164)

* translate alertlog widget

* translate alertlog_stats widget

* translate alerts widget
This commit is contained in:
Peca Nesovanovic
2022-07-31 16:06:17 +02:00
committed by GitHub
parent a2c705bd87
commit a5cc4dc90c
3 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -3,10 +3,10 @@
<thead>
<tr>
<th data-column-id="status" data-sortable="false"></th>
<th data-column-id="time_logged" data-order="desc">Timestamp</th>
<th data-column-id="time_logged" data-order="desc">{{ __('Timestamp') }}</th>
<th data-column-id="details" data-sortable="false">&nbsp;</th>
<th data-column-id="hostname">Device</th>
<th data-column-id="alert">Alert</th>
<th data-column-id="hostname">{{ __('Device') }}</th>
<th data-column-id="alert">{{ __('Alert') }}</th>
</tr>
</thead>
</table>
@@ -2,9 +2,9 @@
<table id="alertlog-stats_{{ $id }}" class="table table-hover table-condensed table-striped" data-ajax="true">
<thead>
<tr>
<th data-column-id="count">Count</th>
<th data-column-id="hostname">Device</th>
<th data-column-id="alert_rule">Alert rule</th>
<th data-column-id="count">{{ __('Count') }}</th>
<th data-column-id="hostname">{{ __('Device') }}</th>
<th data-column-id="alert_rule">{{ __('Alert rule') }}</th>
</tr>
</thead>
</table>
+6 -6
View File
@@ -3,13 +3,13 @@
<thead>
<tr>
<th data-column-id="severity"></th>
<th data-column-id="timestamp">Timestamp</th>
<th data-column-id="rule">Rule</th>
<th data-column-id="timestamp">{{ __('Timestamp') }}</th>
<th data-column-id="rule">{{ __('Rule') }}</th>
<th data-column-id="details" data-sortable="false"></th>
<th data-column-id="hostname">Hostname</th>
<th data-column-id="location" data-visible="{{ $location ? 'true' : 'false' }}">Location</th>
<th data-column-id="ack_ico" data-sortable="false">ACK</th>
<th data-column-id="notes" data-sortable="false">Notes</th>
<th data-column-id="hostname">{{ __('Hostname') }}</th>
<th data-column-id="location" data-visible="{{ $location ? 'true' : 'false' }}">{{ __('Location') }}</th>
<th data-column-id="ack_ico" data-sortable="false">{{ __('ACK') }}</th>
<th data-column-id="notes" data-sortable="false">{{ __('Notes') }}</th>
<th data-column-id="proc" data-sortable="false" data-visible="{{ $proc ? 'true' : 'false' }}">URL</th>
</tr>
</thead>