Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix invalid password error message (#7425)

authored by

Samuel Newman and committed by
GitHub
42a44682 08c6ac7c

+44 -36
+1 -1
src/locale/locales/an/messages.po
··· 3497 3497 3498 3498 #: src/screens/Login/LoginForm.tsx:90 3499 3499 #: src/screens/Login/LoginForm.tsx:149 3500 - msgid "Invalid username or password" 3500 + msgid "Incorrect username or password" 3501 3501 msgstr "Nombre d'usuario u clau no validos" 3502 3502 3503 3503 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/ast/messages.po
··· 3694 3694 3695 3695 #: src/screens/Login/LoginForm.tsx:90 3696 3696 #: src/screens/Login/LoginForm.tsx:149 3697 - msgid "Invalid username or password" 3697 + msgid "Incorrect username or password" 3698 3698 msgstr "" 3699 3699 3700 3700 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/ca/messages.po
··· 4457 4457 4458 4458 #: src/screens/Login/LoginForm.tsx:90 4459 4459 #: src/screens/Login/LoginForm.tsx:149 4460 - msgid "Invalid username or password" 4460 + msgid "Incorrect username or password" 4461 4461 msgstr "Nom d'usuari o contrasenya incorrectes" 4462 4462 4463 4463 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/de/messages.po
··· 3931 3931 3932 3932 #: src/screens/Login/LoginForm.tsx:90 3933 3933 #: src/screens/Login/LoginForm.tsx:149 3934 - msgid "Invalid username or password" 3934 + msgid "Incorrect username or password" 3935 3935 msgstr "Ungültiger Benutzername oder Passwort" 3936 3936 3937 3937 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/el/messages.po
··· 3499 3499 3500 3500 #: src/screens/Login/LoginForm.tsx:90 3501 3501 #: src/screens/Login/LoginForm.tsx:149 3502 - msgid "Invalid username or password" 3502 + msgid "Incorrect username or password" 3503 3503 msgstr "Μη έγκυρο όνομα χρήστη ή κωδικός πρόσβασης" 3504 3504 3505 3505 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/en-GB/messages.po
··· 3694 3694 3695 3695 #: src/screens/Login/LoginForm.tsx:90 3696 3696 #: src/screens/Login/LoginForm.tsx:149 3697 - msgid "Invalid username or password" 3697 + msgid "Incorrect username or password" 3698 3698 msgstr "" 3699 3699 3700 3700 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/en/messages.po
··· 3694 3694 3695 3695 #: src/screens/Login/LoginForm.tsx:90 3696 3696 #: src/screens/Login/LoginForm.tsx:149 3697 - msgid "Invalid username or password" 3697 + msgid "Incorrect username or password" 3698 3698 msgstr "" 3699 3699 3700 3700 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/es/messages.po
··· 4085 4085 4086 4086 #: src/screens/Login/LoginForm.tsx:90 4087 4087 #: src/screens/Login/LoginForm.tsx:149 4088 - msgid "Invalid username or password" 4088 + msgid "Incorrect username or password" 4089 4089 msgstr "Nombre de usuario o contraseña no válidos" 4090 4090 4091 4091 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/fi/messages.po
··· 3409 3409 3410 3410 #: src/screens/Login/LoginForm.tsx:90 3411 3411 #: src/screens/Login/LoginForm.tsx:149 3412 - msgid "Invalid username or password" 3412 + msgid "Incorrect username or password" 3413 3413 msgstr "Virheellinen käyttäjätunnus tai salasana" 3414 3414 3415 3415 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/fr/messages.po
··· 3409 3409 3410 3410 #: src/screens/Login/LoginForm.tsx:90 3411 3411 #: src/screens/Login/LoginForm.tsx:149 3412 - msgid "Invalid username or password" 3412 + msgid "Incorrect username or password" 3413 3413 msgstr "Pseudo ou mot de passe incorrect" 3414 3414 3415 3415 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/ga/messages.po
··· 3693 3693 3694 3694 #: src/screens/Login/LoginForm.tsx:90 3695 3695 #: src/screens/Login/LoginForm.tsx:149 3696 - msgid "Invalid username or password" 3696 + msgid "Incorrect username or password" 3697 3697 msgstr "Leasainm nó pasfhocal míchruinn" 3698 3698 3699 3699 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/gl/messages.po
··· 4085 4085 4086 4086 #: src/screens/Login/LoginForm.tsx:90 4087 4087 #: src/screens/Login/LoginForm.tsx:149 4088 - msgid "Invalid username or password" 4088 + msgid "Incorrect username or password" 4089 4089 msgstr "Alcume ou contrasinal incorrectos" 4090 4090 4091 4091 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/hi/messages.po
··· 3965 3965 3966 3966 #: src/screens/Login/LoginForm.tsx:90 3967 3967 #: src/screens/Login/LoginForm.tsx:149 3968 - msgid "Invalid username or password" 3968 + msgid "Incorrect username or password" 3969 3969 msgstr "अमान्य उपयोगकर्ता नाम या पासवर्ड" 3970 3970 3971 3971 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/hu/messages.po
··· 3626 3626 3627 3627 #: src/screens/Login/LoginForm.tsx:90 3628 3628 #: src/screens/Login/LoginForm.tsx:149 3629 - msgid "Invalid username or password" 3629 + msgid "Incorrect username or password" 3630 3630 msgstr "Érvénytelen felhasználónév vagy jelszó" 3631 3631 3632 3632 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/id/messages.po
··· 4196 4196 4197 4197 #: src/screens/Login/LoginForm.tsx:90 4198 4198 #: src/screens/Login/LoginForm.tsx:149 4199 - msgid "Invalid username or password" 4199 + msgid "Incorrect username or password" 4200 4200 msgstr "Nama pengguna atau kata sandi salah" 4201 4201 4202 4202 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/it/messages.po
··· 3415 3415 3416 3416 #: src/screens/Login/LoginForm.tsx:90 3417 3417 #: src/screens/Login/LoginForm.tsx:149 3418 - msgid "Invalid username or password" 3418 + msgid "Incorrect username or password" 3419 3419 msgstr "Nome utente o password errati" 3420 3420 3421 3421 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/ja/messages.po
··· 3409 3409 3410 3410 #: src/screens/Login/LoginForm.tsx:90 3411 3411 #: src/screens/Login/LoginForm.tsx:149 3412 - msgid "Invalid username or password" 3412 + msgid "Incorrect username or password" 3413 3413 msgstr "無効なユーザー名またはパスワード" 3414 3414 3415 3415 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/km/messages.po
··· 3698 3698 3699 3699 #: src/screens/Login/LoginForm.tsx:90 3700 3700 #: src/screens/Login/LoginForm.tsx:149 3701 - msgid "Invalid username or password" 3701 + msgid "Incorrect username or password" 3702 3702 msgstr "ឈ្មោះអ្នកប្រើ ឬពាក្យសម្ងាត់មិនត្រឹមត្រូវ" 3703 3703 3704 3704 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/ko/messages.po
··· 3409 3409 3410 3410 #: src/screens/Login/LoginForm.tsx:90 3411 3411 #: src/screens/Login/LoginForm.tsx:149 3412 - msgid "Invalid username or password" 3412 + msgid "Incorrect username or password" 3413 3413 msgstr "잘못된 사용자 이름 또는 비밀번호" 3414 3414 3415 3415 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/ne/messages.po
··· 3969 3969 3970 3970 #: src/screens/Login/LoginForm.tsx:90 3971 3971 #: src/screens/Login/LoginForm.tsx:149 3972 - msgid "Invalid username or password" 3972 + msgid "Incorrect username or password" 3973 3973 msgstr "अमान्य प्रयोगकर्ता नाम वा पासवर्ड" 3974 3974 3975 3975 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/nl/messages.po
··· 3497 3497 3498 3498 #: src/screens/Login/LoginForm.tsx:90 3499 3499 #: src/screens/Login/LoginForm.tsx:149 3500 - msgid "Invalid username or password" 3500 + msgid "Incorrect username or password" 3501 3501 msgstr "Ongeldige gebruikersnaam of wachtwoord" 3502 3502 3503 3503 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/pl/messages.po
··· 3498 3498 3499 3499 #: src/screens/Login/LoginForm.tsx:90 3500 3500 #: src/screens/Login/LoginForm.tsx:149 3501 - msgid "Invalid username or password" 3501 + msgid "Incorrect username or password" 3502 3502 msgstr "Nieprawidłowa nazwa lub hasło" 3503 3503 3504 3504 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/pt-BR/messages.po
··· 4192 4192 4193 4193 #: src/screens/Login/LoginForm.tsx:90 4194 4194 #: src/screens/Login/LoginForm.tsx:149 4195 - msgid "Invalid username or password" 4195 + msgid "Incorrect username or password" 4196 4196 msgstr "Credenciais inválidas" 4197 4197 4198 4198 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/ro/messages.po
··· 3698 3698 3699 3699 #: src/screens/Login/LoginForm.tsx:90 3700 3700 #: src/screens/Login/LoginForm.tsx:149 3701 - msgid "Invalid username or password" 3701 + msgid "Incorrect username or password" 3702 3702 msgstr "Nume de utilizator sau parolă invalidă" 3703 3703 3704 3704 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/ru/messages.po
··· 3429 3429 3430 3430 #: src/screens/Login/LoginForm.tsx:90 3431 3431 #: src/screens/Login/LoginForm.tsx:149 3432 - msgid "Invalid username or password" 3432 + msgid "Incorrect username or password" 3433 3433 msgstr "Неверное имя пользователя или пароль" 3434 3434 3435 3435 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/th/messages.po
··· 4183 4183 4184 4184 #: src/screens/Login/LoginForm.tsx:90 4185 4185 #: src/screens/Login/LoginForm.tsx:149 4186 - msgid "Invalid username or password" 4186 + msgid "Incorrect username or password" 4187 4187 msgstr "ชื่อผู้ใช้หรือรหัสผ่านไม่ถูกต้อง" 4188 4188 4189 4189 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/tr/messages.po
··· 4400 4400 4401 4401 #: src/screens/Login/LoginForm.tsx:90 4402 4402 #: src/screens/Login/LoginForm.tsx:149 4403 - msgid "Invalid username or password" 4403 + msgid "Incorrect username or password" 4404 4404 msgstr "Geçersiz kullanıcı adı veya şifre" 4405 4405 4406 4406 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/uk/messages.po
··· 4196 4196 4197 4197 #: src/screens/Login/LoginForm.tsx:90 4198 4198 #: src/screens/Login/LoginForm.tsx:149 4199 - msgid "Invalid username or password" 4199 + msgid "Incorrect username or password" 4200 4200 msgstr "Невірне ім'я користувача або пароль" 4201 4201 4202 4202 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/vi/messages.po
··· 3490 3490 3491 3491 #: src/screens/Login/LoginForm.tsx:90 3492 3492 #: src/screens/Login/LoginForm.tsx:149 3493 - msgid "Invalid username or password" 3493 + msgid "Incorrect username or password" 3494 3494 msgstr "Tên người dùng hoặc mật khẩu không hợp lệ" 3495 3495 3496 3496 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/zh-CN/messages.po
··· 3414 3414 3415 3415 #: src/screens/Login/LoginForm.tsx:90 3416 3416 #: src/screens/Login/LoginForm.tsx:149 3417 - msgid "Invalid username or password" 3417 + msgid "Incorrect username or password" 3418 3418 msgstr "用户名或密码无效" 3419 3419 3420 3420 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/zh-HK/messages.po
··· 3414 3414 3415 3415 #: src/screens/Login/LoginForm.tsx:90 3416 3416 #: src/screens/Login/LoginForm.tsx:149 3417 - msgid "Invalid username or password" 3417 + msgid "Incorrect username or password" 3418 3418 msgstr "無效嘅用戶名抑或密碼" 3419 3419 3420 3420 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+1 -1
src/locale/locales/zh-TW/messages.po
··· 3414 3414 3415 3415 #: src/screens/Login/LoginForm.tsx:90 3416 3416 #: src/screens/Login/LoginForm.tsx:149 3417 - msgid "Invalid username or password" 3417 + msgid "Incorrect username or password" 3418 3418 msgstr "用戶名稱或密碼無效" 3419 3419 3420 3420 #: src/components/intents/VerifyEmailIntentDialog.tsx:91
+12 -4
src/screens/Login/LoginForm.tsx
··· 86 86 const password = passwordValueRef.current 87 87 const authFactorToken = authFactorTokenValueRef.current 88 88 89 - if (!identifier || !password) { 90 - setError(_(msg`Invalid username or password`)) 89 + if (!identifier) { 90 + setError(_(msg`Please enter your username`)) 91 + return 92 + } 93 + 94 + if (!password) { 95 + setError(_(msg`Please enter your password`)) 91 96 return 92 97 } 93 98 ··· 142 147 error: errMsg, 143 148 }) 144 149 setError(_(msg`Invalid 2FA confirmation code.`)) 145 - } else if (errMsg.includes('Authentication Required')) { 150 + } else if ( 151 + errMsg.includes('Authentication Required') || 152 + errMsg.includes('Invalid identifier or password') 153 + ) { 146 154 logger.debug('Failed to login due to invalid credentials', { 147 155 error: errMsg, 148 156 }) 149 - setError(_(msg`Invalid username or password`)) 157 + setError(_(msg`Incorrect username or password`)) 150 158 } else if (isNetworkError(e)) { 151 159 logger.warn('Failed to login due to network error', {error: errMsg}) 152 160 setError(