i18n fixes
This commit is contained in:
parent
3dbbc83077
commit
2827dcd0ba
@ -292,7 +292,7 @@
|
||||
<span class="checkout-text">Confirmation expected <app-time kind="within" [time]="eta.time" [fastRender]="false" [fixedRender]="true"></app-time></span>
|
||||
} @else {
|
||||
<span class="checkout-text">
|
||||
<span>Confirmation expected within several hours</span>
|
||||
<span i18n="accelerator.confirmation-expected-within-hours">Confirmation expected within several hours</span>
|
||||
</span>
|
||||
}
|
||||
</label>
|
||||
@ -518,7 +518,7 @@
|
||||
@if (!calculating) {
|
||||
<app-fiat [value]="cost"></app-fiat>fee (<span><small style="font-family: monospace;">{{ cost | number }}</small> <span class="symbol" i18n="shared.sats">sats</span></span>)
|
||||
} @else {
|
||||
<span class="estimating">Calculating cost...</span>
|
||||
<span class="estimating" i18n="accelerator.calculating-cost">Calculating cost...</span>
|
||||
}
|
||||
</span>
|
||||
</ng-template>
|
||||
@ -533,7 +533,7 @@
|
||||
@if (isLoggedIn() || canPayWithBitcoin || canPayWithCashapp) {
|
||||
<button type="button" class="mt-1 btn btn-purple rounded-pill align-self-center d-flex flex-row justify-content-center align-items-center" [class.disabled]="!canPay || calculating || (!advancedEnabled && selectedOption !== 'accel')" style="width: 200px" (click)="moveToStep('checkout')">
|
||||
<img src="/resources/mempool-accelerator-sparkles-light.svg" height="20" class="mr-2" style="margin-left: -10px">
|
||||
<span>Accelerate</span>
|
||||
<span i18n="transaction.accelerate|Accelerate button label">Accelerate</span>
|
||||
</button>
|
||||
} @else {
|
||||
<button type="button" class="mt-1 btn btn-purple rounded-pill align-self-center d-flex flex-row justify-content-center align-items-center disabled" style="width: 200px">
|
||||
@ -547,7 +547,7 @@
|
||||
@if (isLoggedIn()) {
|
||||
<button type="button" class="mt-1 btn btn-purple rounded-pill align-self-center d-flex flex-row justify-content-center align-items-center" [class.disabled]="!canPay || calculating" style="width: 200px" (click)="accelerateWithMempoolAccount()">
|
||||
<img src="/resources/mempool-accelerator-sparkles-light.svg" height="20" class="mr-2" style="margin-left: -10px">
|
||||
<span>Pay</span>
|
||||
<span i18n="transaction.pay|Pay button label">Pay</span>
|
||||
</button>
|
||||
} @else {
|
||||
<button type="button" class="mt-1 btn btn-purple rounded-pill align-self-center d-flex flex-row justify-content-center align-items-center disabled" style="width: 200px">
|
||||
|
@ -182,9 +182,9 @@ export class BlockFeesSubsidyGraphComponent implements OnInit {
|
||||
if (this.displayMode === 'normal') tooltip += `<div style="margin-left: 2px">${formatNumber(data.reduce((acc, val) => acc + val.data, 0), this.locale, '1.0-3')} BTC</div>`;
|
||||
else if (this.displayMode === 'fiat') tooltip += `<div style="margin-left: 2px">${this.fiatCurrencyPipe.transform(data.reduce((acc, val) => acc + val.data, 0), null, 'USD')}</div>`;
|
||||
if (['24h', '3d'].includes(this.zoomTimeSpan)) {
|
||||
tooltip += `<small>` + $localize`At block <b style="color: white; margin-left: 2px">${data[0].axisValue}` + `</small>`;
|
||||
tooltip += `<small>` + $localize`At block ${'<b style="color: white; margin-left: 2px">' + data[0].axisValue}` + `</small>`;
|
||||
} else {
|
||||
tooltip += `<small>` + $localize`Around block <b style="color: white; margin-left: 2px">${data[0].axisValue}` + `</small>`;
|
||||
tooltip += `<small>` + $localize`Around block ${'<b style="color: white; margin-left: 2px">' + data[0].axisValue}` + `</small>`;
|
||||
}
|
||||
return tooltip;
|
||||
}.bind(this)
|
||||
|
@ -699,6 +699,14 @@
|
||||
</context-group>
|
||||
<note priority="1" from="description">accelerator.accelerate-your-transaction</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="3f27230dc33770f71a7b0d9249c3c712b116b582" datatype="html">
|
||||
<source>Confirmation expected within several hours</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/accelerate-checkout/accelerate-checkout.component.html</context>
|
||||
<context context-type="linenumber">295</context>
|
||||
</context-group>
|
||||
<note priority="1" from="description">accelerator.confirmation-expected-within-hours</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="d1a7c51db4237fc7799b1c104283ec5202f03c7d" datatype="html">
|
||||
<source>Your transaction will be prioritized by up to <x id="INTERPOLATION" equiv-text="{{ etaInfo.hashratePercentage | number : '1.1-1' }}"/>% of miners.</source>
|
||||
<context-group purpose="location">
|
||||
@ -719,6 +727,14 @@
|
||||
</context-group>
|
||||
<note priority="1" from="description">or</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="746506272a06b85cba0efc14907940df4bafdf96" datatype="html">
|
||||
<source>Calculating cost...</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/accelerate-checkout/accelerate-checkout.component.html</context>
|
||||
<context context-type="linenumber">521</context>
|
||||
</context-group>
|
||||
<note priority="1" from="description">accelerator.calculating-cost</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="484e154f1b26e67760d10baa8dddb2c69ddb1990" datatype="html">
|
||||
<source>customize</source>
|
||||
<context-group purpose="location">
|
||||
@ -735,6 +751,36 @@
|
||||
</context-group>
|
||||
<note priority="1" from="description">accelerator.accelerate-to-x</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="913e89d2d1ae354079cccf48b3d3f4ebf2e74080" datatype="html">
|
||||
<source>Accelerate</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/accelerate-checkout/accelerate-checkout.component.html</context>
|
||||
<context context-type="linenumber">536</context>
|
||||
</context-group>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/transaction/transaction.component.html</context>
|
||||
<context context-type="linenumber">139</context>
|
||||
</context-group>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/transaction/transaction.component.html</context>
|
||||
<context context-type="linenumber">557</context>
|
||||
</context-group>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/transaction/transaction.component.html</context>
|
||||
<context context-type="linenumber">566</context>
|
||||
</context-group>
|
||||
<note priority="1" from="description">Accelerate button label</note>
|
||||
<note priority="1" from="meaning">transaction.accelerate</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="65fd4251d8ddfe4017d4d83f8cec6f5a80d89289" datatype="html">
|
||||
<source>Pay</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/accelerate-checkout/accelerate-checkout.component.html</context>
|
||||
<context context-type="linenumber">550</context>
|
||||
</context-group>
|
||||
<note priority="1" from="description">Pay button label</note>
|
||||
<note priority="1" from="meaning">transaction.pay</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="83b8b9dd1ed416447cf8438460a37b0ddeb2677c" datatype="html">
|
||||
<source>sat</source>
|
||||
<context-group purpose="location">
|
||||
@ -2145,15 +2191,15 @@
|
||||
<context context-type="linenumber">79</context>
|
||||
</context-group>
|
||||
</trans-unit>
|
||||
<trans-unit id="2189751124546081426" datatype="html">
|
||||
<source>At block <b style="color: white; margin-left: 2px"><x id="PH" equiv-text="data[0].axisValue"/></source>
|
||||
<trans-unit id="8538305450922736186" datatype="html">
|
||||
<source>At block <x id="PH" equiv-text="'<b style="color: white; margin-left: 2px">' + data[0].axisValue"/></source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/block-fees-subsidy-graph/block-fees-subsidy-graph.component.ts</context>
|
||||
<context context-type="linenumber">185</context>
|
||||
</context-group>
|
||||
</trans-unit>
|
||||
<trans-unit id="4367945322724572611" datatype="html">
|
||||
<source>Around block <b style="color: white; margin-left: 2px"><x id="PH" equiv-text="data[0].axisValue"/></source>
|
||||
<trans-unit id="8807945662832318286" datatype="html">
|
||||
<source>Around block <x id="PH" equiv-text="'<b style="color: white; margin-left: 2px">' + data[0].axisValue"/></source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/block-fees-subsidy-graph/block-fees-subsidy-graph.component.ts</context>
|
||||
<context context-type="linenumber">187</context>
|
||||
@ -6355,23 +6401,6 @@
|
||||
<note priority="1" from="description">Transaction Ancestor</note>
|
||||
<note priority="1" from="meaning">transaction.ancestor</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="913e89d2d1ae354079cccf48b3d3f4ebf2e74080" datatype="html">
|
||||
<source>Accelerate</source>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/transaction/transaction.component.html</context>
|
||||
<context context-type="linenumber">139</context>
|
||||
</context-group>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/transaction/transaction.component.html</context>
|
||||
<context context-type="linenumber">557</context>
|
||||
</context-group>
|
||||
<context-group purpose="location">
|
||||
<context context-type="sourcefile">src/app/components/transaction/transaction.component.html</context>
|
||||
<context context-type="linenumber">566</context>
|
||||
</context-group>
|
||||
<note priority="1" from="description">Accelerate button label</note>
|
||||
<note priority="1" from="meaning">transaction.accelerate</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ec972116b4da9e2c5bc0e6e6586061d60cd13e56" datatype="html">
|
||||
<source>Hide accelerator</source>
|
||||
<context-group purpose="location">
|
||||
|
Loading…
x
Reference in New Issue
Block a user