aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/AppHeader.svelte4
-rw-r--r--src/components/Invoice.svelte4
-rw-r--r--src/components/Request.svelte4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index 03767238..59537ffa 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -51,10 +51,10 @@
><Icon icon="numpad" style="mx-auto w-6 md:w-8" />
</button>
</a>
- <a href={`/${user.username}/transactions`}>
+ <a href={`/${user.username}/payments`}>
<button
class="bg-white p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page
- .url.pathname === `/${user.username}/transactions`
+ .url.pathname === `/${user.username}/payments`
? 'opacity-100'
: 'opacity-70 hover:opacity-80'} relative"
><Icon icon="clock" style="mx-auto w-6 md:w-8" />
diff --git a/src/components/Invoice.svelte b/src/components/Invoice.svelte
index 5eb4790c..a8d9cfc6 100644
--- a/src/components/Invoice.svelte
+++ b/src/components/Invoice.svelte
@@ -14,7 +14,7 @@
<Avatar user={$invoice.user.username} size={12} />
<h1 class="my-auto">
<b>{$invoice.user.username}</b>
- {$t('transactions.isRequesting')}
+ {$t('payments.isRequesting')}
<b>{f(($invoice.amount * $invoice.rate) / sats, $invoice.currency)}</b>
{sat($invoice.amount)}
</h1>
@@ -23,7 +23,7 @@
<div class="mx-auto my-auto flex gap-2">
<a href={`/invoice/${$invoice.id}/tip`}>
<button class="rounded-full border py-2 px-4 font-bold hover:opacity-80 w-32">
- {$t('transactions.pay')}
+ {$t('payments.pay')}
</button>
</a>
</div>
diff --git a/src/components/Request.svelte b/src/components/Request.svelte
index ab0b886a..44f8516d 100644
--- a/src/components/Request.svelte
+++ b/src/components/Request.svelte
@@ -18,14 +18,14 @@
<Avatar user={$request.requester} size={12} />
<h1 class="my-auto">
<b>{$request.requester.username}</b>
- {$t('transactions.readyToPay')}
+ {$t('payments.readyToPay')}
</h1>
</div>
</div>
<div class="mx-auto my-auto flex gap-2">
<a href={`/${user.username}/receive/${$request.id}`}>
<button class="rounded-full border py-2 px-4 font-bold hover:opacity-80 w-32">
- {$t('transactions.invoice')}
+ {$t('payments.invoice')}
</button>
</a>
</div>