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
commitad0f7b0033c0273657b47e2ea22092029023c0b2 (patch)
tree543a0af922d193940846e7a953ed7b027a931e30 /src/routes/(app)/account/pass
parent72b6a5847243f0d64984543eba66b89ef312e872 (diff)
downloadcoinos-ui-ad0f7b0033c0273657b47e2ea22092029023c0b2.tar.gz
coinos-ui-ad0f7b0033c0273657b47e2ea22092029023c0b2.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"