mirror of
https://github.com/mempool/mempool.git
synced 2025-02-25 07:07:36 +01:00
Adding missing Asset page strings. Fixed block title translations.
This commit is contained in:
parent
9ebb9a5d65
commit
10b9778b3c
4 changed files with 102 additions and 18 deletions
|
@ -1,14 +1,14 @@
|
||||||
<div class="container-xl">
|
<div class="container-xl">
|
||||||
<h1 style="float: left;">Registered assets</h1>
|
<h1 style="float: left;" i18n="Registered assets page header">Registered assets</h1>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
|
|
||||||
<form [formGroup]="searchForm" class="form-inline">
|
<form [formGroup]="searchForm" class="form-inline">
|
||||||
<div class="input-group m-2">
|
<div class="input-group m-2">
|
||||||
<input style="width: 250px;" formControlName="searchText" type="text" class="form-control" placeholder="Search asset">
|
<input style="width: 250px;" formControlName="searchText" type="text" class="form-control" i8n-placeholder="Search Assets Placeholder Text" placeholder="Search asset">
|
||||||
<div class="input-group-append">
|
<div class="input-group-append">
|
||||||
<button [disabled]="!searchForm.get('searchText')?.value.length" class="btn btn-secondary" type="button" (click)="searchForm.get('searchText')?.setValue('');" autocomplete="off">Clear</button>
|
<button [disabled]="!searchForm.get('searchText')?.value.length" class="btn btn-secondary" type="button" (click)="searchForm.get('searchText')?.setValue('');" autocomplete="off" i18n="Search Clear Button">Clear</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -16,11 +16,11 @@
|
||||||
<ng-container *ngIf="(assets$ | async) as filteredAssets; else isLoading">
|
<ng-container *ngIf="(assets$ | async) as filteredAssets; else isLoading">
|
||||||
<table class="table table-borderless table-striped">
|
<table class="table table-borderless table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<th class="td-name">Name</th>
|
<th class="td-name" i18n="Asset name header">Name</th>
|
||||||
<th>Ticker</th>
|
<th i18n="Asset ticker header">Ticker</th>
|
||||||
<th class="d-none d-md-block">Issuer domain</th>
|
<th class="d-none d-md-block" i18n="Asset Issuer Domain header">Issuer domain</th>
|
||||||
<th>Asset ID</th>
|
<th i18n="Asset ID header">Asset ID</th>
|
||||||
<th class="d-none d-lg-block">Issuance TX</th>
|
<th class="d-none d-lg-block" i18n="Asset issuance transaction header">Issuance TX</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let asset of filteredAssets; trackBy: trackByAsset">
|
<tr *ngFor="let asset of filteredAssets; trackBy: trackByAsset">
|
||||||
|
@ -43,11 +43,11 @@
|
||||||
|
|
||||||
<table class="table table-borderless table-striped">
|
<table class="table table-borderless table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<th>Name</th>
|
<th i18n="Asset name header">Name</th>
|
||||||
<th>Ticker</th>
|
<th i18n="Asset ticker header">Ticker</th>
|
||||||
<th>Issuer domain</th>
|
<th i18n="Asset Issuer Domain header">Issuer domain</th>
|
||||||
<th>Asset ID</th>
|
<th i18n="Asset ID header">Asset ID</th>
|
||||||
<th>Issuance TX</th>
|
<th i18n="Asset issuance transaction header">Issuance TX</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let dummy of [0,0,0]">
|
<tr *ngFor="let dummy of [0,0,0]">
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
|
|
||||||
<ng-template [ngIf]="error">
|
<ng-template [ngIf]="error">
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
Error loading assets data.
|
<ng-container i18n="Asset data load error">Error loading assets data.</ng-container>
|
||||||
<br>
|
<br>
|
||||||
<i>{{ error.error }}</i>
|
<i>{{ error.error }}</i>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -82,7 +82,7 @@ export class BisqBlockComponent implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
this.blockHeight = block.height;
|
this.blockHeight = block.height;
|
||||||
this.seoService.setTitle($localize`:@@bisq-block.component.browser-title:Block ${block.height}:INTERPOLATION:: ${block.hash}:INTERPOLATION:`);
|
this.seoService.setTitle($localize`:@@bisq-block.component.browser-title:Block ${block.height}:BLOCK_HEIGHT:: ${block.hash}:BLOCK_HASH:`);
|
||||||
this.block = block;
|
this.block = block;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,7 +95,7 @@ export class BlockComponent implements OnInit, OnDestroy {
|
||||||
tap((block: Block) => {
|
tap((block: Block) => {
|
||||||
this.block = block;
|
this.block = block;
|
||||||
this.blockHeight = block.height;
|
this.blockHeight = block.height;
|
||||||
this.seoService.setTitle($localize`:@@block.component.browser-title:Block ${block.height}:INTERPOLATION:: ${block.id}:INTERPOLATION:`);
|
this.seoService.setTitle($localize`:@@block.component.browser-title:Block ${block.height}:BLOCK_HEIGHT:: ${block.id}:BLOCK_ID:`);
|
||||||
this.isLoadingBlock = false;
|
this.isLoadingBlock = false;
|
||||||
if (block.coinbaseTx) {
|
if (block.coinbaseTx) {
|
||||||
this.coinbaseTx = block.coinbaseTx;
|
this.coinbaseTx = block.coinbaseTx;
|
||||||
|
|
|
@ -541,7 +541,7 @@
|
||||||
<note priority="1" from="description">shared.confidential</note>
|
<note priority="1" from="description">shared.confidential</note>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="block.component.browser-title" datatype="html">
|
<trans-unit id="block.component.browser-title" datatype="html">
|
||||||
<source>Block <x id="INTERPOLATION" equiv-text="block.id"/>: <x id="INTERPOLATION" equiv-text="block.id"/></source>
|
<source>Block <x id="BLOCK_HEIGHT" equiv-text="block.height"/>: <x id="BLOCK_ID" equiv-text="block.id"/></source>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">src/app/components/block/block.component.ts</context>
|
<context context-type="sourcefile">src/app/components/block/block.component.ts</context>
|
||||||
<context context-type="linenumber">98</context>
|
<context context-type="linenumber">98</context>
|
||||||
|
@ -1430,6 +1430,90 @@
|
||||||
</context-group>
|
</context-group>
|
||||||
<note priority="1" from="description">asset.error.loading-asset-data</note>
|
<note priority="1" from="description">asset.error.loading-asset-data</note>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="791a4c4131a0ae0aaf82ddb66dacdc7f1c007c3b" datatype="html">
|
||||||
|
<source>Registered assets</source>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">2</context>
|
||||||
|
</context-group>
|
||||||
|
<note priority="1" from="description">Registered assets page header</note>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="99ee4faa69cd2ea8e3678c1f557c0ff1f05aae46" datatype="html">
|
||||||
|
<source>Clear</source>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">11</context>
|
||||||
|
</context-group>
|
||||||
|
<note priority="1" from="description">Search Clear Button</note>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="cff1428d10d59d14e45edec3c735a27b5482db59" datatype="html">
|
||||||
|
<source>Name</source>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">19</context>
|
||||||
|
</context-group>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">46</context>
|
||||||
|
</context-group>
|
||||||
|
<note priority="1" from="description">Asset name header</note>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="4ad173c0e4010b1f25bf58e96a383edc1b59cd80" datatype="html">
|
||||||
|
<source>Ticker</source>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">20</context>
|
||||||
|
</context-group>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">47</context>
|
||||||
|
</context-group>
|
||||||
|
<note priority="1" from="description">Asset ticker header</note>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="465c39daa2b644679d73a451043622f1610a2084" datatype="html">
|
||||||
|
<source>Issuer domain</source>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">21</context>
|
||||||
|
</context-group>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">48</context>
|
||||||
|
</context-group>
|
||||||
|
<note priority="1" from="description">Asset Issuer Domain header</note>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="d5e7c95d7c8920ae0a384e3fffb14776b1e203f4" datatype="html">
|
||||||
|
<source>Asset ID</source>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">22</context>
|
||||||
|
</context-group>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">49</context>
|
||||||
|
</context-group>
|
||||||
|
<note priority="1" from="description">Asset ID header</note>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="cf1fbcd10d4be4845152f2e10d1db9bc61dd9410" datatype="html">
|
||||||
|
<source>Issuance TX</source>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">23</context>
|
||||||
|
</context-group>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
<note priority="1" from="description">Asset issuance transaction header</note>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="52686df280be57a57e1e9ecf5786499b147e0e90" datatype="html">
|
||||||
|
<source>Error loading assets data.</source>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">src/app/assets/assets.component.html</context>
|
||||||
|
<context context-type="linenumber">67</context>
|
||||||
|
</context-group>
|
||||||
|
<note priority="1" from="description">Asset data load error</note>
|
||||||
|
</trans-unit>
|
||||||
<trans-unit id="e5d8bb389c702588877f039d72178f219453a72d" datatype="html">
|
<trans-unit id="e5d8bb389c702588877f039d72178f219453a72d" datatype="html">
|
||||||
<source>Unknown</source>
|
<source>Unknown</source>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
|
@ -2405,7 +2489,7 @@
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="bisq-block.component.browser-title" datatype="html">
|
<trans-unit id="bisq-block.component.browser-title" datatype="html">
|
||||||
<source>Block <x id="INTERPOLATION" equiv-text="block.hash"/>: <x id="INTERPOLATION" equiv-text="block.hash"/></source>
|
<source>Block <x id="BLOCK_HEIGHT" equiv-text="block.height"/>: <x id="BLOCK_HASH" equiv-text="block.hash"/></source>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">src/app/bisq/bisq-block/bisq-block.component.ts</context>
|
<context context-type="sourcefile">src/app/bisq/bisq-block/bisq-block.component.ts</context>
|
||||||
<context context-type="linenumber">85</context>
|
<context context-type="linenumber">85</context>
|
||||||
|
|
Loading…
Add table
Reference in a new issue