From 52871e09d9218f3f2fb2ce4bd6e97f5c1fc15480 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 23 Sep 2024 16:22:10 -0700 Subject: account import --- src/routes/(app)/account/pass/+page.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/routes/(app)/account/pass') diff --git a/src/routes/(app)/account/pass/+page.svelte b/src/routes/(app)/account/pass/+page.svelte index f5e956ff..2ce8b168 100644 --- a/src/routes/(app)/account/pass/+page.svelte +++ b/src/routes/(app)/account/pass/+page.svelte @@ -28,7 +28,7 @@ let submit = async () => { if (!password || password !== confirm) { - fail("Passwords don't match"); + fail($t("accounts.passwordMismatch")); return; } @@ -59,7 +59,7 @@
-

Account password

+

{$t("accounts.accountPassword")}

- If you lose this password you won't be able to use the account. We can't - recover it for you even if you have the seed phrase. + {$t("accounts.passwordWarning")}

@@ -85,6 +84,7 @@ use:focus name="password" type="password" + placeholder={$t("accounts.password")} required bind:value={password} autocapitalize="none" @@ -113,7 +113,7 @@ {:else}