aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/+error.svelte
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2022-08-19 12:05:20 -0500
committerAdrien Hopkins <[email protected]>2022-08-19 12:05:20 -0500
commitc5da4bee0df769a83bbebcfc4f105e5326f62987 (patch)
tree7495c4b21db1fc758ac4ef6826ad50e3f6180b42 /src/routes/+error.svelte
parent7935e114ec9845dcf298f2e4b4d9926164acfed3 (diff)
downloadcoinos-ui-c5da4bee0df769a83bbebcfc4f105e5326f62987.tar.gz
coinos-ui-c5da4bee0df769a83bbebcfc4f105e5326f62987.zip
Extracted all remaining strings to en.json
- Changed SATS to SAT, and hours to hr to be more international - Edited conversion fee warning because it was incorrect (you only pay a fee if you're converting between BTC<->Liquid<->Lightning)
Diffstat (limited to 'src/routes/+error.svelte')
-rw-r--r--src/routes/+error.svelte5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte
index e555a032..2a8846c3 100644
--- a/src/routes/+error.svelte
+++ b/src/routes/+error.svelte
@@ -1,6 +1,7 @@
<script>
import { page } from '$app/stores';
import { Icon, PageNotFound } from '$comp';
+ import { _ } from 'svelte-i18n';
</script>
{#if $page.error.message.includes('not found') || $page.status === 404}
@@ -14,9 +15,9 @@
<Icon icon="error" style="mx-auto w-56" />
- <h1 class="font-bold text-5xl">Error</h1>
+ <h1 class="font-bold text-5xl">{$_('error.header'), { default: "Error" }}</h1>
<p class="px-1 w-full md:w-96 break-all font-bold">{$page.error.message.toUpperCase()}</p>
- <p>Please try again or contact support.</p>
+ <p>{$_('error.message'), { default: "Please try again or contact support." }}</p>
</div>
</div>
{/if}