mirror of
https://github.com/mempool/mempool.git
synced 2025-01-19 05:34:03 +01:00
Adding missing i18n strings on Bisq.
This commit is contained in:
parent
861344ed6d
commit
0087700aa5
@ -33,7 +33,7 @@
|
|||||||
<td>{{ stats.spent_txos | number }}</td>
|
<td>{{ stats.spent_txos | number }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td i1r8n="BSQ token price">Price</td>
|
<td i18n>Price</td>
|
||||||
<td><app-fiat [value]="price"></app-fiat></td>
|
<td><app-fiat [value]="price"></app-fiat></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<td><a [routerLink]="['/tx/' | relativeUrl, tx.id]" [state]="{ data: tx }">{{ tx.id | slice : 0 : 8 }}</a></td>
|
<td><a [routerLink]="['/tx/' | relativeUrl, tx.id]" [state]="{ data: tx }">{{ tx.id | slice : 0 : 8 }}</a></td>
|
||||||
<td class="d-none d-md-block">
|
<td class="d-none d-md-block">
|
||||||
<app-bisq-icon class="mr-1" [txType]="tx.txType"></app-bisq-icon>
|
<app-bisq-icon class="mr-1" [txType]="tx.txType"></app-bisq-icon>
|
||||||
<span class="d-none d-md-inline"> {{ tx.txTypeDisplayString }}</span>
|
<span class="d-none d-md-inline"> {{ getStringByTxType(tx.txType) }}</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<app-bisq-icon class="d-inline d-md-none mr-1" [txType]="tx.txType"></app-bisq-icon>
|
<app-bisq-icon class="d-inline d-md-none mr-1" [txType]="tx.txType"></app-bisq-icon>
|
||||||
|
@ -160,6 +160,10 @@ export class BisqTransactionsComponent implements OnInit {
|
|||||||
return outputs.reduce((acc: number, output: BisqOutput) => acc + output.bsqAmount, 0);
|
return outputs.reduce((acc: number, output: BisqOutput) => acc + output.bsqAmount, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getStringByTxType(id: string) {
|
||||||
|
return this.txTypeOptions.find((type) => type.id).name;
|
||||||
|
}
|
||||||
|
|
||||||
trackByFn(index: number) {
|
trackByFn(index: number) {
|
||||||
return index;
|
return index;
|
||||||
}
|
}
|
||||||
|
@ -658,6 +658,10 @@
|
|||||||
<context context-type="sourcefile">src/app/bisq/bisq-market/bisq-market.component.html</context>
|
<context context-type="sourcefile">src/app/bisq/bisq-market/bisq-market.component.html</context>
|
||||||
<context context-type="linenumber">79,80</context>
|
<context context-type="linenumber">79,80</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/bisq/bisq-stats/bisq-stats.component.html</context>
|
||||||
|
<context context-type="linenumber">36</context>
|
||||||
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">src/app/bisq/bisq-stats/bisq-stats.component.html</context>
|
<context context-type="sourcefile">src/app/bisq/bisq-stats/bisq-stats.component.html</context>
|
||||||
<context context-type="linenumber">78</context>
|
<context context-type="linenumber">78</context>
|
||||||
|
Loading…
Reference in New Issue
Block a user