aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/tx
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-13 23:49:59 -0800
committerAdam Soltys <[email protected]>2023-01-13 23:49:59 -0800
commitb1ad12734eeafc36a07bd76f649a98ae9ade5723 (patch)
treec8721da657a75160c55aaf6bc7cc573669cb52dd /src/routes/(app)/tx
parent277b921ab2a97ac170f980c3c916ab1488318f2f (diff)
downloadcoinos-ui-b1ad12734eeafc36a07bd76f649a98ae9ade5723.tar.gz
coinos-ui-b1ad12734eeafc36a07bd76f649a98ae9ade5723.zip
payments migration
Diffstat (limited to 'src/routes/(app)/tx')
-rw-r--r--src/routes/(app)/tx/[id]/+page.svelte10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/routes/(app)/tx/[id]/+page.svelte b/src/routes/(app)/tx/[id]/+page.svelte
index fc793916..63e45f17 100644
--- a/src/routes/(app)/tx/[id]/+page.svelte
+++ b/src/routes/(app)/tx/[id]/+page.svelte
@@ -18,11 +18,11 @@
<div class="container mx-auto max-w-lg px-4 space-y-2 sm:space-y-5 break-all">
<h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold mb-10">
- {$t(amount < 0 ? 'transactions.sent' : 'transactions.received')}
+ {$t(amount < 0 ? 'payments.sent' : 'payments.received')}
</h1>
<div>
- <div class="font-bold">{$t('transactions.amount')}</div>
+ <div class="font-bold">{$t('payments.amount')}</div>
<div class="text-xl">
{f(fiat, currency)}
<span class="text-secondary">⚡️{`${s(Math.abs(amount) + fee)}`}</span>
@@ -30,7 +30,7 @@
</div>
<div>
- <div class="font-bold">{$t('transactions.date')}</div>
+ <div class="font-bold">{$t('payments.date')}</div>
<div>
{format(parseISO(createdAt), 'MMMM d')},
{format(parseISO(createdAt), 'h:mm aaa')}
@@ -39,14 +39,14 @@
{#if network === 'lightning'}
<div>
- <div class="font-bold">{$t('transactions.preimage')}</div>
+ <div class="font-bold">{$t('payments.preimage')}</div>
<div>
{preimage}
</div>
</div>
{:else}
<div>
- <div class="font-bold">{$t('transactions.id')}</div>
+ <div class="font-bold">{$t('payments.id')}</div>
<div class="flex">
<div>
<a href={`${expl}/tx/${hash}`} target="_blank" class="text-blue-600">{hash}</a>