mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 06:47:52 +01:00
Merge pull request #3138 from mempool/simon/fix-duplicate-i18n-string-11
Fix for duplicate i18n strings
This commit is contained in:
commit
a721761d49
2 changed files with 10 additions and 23 deletions
|
@ -43,10 +43,8 @@
|
|||
<div [attr.data-cy]="'bitcoin-block-' + i + '-transactions'" class="transaction-count">
|
||||
<ng-container
|
||||
*ngTemplateOutlet="block.tx_count === 1 ? transactionsSingular : transactionsPlural; context: {$implicit: block.tx_count | number}"></ng-container>
|
||||
<ng-template #transactionsSingular let-i i18n="shared.transaction-count.singular">{{ i }}
|
||||
transaction</ng-template>
|
||||
<ng-template #transactionsPlural let-i i18n="shared.transaction-count.plural">{{ i }}
|
||||
transactions</ng-template>
|
||||
<ng-template #transactionsSingular let-i i18n="shared.transaction-count.singular">{{ i }} transaction</ng-template>
|
||||
<ng-template #transactionsPlural let-i i18n="shared.transaction-count.plural">{{ i }} transactions</ng-template>
|
||||
</div>
|
||||
<div [attr.data-cy]="'bitcoin-block-' + offset + '-index-' + i + '-time'" class="time-difference">
|
||||
<app-time-since [time]="block.timestamp" [fastRender]="true"></app-time-since></div>
|
||||
|
|
|
@ -325,6 +325,10 @@
|
|||
<context context-type="sourcefile">src/app/components/block/block.component.html</context>
|
||||
<context context-type="linenumber">310,311</context>
|
||||
</context-group>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/blockchain-blocks/blockchain-blocks.component.html</context>
|
||||
<context context-type="linenumber">46,47</context>
|
||||
</context-group>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/mempool-blocks/mempool-blocks.component.html</context>
|
||||
<context context-type="linenumber">21,22</context>
|
||||
|
@ -345,6 +349,10 @@
|
|||
<context context-type="sourcefile">src/app/components/block/block.component.html</context>
|
||||
<context context-type="linenumber">311,312</context>
|
||||
</context-group>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/blockchain-blocks/blockchain-blocks.component.html</context>
|
||||
<context context-type="linenumber">47,48</context>
|
||||
</context-group>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/mempool-blocks/mempool-blocks.component.html</context>
|
||||
<context context-type="linenumber">22,23</context>
|
||||
|
@ -2747,25 +2755,6 @@
|
|||
</context-group>
|
||||
<note priority="1" from="description">block.empty-block-explanation</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="9ad9918c6f76f1a93cfaafc087583db8baf07a4f" datatype="html">
|
||||
<source><x id="INTERPOLATION" equiv-text="transaction</ng-template>
|
||||
<ng-template #transactionsPlural let-i i18n="sha"/> transaction</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/blockchain-blocks/blockchain-blocks.component.html</context>
|
||||
<context context-type="linenumber">47</context>
|
||||
</context-group>
|
||||
<note priority="1" from="description">shared.transaction-count.singular</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="a831c45d74e3d1a7c69872bbd7f813ace6a9ec41" datatype="html">
|
||||
<source><x id="INTERPOLATION" equiv-text="transactions</ng-template>
|
||||
</div>
|
||||
<div [attr.data-cy]="'bitcoin-"/> transactions</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/blockchain-blocks/blockchain-blocks.component.html</context>
|
||||
<context context-type="linenumber">49</context>
|
||||
</context-group>
|
||||
<note priority="1" from="description">shared.transaction-count.plural</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="e70fcca5a99575cffef3ff8cbd5e69f06ffd0f1c" datatype="html">
|
||||
<source>Pool</source>
|
||||
<context-group purpose="location">
|
||||
|
|
Loading…
Add table
Reference in a new issue