aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/account/pass
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-23 16:22:10 -0700
committerAdam Soltys <[email protected]>2024-09-23 16:22:10 -0700
commit52871e09d9218f3f2fb2ce4bd6e97f5c1fc15480 (patch)
tree543a0af922d193940846e7a953ed7b027a931e30 /src/routes/(app)/account/pass
parent200c5ff1f4e41ed907a1dd4a0337d8ee0a94b8be (diff)
downloadcoinos-ui-52871e09d9218f3f2fb2ce4bd6e97f5c1fc15480.tar.gz
coinos-ui-52871e09d9218f3f2fb2ce4bd6e97f5c1fc15480.zip
account import
Diffstat (limited to 'src/routes/(app)/account/pass')
-rw-r--r--src/routes/(app)/account/pass/+page.svelte10
1 files changed, 5 insertions, 5 deletions
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 @@
<div class="space-y-5">
<div>
- <h1 class="text-center text-3xl font-semibold">Account password</h1>
+ <h1 class="text-center text-3xl font-semibold">{$t("accounts.accountPassword")}</h1>
</div>
<form
@@ -67,8 +67,7 @@
class="container w-full mx-auto text-lg px-4 max-w-xl space-y-5"
>
<p class="text-secondary mb-1">
- 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")}
</p>
<div class="relative">
@@ -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}
<input
type="password"
- placeholder="Confirm password"
+ placeholder={$t("accounts.confirmPassword")}
required
bind:value={confirm}
autocapitalize="none"