Make I/O totals translatable

This commit is contained in:
Johannes Zellner
2022-10-14 12:43:24 +02:00
parent 80ede073b1
commit 4b995bb414
2 changed files with 5 additions and 3 deletions

View File

@@ -1067,9 +1067,9 @@
<canvas id="graphsMemoryChart" style="width: 100%; margin-bottom: 10px;"></canvas>
<label style="margin-top: 10px;">CPU</label>
<canvas id="graphsCpuChart" style="width: 100%; margin-bottom: 10px;"></canvas>
<label style="margin-top: 10px; display: block;">Disk I/O <span class="pull-right text-small">total: read {{ graphs.blockReadTotal }} / write {{ graphs.blockWriteTotal }}</span></label>
<label style="margin-top: 10px; display: block;">Disk I/O <span class="pull-right text-small">{{ 'app.graphs.diskIOTotal' | tr:{ read: graphs.blockReadTotal, write: graphs.blockWriteTotal } }}</span></label>
<canvas id="graphsDiskChart" style="width: 100%; margin-bottom: 10px;"></canvas>
<label style="margin-top: 10px; display: block;">Network I/O <span class="pull-right text-small">total: inbound {{ graphs.networkReadTotal }} / outbound {{ graphs.networkWriteTotal }}</span></label>
<label style="margin-top: 10px; display: block;">Network I/O <span class="pull-right text-small">{{ 'app.graphs.networkIOTotal' | tr:{ inbound: graphs.networkReadTotal, outbound: graphs.networkWriteTotal } }}</span></label>
<canvas id="graphsNetworkChart" style="width: 100%; margin-bottom: 10px;"></canvas>
</div>
</div>