diff options
| author | Adrien Hopkins <[email protected]> | 2022-08-19 12:05:20 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-08-19 12:05:20 -0500 |
| commit | f6782b7290b2a315139c07bb081642b7e482ae0c (patch) | |
| tree | 355b029a78097214eda91ce12f87268a9d8589c9 /src/routes/+error.svelte | |
| parent | 45a011ebfbcfe0a5cd986316570919ef271fcd8b (diff) | |
| download | coinos-ui-f6782b7290b2a315139c07bb081642b7e482ae0c.tar.gz coinos-ui-f6782b7290b2a315139c07bb081642b7e482ae0c.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.svelte | 5 |
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} |
