i18n all the remaining strings.

This commit is contained in:
softsimon
2020-12-03 18:34:19 +07:00
parent 80552fcd78
commit 4d097ea92a
39 changed files with 776 additions and 424 deletions

View File

@@ -1,5 +1,5 @@
<div class="container-xl">
<h1 style="float: left;">Blocks</h1>
<h1 style="float: left;" i18n>Blocks</h1>
<br>
<div class="clearfix"></div>
@@ -9,15 +9,15 @@
<div class="table-responsive-sm">
<table class="table table-borderless table-striped">
<thead>
<th style="width: 25%;">Height</th>
<th style="width: 25%;">Confirmed</th>
<th style="width: 25%;">Total Sent</th>
<th class="d-none d-md-block" style="width: 25%;">Transactions</th>
<th style="width: 25%;" i18n>Height</th>
<th style="width: 25%;" i18n>Confirmed</th>
<th style="width: 25%;" i18n>Total sent</th>
<th class="d-none d-md-block" style="width: 25%;" i18n>Transactions</th>
</thead>
<tbody *ngIf="blocks.value; else loadingTmpl">
<tr *ngFor="let block of blocks.value[0]; trackBy: trackByFn">
<td><a [routerLink]="['/block/' | relativeUrl, block.hash]" [state]="{ data: { block: block } }">{{ block.height }}</a></td>
<td><app-time-since [time]="block.time / 1000" [fastRender]="true"></app-time-since> ago</td>
<td><app-time-since [time]="block.time / 1000" [fastRender]="true"></app-time-since></td>
<td>{{ calculateTotalOutput(block) / 100 | number: '1.2-2' }}<span class="d-none d-md-inline"> BSQ</span></td>
<td class="d-none d-md-block">{{ block.txs.length }}</td>
</tr>