Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions apps/web/src/components/AuthForm.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { SocialProvider } from "better-auth/social-providers";
import Link from "next/link";
import { useSearchParams } from "next/navigation";
import { zodResolver } from "@hookform/resolvers/zod";
import { t } from "@lingui/core/macro";
Expand Down Expand Up @@ -426,6 +427,16 @@ export function Auth({
t`Please enter a valid password`}
</p>
)}
{!isSignUp && (
<div className="mt-1 flex justify-end">
<Link
href="/forgot-password"
className="text-xs text-light-900 underline dark:text-dark-900"
>
{t`Forgot password?`}
</Link>
</div>
)}
</div>
)}
{loginError && (
Expand Down
98 changes: 98 additions & 0 deletions apps/web/src/locales/da/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -12877,5 +12877,103 @@
]
],
"translation": "YouTube-URL"
},
"t0qQZE": {
"message": "Confirm your password",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 112]],
"translation": "Bekræft din adgangskode"
},
"dDyAXD": {
"message": "Enter a new password",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 99]],
"translation": "Indtast en ny adgangskode"
},
"GbjlZL": {
"message": "Forgot password | kan.bn",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 58]],
"translation": "Glemt adgangskode | kan.bn"
},
"UNMVei": {
"message": "Forgot password?",
"placeholders": {},
"comments": [],
"origin": [["src/components/AuthForm.tsx", 436]],
"translation": "Glemt adgangskode?"
},
"glx6on": {
"message": "Forgot your password?",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 68]],
"translation": "Har du glemt din adgangskode?"
},
"OSmrFy": {
"message": "Remembered your password? <0><1>Sign in</1></0>",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 111], ["src/views/auth/reset-password/index.tsx", 146]],
"translation": "Husket din adgangskode? <0><1>Log ind</1></0>"
},
"RfwZxd": {
"message": "Reset password",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 130]],
"translation": "Nulstil adgangskode"
},
"S57AHL": {
"message": "Reset password | kan.bn",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 79]],
"translation": "Nulstil adgangskode | kan.bn"
},
"eaUTwS": {
"message": "Send reset link",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 103]],
"translation": "Send nulstillingslink"
},
"+DlsTY": {
"message": "Set a new password",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 89]],
"translation": "Angiv en ny adgangskode"
},
"kf83Ld": {
"message": "Something went wrong.",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 49]],
"translation": "Noget gik galt."
},
"ROcqIU": {
"message": "This password reset link is invalid or has expired.",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 65], ["src/views/auth/reset-password/index.tsx", 139]],
"translation": "Dette link til nulstilling af adgangskode er ugyldigt eller er udløbet."
},
"nB44E/": {
"message": "We've sent a password reset link to {emailSentTo}.",
"placeholders": {"emailSentTo": ["emailSentTo"]},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 73]],
"translation": "Vi har sendt et link til nulstilling af adgangskode til {emailSentTo}."
},
"A7TuZy": {
"message": "Your password has been reset successfully.",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 71]],
"translation": "Din adgangskode er blevet nulstillet."
}
}
2 changes: 1 addition & 1 deletion apps/web/src/locales/da/messages.ts

Large diffs are not rendered by default.

98 changes: 98 additions & 0 deletions apps/web/src/locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -7710,5 +7710,103 @@
"comments": [],
"origin": [["src/components/YouTubeEmbed/EditYouTubeModal.tsx", 147]],
"translation": "YouTube-URL"
},
"t0qQZE": {
"message": "Confirm your password",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 112]],
"translation": "Passwort bestätigen"
},
"dDyAXD": {
"message": "Enter a new password",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 99]],
"translation": "Neues Passwort eingeben"
},
"GbjlZL": {
"message": "Forgot password | kan.bn",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 58]],
"translation": "Passwort vergessen | kan.bn"
},
"UNMVei": {
"message": "Forgot password?",
"placeholders": {},
"comments": [],
"origin": [["src/components/AuthForm.tsx", 436]],
"translation": "Passwort vergessen?"
},
"glx6on": {
"message": "Forgot your password?",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 68]],
"translation": "Hast du dein Passwort vergessen?"
},
"OSmrFy": {
"message": "Remembered your password? <0><1>Sign in</1></0>",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 111], ["src/views/auth/reset-password/index.tsx", 146]],
"translation": "Passwort wieder parat? <0><1>Anmelden</1></0>"
},
"RfwZxd": {
"message": "Reset password",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 130]],
"translation": "Passwort zurücksetzen"
},
"S57AHL": {
"message": "Reset password | kan.bn",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 79]],
"translation": "Passwort zurücksetzen | kan.bn"
},
"eaUTwS": {
"message": "Send reset link",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 103]],
"translation": "Link zum Zurücksetzen senden"
},
"+DlsTY": {
"message": "Set a new password",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 89]],
"translation": "Lege ein neues Passwort fest"
},
"kf83Ld": {
"message": "Something went wrong.",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 49]],
"translation": "Etwas ist schiefgelaufen."
},
"ROcqIU": {
"message": "This password reset link is invalid or has expired.",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 65], ["src/views/auth/reset-password/index.tsx", 139]],
"translation": "Dieser Link zum Zurücksetzen des Passworts ist ungültig oder abgelaufen."
},
"nB44E/": {
"message": "We've sent a password reset link to {emailSentTo}.",
"placeholders": {"emailSentTo": ["emailSentTo"]},
"comments": [],
"origin": [["src/views/auth/forgot-password/index.tsx", 73]],
"translation": "Wir haben einen Link zum Zurücksetzen des Passworts an {emailSentTo} gesendet."
},
"A7TuZy": {
"message": "Your password has been reset successfully.",
"placeholders": {},
"comments": [],
"origin": [["src/views/auth/reset-password/index.tsx", 71]],
"translation": "Dein Passwort wurde erfolgreich zurückgesetzt."
}
}
2 changes: 1 addition & 1 deletion apps/web/src/locales/de/messages.ts

Large diffs are not rendered by default.

Loading