Add "Repeat Password" label to i18n and form components
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-02-17 18:32:54 +01:00
parent 75f1a6528b
commit 87265e5ccc
3 changed files with 5 additions and 5 deletions

View File

@ -60,11 +60,9 @@
<input type="text" id="username" name="username" placeholder={t("login.placeholder.username")} bind:value={username} />
<label for="password">{t("login.label.password")}</label>
<input type="password" id="password" name="password" placeholder={t("login.placeholder.password")} bind:value={pw} />
<label for="password-repeat">{t("login.label.password")}</label>
<label for="password-repeat">{t("login.label.repeat")}</label>
<input type="password" id="password-repeat" name="password-repeat" placeholder={t("login.placeholder.password")} bind:value={pw2} />
</div>
<p class="mt-2">
<a class="text-neutral-500 hover:underline" href={l("/set-password")}>{t("login.setPassword")}</a></p>
{#if error}
<p class="mt-2 text-red-500">{error}</p>

View File

@ -205,7 +205,8 @@
},
"label": {
"username": "Nutzername",
"password": "Passwort"
"password": "Passwort",
"repeat": "Passwort Wiederholen"
},
"setPassword": "Wie setzte ich mein Passwort?",
"submit": "Login",

View File

@ -149,7 +149,8 @@
},
"label": {
"username": "Username",
"password": "Password"
"password": "Password",
"repeat": "Repeat Password"
},
"setPassword": "How to set a Password",
"submit": "Login",