diff --git a/messages/en.json b/messages/en.json index cc96850..45c0cab 100644 --- a/messages/en.json +++ b/messages/en.json @@ -16,7 +16,7 @@ "HidePasswordTooltip": "Hide password", "ShowPasswordTooltip": "Show password", "Submit": "Submit", - "RegisteredSuccessfully": "Registered successfully", + "CheckYourEmail": "Check your email to complete the process.", "ForgotPasswordLink": "Forgot password?", "ForgotPasswordTitle": "Forgot password", "SendResetLink": "Send reset link", diff --git a/messages/pl.json b/messages/pl.json index 411a598..122993e 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -16,7 +16,7 @@ "HidePasswordTooltip": "Ukryj hasło", "ShowPasswordTooltip": "Pokaż hasło", "Submit": "Wyślij", - "RegisteredSuccessfully": "Zarejestrowano pomyślnie", + "CheckYourEmail": "Sprawdź email, aby dokończyć proces.", "ForgotPasswordLink": "Nie pamiętasz hasła?", "ForgotPasswordTitle": "Nie pamiętasz hasła", "SendResetLink": "Wyślij link resetujący", diff --git a/src/components/auth/AuthForm.tsx b/src/components/auth/AuthForm.tsx index d179c2a..04a9716 100644 --- a/src/components/auth/AuthForm.tsx +++ b/src/components/auth/AuthForm.tsx @@ -91,7 +91,7 @@ export function AuthForm({ mode, redirectPath = '/dashboard' }: AuthFormProps) { if (result.error) { toast(result.error.message); } else { - toast(t('RegisteredSuccessfully')); + toast(t('CheckYourEmail')); } } else { const result = await authClient.signIn.email({