Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: adds new userEmailAlreadyRegistered translations #6549

Merged
merged 2 commits into from
May 30, 2024
Merged
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
2 changes: 1 addition & 1 deletion packages/payload/src/auth/strategies/local/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const registerLocalStrategy = async ({

if (existingUser.docs.length > 0) {
throw new ValidationError([
{ field: 'email', message: 'A user with the given email is already registered' },
{ field: 'email', message: req.t('error:userEmailAlreadyRegistered') },
])
}

Expand Down
3 changes: 2 additions & 1 deletion packages/payload/src/translations/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "غير مصرّح لك ، عليك أن تقوم بتسجيل الدّخول لتتمكّن من تقديم هذا الطّلب.",
"unknown": "حدث خطأ غير معروف.",
"unspecific": "حدث خطأ.",
"userEmailAlreadyRegistered": "يوجد مستخدم مسجل بالفعل بهذا البريد الإلكتروني.",
"userLocked": "تمّ قفل هذا المستخدم نظرًا لوجود عدد كبير من محاولات تسجيل الدّخول الغير ناجحة.",
"valueMustBeUnique": "على القيمة أن تكون فريدة",
"verificationTokenInvalid": "رمز التحقّق غير صالح."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "يتمّ استعراض النُّسَخ ل {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "يتمّ استعراض النُّسَخ للاعداد العامّ {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/az.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "İcazəniz yoxdur, bu tələbi yerinə yetirmək üçün daxil olmalısınız.",
"unknown": "Naməlum bir xəta baş verdi.",
"unspecific": "Xəta baş verdi.",
"userEmailAlreadyRegistered": "Verilən e-poçt ünvanı ilə artıq istifadəçi qeydiyyatdan keçib.",
"userLocked": "Bu istifadəçi çoxsaylı uğursuz giriş cəhdləri səbəbindən kilidlənib.",
"valueMustBeUnique": "Dəyər təkrar olmamalıdır",
"verificationTokenInvalid": "Doğrulama tokenı yanlışdır."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "{{entityLabel}} {{documentTitle}} üçün versiyaları göstərir",
"viewingVersionsGlobal": "Qlobal {{entityLabel}} üçün versiyaları göstərir"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Неавторизиран, трябва да влезеш, за да извършиш тази заявка.",
"unknown": "Неизвестна грешка.",
"unspecific": "Грешка.",
"userEmailAlreadyRegistered": "Потребител с дадения имейл вече е регистриран.",
"userLocked": "Този потребител има прекалено много невалидни опити за влизане и е заключен.",
"valueMustBeUnique": "Стойността трябва да е уникална",
"verificationTokenInvalid": "Ключът за верификация е невалиден."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Гледане на версии за {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "Гледане на версии за глобалния документ {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Neautorizováno, pro zadání tohoto požadavku musíte být přihlášeni.",
"unknown": "Došlo k neznámé chybě.",
"unspecific": "Došlo k chybě.",
"userEmailAlreadyRegistered": "Uživatel s daným e-mailem je již zaregistrován.",
"userLocked": "Tento uživatel je uzamčen kvůli příliš mnoha neúspěšným pokusům o přihlášení.",
"valueMustBeUnique": "Hodnota musí být jedinečná",
"verificationTokenInvalid": "Ověřovací token je neplatný."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Zobrazuji verze pro {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "Zobrazuji verze pro globální {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Nicht autorisiert - du musst angemeldet sein, um diese Anfrage zu stellen.",
"unknown": "Ein unbekannter Fehler ist aufgetreten.",
"unspecific": "Ein Fehler ist aufgetreten.",
"userEmailAlreadyRegistered": "Ein Benutzer mit der angegebenen E-Mail ist bereits registriert.",
"userLocked": "Dieser Benutzer ist auf Grund zu vieler unerfolgreicher Anmelde-Versuche gesperrt.",
"valueMustBeUnique": "Wert muss einzigartig sein",
"verificationTokenInvalid": "Verifizierungs-Token ist nicht korrekt."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Betrachte Versionen für {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "`Betrachte Versionen für das Globale Dokument {{entityLabel}}"
}
}
}
1 change: 1 addition & 0 deletions packages/payload/src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Unauthorized, you must be logged in to make this request.",
"unknown": "An unknown error has occurred.",
"unspecific": "An error has occurred.",
"userEmailAlreadyRegistered": "A user with the given email is already registered.",
"userLocked": "This user is locked due to having too many failed login attempts.",
"valueMustBeUnique": "Value must be unique",
"verificationTokenInvalid": "Verification token is invalid."
Expand Down
3 changes: 2 additions & 1 deletion packages/payload/src/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "No autorizado, debes iniciar sesión para realizar esta solicitud.",
"unknown": "Ocurrió un error desconocido.",
"unspecific": "Ocurrió un error.",
"userEmailAlreadyRegistered": "Ya hay un usuario registrado con el correo electrónico proporcionado.",
"userLocked": "Este usuario ha sido bloqueado debido a que tiene muchos intentos fallidos para iniciar sesión.",
"valueMustBeUnique": "El valor debe ser único",
"verificationTokenInvalid": "Token de verificación inválido."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Viendo versiones para {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "Viendo versiones para el global {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "درخواست نامعتبر، جهت فرستادن این درخواست باید وارد شوید.",
"unknown": "یک خطای ناشناخته رخ داد.",
"unspecific": "خطایی رخ داد.",
"userEmailAlreadyRegistered": "کاربری با ایمیل داده شده قبلاً ثبت نام کرده است.",
"userLocked": "این کاربر به دلیل تلاش های زیاد برای ورود ناموفق قفل شده است.",
"valueMustBeUnique": "مقدار باید منحصر به فرد باشد",
"verificationTokenInvalid": "ژتون تأیید نامعتبر است."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "مشاهده نگارش‌ها برای {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "مشاهده نگارش‌های کلی {{entityLabel}}"
}
}
}
1 change: 1 addition & 0 deletions packages/payload/src/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Non autorisé, vous devez être connecté pour effectuer cette demande.",
"unknown": "Une erreur inconnue s’est produite.",
"unspecific": "Une erreur est survenue.",
"userEmailAlreadyRegistered": "Un utilisateur avec l'email donné est déjà enregistré.",
"userLocked": "Cet utilisateur est verrouillé en raison d’un trop grand nombre de tentatives de connexion infructueuses.",
"valueMustBeUnique": "La valeur doit être unique",
"verificationTokenInvalid": "Le jeton de vérification n’est pas valide."
Expand Down
3 changes: 2 additions & 1 deletion packages/payload/src/translations/hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Neovlašten, morate biti prijavljeni da biste uputili ovaj zahtjev.",
"unknown": "Došlo je do nepoznate pogreške.",
"unspecific": "Došlo je do pogreške.",
"userEmailAlreadyRegistered": "Korisnik s navedenom e-poštom je već registriran.",
"userLocked": "Ovaj korisnik je zaključan zbog previše neuspješnih pokušaja prijave.",
"valueMustBeUnique": "Vrijednost mora biti jedinstvena.",
"verificationTokenInvalid": "Verifikacijski token je nevaljan."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Pregled verzija za {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "Pregled verzije za globalni {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Jogosulatlan, a kéréshez be kell jelentkeznie.",
"unknown": "Ismeretlen hiba történt.",
"unspecific": "Hiba történt.",
"userEmailAlreadyRegistered": "A megadott email címmel már regisztráltak egy felhasználót.",
"userLocked": "Ez a felhasználó túl sok sikertelen bejelentkezési kísérlet miatt zárolva van.",
"valueMustBeUnique": "Az értéknek egyedinek kell lennie",
"verificationTokenInvalid": "Az ellenőrző token érvénytelen."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "A {{entityLabel}} {{documentTitle}} verzióinak megtekintése",
"viewingVersionsGlobal": "A globális {{entityLabel}} verzióinak megtekintése"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Non autorizzato, devi essere loggato per effettuare questa richiesta.",
"unknown": "Si è verificato un errore sconosciuto.",
"unspecific": "Si è verificato un errore.",
"userEmailAlreadyRegistered": "Un utente con l'email fornita è già registrato.",
"userLocked": "Questo utente è bloccato a causa di troppi tentativi di accesso non riusciti.",
"valueMustBeUnique": "Il valore deve essere univoco",
"verificationTokenInvalid": "Il token di verifica non è valido."
Expand Down Expand Up @@ -378,4 +379,4 @@
"viewingVersions": "Visualizzazione delle versioni per {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "`Visualizzazione delle versioni per {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "認証されていません。このリクエストを行うにはログインが必要です。",
"unknown": "不明なエラーが発生しました。",
"unspecific": "エラーが発生しました。",
"userEmailAlreadyRegistered": "指定されたメールのユーザーはすでに登録されています。",
"userLocked": "このユーザーは、ログイン試行回数が多すぎるため、ロックされています。",
"valueMustBeUnique": "ユニークな値である必要があります。",
"verificationTokenInvalid": "認証トークンが無効です。"
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "表示バージョン: {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "表示バージョン: グローバルな {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "권한 없음, 이 요청을 수행하려면 로그인해야 합니다.",
"unknown": "알 수 없는 오류가 발생했습니다.",
"unspecific": "오류가 발생했습니다.",
"userEmailAlreadyRegistered": "주어진 이메일로 이미 등록된 사용자가 있습니다.",
"userLocked": "이 사용자는 로그인 실패 횟수가 너무 많아 잠겼습니다.",
"valueMustBeUnique": "값은 고유해야 합니다.",
"verificationTokenInvalid": "확인 토큰이 유효하지 않습니다."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "{{entityLabel}} {{documentTitle}}에 대한 버전 보기",
"viewingVersionsGlobal": "글로벌 {{entityLabel}}에 대한 버전 보기"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/my.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "အခွင့်မရှိပါ။ ဤတောင်းဆိုချက်ကို လုပ်ဆောင်နိုင်ရန် သင်သည် လော့ဂ်အင်ဝင်ရပါမည်။",
"unknown": "ဘာမှန်းမသိသော error တက်သွားပါသည်။",
"unspecific": "Error တက်နေပါသည်။",
"userEmailAlreadyRegistered": "ပေးထားသော အီးမေးလ်ဖြင့် အသုံးပြုသူ တစ်ဦး ရှိပြီးဖြစ်သည်။",
"userLocked": "အကောင့်ထဲကို ဝင်ရန် အရမ်းအရမ်းကို ကြိုးပမ်းနေသောကြောင့် အကောင့်အား လော့ခ်ချလိုက်ပါသည်။",
"valueMustBeUnique": "value သည် အဓိပ္ပာယ်ရှိရပါမည်။",
"verificationTokenInvalid": "အတည်ပြုခြင်းတိုကင်သည် မမှန်ကန်ပါ။"
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "{{entityLabel}} {{documentTitle}} အတွက် ဗားရှင်းများကို ကြည့်ရှုခြင်း",
"viewingVersionsGlobal": "`ဂလိုဘယ်ဆိုင်ရာ {{entityLabel}} အတွက် ဗားရှင်းများကို ကြည့်ရှုနေသည်"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Uautorisert, du må være innlogget for å gjøre denne forespørselen.",
"unknown": "En ukjent feil har oppstått.",
"unspecific": "En feil har oppstått.",
"userEmailAlreadyRegistered": "En bruker med den oppgitte e-posten er allerede registrert.",
"userLocked": "Denne brukeren er låst på grunn av for mange mislykkede innloggingsforsøk.",
"valueMustBeUnique": "Verdien må være unik",
"verificationTokenInvalid": "Verifiseringskoden er ugyldig."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Viser versjoner for {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "Viser versjoner for den globale variabelen {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Ongeautoriseerd, u moet ingelogd zijn om dit verzoek te doen.",
"unknown": "Er is een onbekende fout opgetreden.",
"unspecific": "Er is een fout opgetreden.",
"userEmailAlreadyRegistered": "Een gebruiker met het opgegeven e-mailadres is al geregistreerd.",
"userLocked": "Deze gebruiker is vergrendeld wegens te veel mislukte inlogpogingen.",
"valueMustBeUnique": "De waarde moet uniek zijn",
"verificationTokenInvalid": "Verificatietoken is ongeldig."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Bekijk versies voor {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "`Bekijk versies voor global {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Brak dostępu, musisz być zalogowany.",
"unknown": "Wystąpił nieznany błąd.",
"unspecific": "Wystąpił błąd",
"userEmailAlreadyRegistered": "Użytkownik o podanym adresie e-mail jest już zarejestrowany.",
"userLocked": "Ten użytkownik został zablokowany z powodu zbyt wielu nieudanych prób logowania.",
"valueMustBeUnique": "Wartość musi być unikalna",
"verificationTokenInvalid": "Token weryfikacyjny jest nieprawidłowy."
Expand Down Expand Up @@ -378,4 +379,4 @@
"viewingVersions": "Przeglądanie wersji {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "Przeglądanie wersji dla globalnej kolekcji {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Não autorizado. Você deve estar logado para fazer essa requisição",
"unknown": "Ocorreu um erro desconhecido.",
"unspecific": "Ocorreu um erro.",
"userEmailAlreadyRegistered": "Um usuário com o email fornecido já está registrado.",
"userLocked": "Esse usuário está bloqueado devido a muitas tentativas de login malsucedidas.",
"valueMustBeUnique": "Valor deve ser único",
"verificationTokenInvalid": "Token de verificação inválido."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Visualizando versões para o/a {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "`Visualizando versões para o global {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "neautorizat, trebuie să vă conectați pentru a face această cerere.",
"unknown": "S-a produs o eroare necunoscută.",
"unspecific": "S-a produs o eroare.",
"userEmailAlreadyRegistered": "Un utilizator cu emailul dat este deja înregistrat.",
"userLocked": "Acest utilizator este blocat din cauza unui număr prea mare de încercări de autentificare eșuate.",
"valueMustBeUnique": "Valoarea trebuie să fie unică",
"verificationTokenInvalid": "Tokenul de verificare este invalid."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Vizualizarea versiunilor pentru {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "Vizualizarea versiunilor pentru globala {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/rs-latin.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Niste autorizovani da biste uputili ovaj zahtev.",
"unknown": "Došlo je do nepoznate greške.",
"unspecific": "Došlo je do greške.",
"userEmailAlreadyRegistered": "Korisnik sa datom imejl adresom je već registrovan.",
"userLocked": "Ovaj korisnik je zaključan zbog prevelikog broja neuspešnih pokušaja prijave.",
"valueMustBeUnique": "Vrednost mora biti jedinstvena.",
"verificationTokenInvalid": "Verifikacioni token je nevalidan."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Pregled verzija za {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "Pregled verzije za globalni {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/rs.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Нисте ауторизовани да бисте упутили овај захтев.",
"unknown": "Дошло је до непознате грешке.",
"unspecific": "Дошло је до грешке.",
"userEmailAlreadyRegistered": "Корисник са датом имејл адресом је већ регистрован.",
"userLocked": "Овај корисник је закључан због превеликог броја неуспешних покушаја пријаве.",
"valueMustBeUnique": "Вредност мора бити јединствена.",
"verificationTokenInvalid": "Верификациони токен је невалидан."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Преглед верзија за {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "Преглед верзије за глобални {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Нет доступа, вы должны войти, чтобы сделать этот запрос.",
"unknown": "Произошла неизвестная ошибка.",
"unspecific": "Произошла ошибка.",
"userEmailAlreadyRegistered": "Пользователь с указанным email уже зарегистрирован.",
"userLocked": "Этот пользователь заблокирован из-за слишком большого количества неудачных попыток входа.",
"valueMustBeUnique": "Значение должно быть уникальным",
"verificationTokenInvalid": "Проверочный токен недействителен."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Просмотр версий для {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "`Просмотр версии для глобальной Коллекции {{entityLabel}}"
}
}
}
3 changes: 2 additions & 1 deletion packages/payload/src/translations/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"unauthorized": "Obehörig, du måste vara inloggad för att göra denna begäran.",
"unknown": "Ett okänt fel har uppstått.",
"unspecific": "Ett fel har uppstått.",
"userEmailAlreadyRegistered": "En användare med den angivna e-postadressen är redan registrerad.",
"userLocked": "Den här användaren är låst på grund av för många misslyckade inloggningsförsök.",
"valueMustBeUnique": "Värdet måste vara unikt",
"verificationTokenInvalid": "Verifieringstoken är ogiltig."
Expand Down Expand Up @@ -377,4 +378,4 @@
"viewingVersions": "Visar versioner för {{entityLabel}} {{documentTitle}}",
"viewingVersionsGlobal": "Visa versioner för den globala {{entityLabel}}"
}
}
}
Loading
Loading