From d00f4245f872e7b98b8ed037df1d21cccae2fee4 Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 2 Jul 2024 15:15:59 +0900 Subject: [PATCH] i18n fixes --- .../accelerate-checkout.component.html | 22 ++++--- frontend/src/locale/messages.xlf | 61 +++++++++++++++---- 2 files changed, 61 insertions(+), 22 deletions(-) diff --git a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.html b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.html index 54f67796c..6333760c1 100644 --- a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.html +++ b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.html @@ -73,7 +73,7 @@
- Your transaction will be prioritized by up to {{ etaInfo.hashratePercentage | number : '1.1-1' }}% of miners. + This will reduce your expected waiting time until the first confirmation to
@@ -289,7 +289,7 @@
- Your transaction will be prioritized by up to {{ etaInfo.hashratePercentage | number : '1.1-1' }}% of miners. +
@@ -347,24 +347,24 @@ @if (!calculating) { - For an additional ({{ cost | number }} sats) + For an additional ({{ cost | number }} sats) } @else { Calculating cost... } - Reducing expected confirmation time to + Reducing expected confirmation time to
- Your transaction will be prioritized by up to {{ etaInfo.hashratePercentage | number : '1.1-1' }}% of miners. +
-

Payment to mempool.space for acceleration of txid {{ tx.txid.substr(0, 10) }}..{{ tx.txid.substr(-10) }}

+

Payment to mempool.space for acceleration of txid {{ tx.txid.substr(0, 10) }}..{{ tx.txid.substr(-10) }}

@if (canPayWithBalance || !(canPayWithBitcoin || canPayWithCashapp)) {
@@ -383,7 +383,7 @@

Pay {{ ((invoice.btcDue * 100_000_000) || cost) | number }} sats

} @else { -

Loading invoice...

+

Loading invoice...

@@ -516,7 +516,7 @@ Confirmation expected
@if (!calculating) { - fee ({{ cost | number }} sats) + ({{ cost | number }} sats) } @else { Calculating cost... } @@ -555,4 +555,6 @@ Coming soon } - \ No newline at end of file + + +Your transaction will be prioritized by up to {{ i | number : '1.1-1' }}% of miners. diff --git a/frontend/src/locale/messages.xlf b/frontend/src/locale/messages.xlf index ce0e2be95..b5e0a7961 100644 --- a/frontend/src/locale/messages.xlf +++ b/frontend/src/locale/messages.xlf @@ -558,14 +558,6 @@ accelerator.how-much-faster - - Your transaction will be prioritized by up to % of miners. - - src/app/components/accelerate-checkout/accelerate-checkout.component.html - 76 - - accelerator.hashrate-percentage-description - This will reduce your expected waiting time until the first confirmation to @@ -699,6 +691,14 @@ accelerator.accelerate-your-transaction + + Confirmation expected + + src/app/components/accelerate-checkout/accelerate-checkout.component.html + 292,293 + + accelerator.confirmation-expected + Confirmation expected within several hours @@ -707,18 +707,47 @@ accelerator.confirmation-expected-within-hours - - Your transaction will be prioritized by up to % of miners. + + For an additional src/app/components/accelerate-checkout/accelerate-checkout.component.html - 325 + 350 + accelerator.for-an-additional-cost + + + Reducing expected confirmation time to src/app/components/accelerate-checkout/accelerate-checkout.component.html - 361 + 356,357 + + accelerator.reducing-expected-confirmation-time + + + + + src/app/components/accelerate-checkout/accelerate-checkout.component.html + 361,362 accelerator.hashrate-percentage-description + + Payment to mempool.space for acceleration of txid .. + + src/app/components/accelerate-checkout/accelerate-checkout.component.html + 367,368 + + accelerator.payment-to-mempool-space + + + Loading invoice... + + src/app/components/accelerate-checkout/accelerate-checkout.component.html + 386 + + accelerator.loading-invoice + OR @@ -781,6 +810,14 @@ Pay button label transaction.pay + + Your transaction will be prioritized by up to % of miners. + + src/app/components/accelerate-checkout/accelerate-checkout.component.html + 560 + + accelerator.hashrate-percentage-description + sat