aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-14 12:43:20 -0600
committerAdam Soltys <[email protected]>2022-11-14 12:43:20 -0600
commitd0289d5358a5b50e3b390a920f6c109221e74b05 (patch)
tree9dd2a2ab7fe236d9574580e2f98ad62157872ea1 /src/routes/(app)
parent54600e38ff6c9e9b762bea09928dc3d290b33498 (diff)
downloadcoinos-ui-d0289d5358a5b50e3b390a920f6c109221e74b05.tar.gz
coinos-ui-d0289d5358a5b50e3b390a920f6c109221e74b05.zip
missing translation strings
Diffstat (limited to 'src/routes/(app)')
-rw-r--r--src/routes/(app)/ln/[lnurl]/+page.svelte3
-rw-r--r--src/routes/(app)/send/[...text]/+page.svelte6
-rw-r--r--src/routes/(app)/send/[uuid=uuid]/+page.svelte8
-rw-r--r--src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte5
-rw-r--r--src/routes/(app)/send/lightning/[payreq]/+page.svelte7
-rw-r--r--src/routes/(app)/send/user/[username]/[...amount]/+page.svelte3
-rw-r--r--src/routes/(app)/send/voucher/+page.svelte3
7 files changed, 23 insertions, 12 deletions
diff --git a/src/routes/(app)/ln/[lnurl]/+page.svelte b/src/routes/(app)/ln/[lnurl]/+page.svelte
index 92eca3e0..95534759 100644
--- a/src/routes/(app)/ln/[lnurl]/+page.svelte
+++ b/src/routes/(app)/ln/[lnurl]/+page.svelte
@@ -1,4 +1,5 @@
<script>
+ import { t } from '$lib/translations';
import { enhance } from '$app/forms';
import { Numpad, Spinner } from '$comp';
import { pin } from '$lib/store';
@@ -38,7 +39,7 @@
{#if loading}
<Spinner />
{:else}
- Send
+ {$t('transactions.send')}
{/if}
</button>
</div>
diff --git a/src/routes/(app)/send/[...text]/+page.svelte b/src/routes/(app)/send/[...text]/+page.svelte
index b2d3d764..7c81bd74 100644
--- a/src/routes/(app)/send/[...text]/+page.svelte
+++ b/src/routes/(app)/send/[...text]/+page.svelte
@@ -1,6 +1,6 @@
<script>
import { page } from '$app/stores';
- import { fly } from 'svelte/transition';
+ import { fly } from 'svelte/transition';
import { enhance } from '$app/forms';
import { tick } from 'svelte';
import { browser } from '$app/environment';
@@ -31,7 +31,9 @@
<AppHeader {data} />
<div class="container px-4 max-w-lg mx-auto space-y-5 mt-20">
- <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">Send</h1>
+ <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">
+ {$t('transactions.send')}
+ </h1>
<form method="POST" use:enhance>
{#if form?.error}
diff --git a/src/routes/(app)/send/[uuid=uuid]/+page.svelte b/src/routes/(app)/send/[uuid=uuid]/+page.svelte
index 8e75be57..6c54f487 100644
--- a/src/routes/(app)/send/[uuid=uuid]/+page.svelte
+++ b/src/routes/(app)/send/[uuid=uuid]/+page.svelte
@@ -1,4 +1,5 @@
<script>
+ import { t } from '$lib/translations';
import { goto } from '$app/navigation';
import { pin, selectedRate } from '$lib/store';
import { enhance } from '$app/forms';
@@ -45,7 +46,10 @@
<div class="container px-4 mt-20 max-w-xl mx-auto">
{#if amount}
<div class="text-center mb-8">
- <h1 class="text-xl md:text-2xl text-secondary mb-2">Send</h1>
+ <h1 class="text-xl md:text-2xl text-secondary mb-2">
+
+ {$t('transactions.send')}
+ </h1>
<p class="text-6xl break-words mb-4">
{fiat ? f(amountFiat, currency) : '⚡️' + s(amount)}
</p>
@@ -78,7 +82,7 @@
{#if loading}
<Spinner />
{:else}
- Send
+ {$t('transactions.send')}
{/if}
</button>
{:else}
diff --git a/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte
index a9382eb7..87401749 100644
--- a/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte
+++ b/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte
@@ -1,4 +1,5 @@
<script>
+ import { t } from '$lib/translations';
import { enhance } from '$app/forms';
import { Icon, Numpad, Spinner } from '$comp';
import { page } from '$app/stores';
@@ -32,7 +33,7 @@
<div class="container px-4 mt-20 max-w-xl mx-auto">
<div class="text-center mb-8">
- <h1 class="text-3xl md:text-4xl font-semibold mb-2">Send to</h1>
+ <h1 class="text-3xl md:text-4xl font-semibold mb-2">{$t("transactions.sendTo")}</h1>
<p class="text-lg text-secondary">{address}</p>
</div>
<Numpad bind:amount {currency} />
@@ -50,7 +51,7 @@
{#if loading}
<Spinner />
{:else}
- Send
+ {$t('transactions.send')}
{/if}
</button>
</div>
diff --git a/src/routes/(app)/send/lightning/[payreq]/+page.svelte b/src/routes/(app)/send/lightning/[payreq]/+page.svelte
index ffe841d2..46dd71d1 100644
--- a/src/routes/(app)/send/lightning/[payreq]/+page.svelte
+++ b/src/routes/(app)/send/lightning/[payreq]/+page.svelte
@@ -1,4 +1,5 @@
<script>
+ import { t } from '$lib/translations';
import { enhance } from '$app/forms';
import { Icon, Numpad, Spinner } from '$comp';
import { page } from '$app/stores';
@@ -37,11 +38,11 @@
<div class="container px-4 mt-20 max-w-xl mx-auto">
{#if amount}
<div class="text-center mb-8">
- <h1 class="text-xl md:text-2xl text-secondary mb-2">Send</h1>
+ <h1 class="text-xl md:text-2xl text-secondary mb-2">{$t('transactions.send')}</h1>
<p class="text-6xl break-words mb-4">
{s(amount)} <span class="text-xl md:text-2xl text-secondary">sats</span>
</p>
- <h1 class="text-xl md:text-2xl text-secondary mb-2">to</h1>
+ <h1 class="text-xl md:text-2xl text-secondary mb-2">{$t('transactions.to')}</h1>
<p class="text-6xl break-words">{alias}</p>
</div>
@@ -60,7 +61,7 @@
{#if loading}
<Spinner />
{:else}
- Send
+ {$t('transactions.send')}
{/if}
</button>
</div>
diff --git a/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte b/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte
index 89cec12f..641c30e1 100644
--- a/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte
+++ b/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte
@@ -1,4 +1,5 @@
<script>
+ import { t } from '$lib/translations';
import { goto } from '$app/navigation';
import { pin, selectedRate } from '$lib/store';
import { enhance } from '$app/forms';
@@ -86,7 +87,7 @@
{#if loading}
<Spinner />
{:else}
- Send
+ {$t('transactions.send')}
{/if}
</button>
{:else}
diff --git a/src/routes/(app)/send/voucher/+page.svelte b/src/routes/(app)/send/voucher/+page.svelte
index 2c54c4a6..3f45a368 100644
--- a/src/routes/(app)/send/voucher/+page.svelte
+++ b/src/routes/(app)/send/voucher/+page.svelte
@@ -1,4 +1,5 @@
<script>
+ import { t } from '$lib/translations';
import { enhance } from '$app/forms';
import { Icon, Numpad, Spinner } from '$comp';
import { page } from '$app/stores';
@@ -45,7 +46,7 @@
{#if loading}
<Spinner />
{:else}
- Send
+ {$t('transactions.send')}
{/if}
</button>
</div>