diff options
| author | secondl1ght <[email protected]> | 2022-09-13 21:56:53 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-09-13 21:56:53 -0600 |
| commit | 641ec2105f9de31116c0c2f041e5f9cf9dbfdee8 (patch) | |
| tree | 60742692cad280843119e337b1309503a3fb76cb | |
| parent | 5800a0b4909e662ddfeb21a0ddb72bbe0f0be2e7 (diff) | |
| download | coinos-ui-641ec2105f9de31116c0c2f041e5f9cf9dbfdee8.tar.gz coinos-ui-641ec2105f9de31116c0c2f041e5f9cf9dbfdee8.zip | |
add translations notes
| -rw-r--r-- | src/routes/[username]/receive/+page.svelte | 4 | ||||
| -rw-r--r-- | src/routes/invoice/[id]/+page.svelte | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/routes/[username]/receive/+page.svelte b/src/routes/[username]/receive/+page.svelte index dd7b3d25..f83fc953 100644 --- a/src/routes/[username]/receive/+page.svelte +++ b/src/routes/[username]/receive/+page.svelte @@ -13,9 +13,7 @@ $: amount = parseInt(useFiat ? Math.round(amountFiat / ($selectedRate / 100000000)) : amountSats); - $: $invoiceAmount = parseInt( - !amountSats ? amountFiat / ($selectedRate / 100000000) : amountSats - ); + $: $invoiceAmount = parseInt(!amountSats ? amountFiat / ($selectedRate / 100000000) : amountSats); $: $invoiceAmountFiat = parseInt( amountFiat === 0 ? amountSats * ($selectedRate / 100000000) : amountFiat diff --git a/src/routes/invoice/[id]/+page.svelte b/src/routes/invoice/[id]/+page.svelte index 56511d15..aba892e6 100644 --- a/src/routes/invoice/[id]/+page.svelte +++ b/src/routes/invoice/[id]/+page.svelte @@ -62,7 +62,6 @@ amount + parseFloat(tipAmountSats.replace(/,/g, '')) ); - let apply = async () => { tipPercent = (customTipAmount / amountFiat) * 100; update(); @@ -235,6 +234,7 @@ disabled={showMobileTip ? !customTipAmount && !tipAmount : !customTipAmount} on:click={apply}>Apply</button > + <!-- found missing translation ---> </div> </div> </div> @@ -272,6 +272,7 @@ {$t('invoice.addTip')} </button> + <!-- found missing translation ---> <span class="text-secondary block" >Scan to pay <a href="/{username}" class="text-black font-semibold">{username}</a></span > @@ -291,6 +292,7 @@ <div class="px-5 space-y-3"> <div class="flex justify-between"> + <!-- found missing translation ---> <span class="font-semibold text-sm">Invoice</span> <span class="font-semibold text-sm" >{invoiceAmountFiatFormatted} @@ -299,6 +301,7 @@ </div> <div class="flex justify-between"> + <!-- found missing translation ---> <span class="font-semibold text-sm">Tip</span> <span class="font-semibold text-sm" >{tipAmountFormatted} @@ -307,6 +310,7 @@ </div> <div class="flex flex-wrap justify-between"> + <!-- found missing translation ---> <span class="font-bold mr-1">Total</span> <span class="font-bold" >{totalAmountFormatted} |
