mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
validate password in the frontend too (#2017)
This commit is contained in:
@@ -228,6 +228,7 @@ export interface ServerInfo {
|
|||||||
treeReloadInterval: number
|
treeReloadInterval: number
|
||||||
forceRefreshCooldownDuration: number
|
forceRefreshCooldownDuration: number
|
||||||
initialSetupRequired: boolean
|
initialSetupRequired: boolean
|
||||||
|
minimumPasswordLength: number
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SharingSettings {
|
export interface SharingSettings {
|
||||||
|
|||||||
@@ -26,8 +26,13 @@ export function ProfileSettings() {
|
|||||||
|
|
||||||
const form = useForm<FormData>({
|
const form = useForm<FormData>({
|
||||||
validate: {
|
validate: {
|
||||||
|
newPassword: value =>
|
||||||
|
value && serverInfos && value.length < serverInfos.minimumPasswordLength
|
||||||
|
? _(msg`Password must be at least ${serverInfos.minimumPasswordLength} characters`)
|
||||||
|
: null,
|
||||||
newPasswordConfirmation: (value, values) => (value !== values.newPassword ? _(msg`Passwords do not match`) : null),
|
newPasswordConfirmation: (value, values) => (value !== values.newPassword ? _(msg`Passwords do not match`) : null),
|
||||||
},
|
},
|
||||||
|
validateInputOnChange: true,
|
||||||
})
|
})
|
||||||
const { setValues } = form
|
const { setValues } = form
|
||||||
|
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "الفئة الأصل"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "كلمة المرور"
|
msgstr "كلمة المرور"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "استعادة كلمة المرور"
|
msgstr "استعادة كلمة المرور"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "إلغاء النجم"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "إلغاء الاشتراك"
|
msgstr "إلغاء الاشتراك"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "اسم المستخدم"
|
msgstr "اسم المستخدم"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Categoria pare"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Contrasenya"
|
msgstr "Contrasenya"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Recuperació de contrasenya"
|
msgstr "Recuperació de contrasenya"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Desestrellar"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Donar-se de baixa"
|
msgstr "Donar-se de baixa"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Nom d'usuari"
|
msgstr "Nom d'usuari"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Rodičovská kategorie"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Heslo"
|
msgstr "Heslo"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Obnovení hesla"
|
msgstr "Obnovení hesla"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Odstranit hvězdu"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Odhlásit odběr"
|
msgstr "Odhlásit odběr"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Uživatelské jméno"
|
msgstr "Uživatelské jméno"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Categori Rhiant"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "cyfrinair"
|
msgstr "cyfrinair"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Adfer Cyfrinair"
|
msgstr "Adfer Cyfrinair"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "dad-seren"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Dad-danysgrifio"
|
msgstr "Dad-danysgrifio"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Enw defnyddiwr"
|
msgstr "Enw defnyddiwr"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Forældrekategori"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Adgangskode"
|
msgstr "Adgangskode"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Gendannelse af adgangskode"
|
msgstr "Gendannelse af adgangskode"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr ""
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Afmeld"
|
msgstr "Afmeld"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Brugernavn"
|
msgstr "Brugernavn"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Übergeordnete Kategorie"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Passwort"
|
msgstr "Passwort"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Passwortwiederherstellung"
|
msgstr "Passwortwiederherstellung"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Stern entfernen"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Abbestellen"
|
msgstr "Abbestellen"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Benutzername"
|
msgstr "Benutzername"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Parent Category"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Password"
|
msgstr "Password"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr "Password must be at least {0} characters"
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Password Recovery"
|
msgstr "Password Recovery"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Unstar"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Unsubscribe"
|
msgstr "Unsubscribe"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr "User created."
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "User name"
|
msgstr "User name"
|
||||||
|
|||||||
@@ -772,6 +772,13 @@ msgstr "Categoría principal"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Contraseña"
|
msgstr "Contraseña"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Recuperación de contraseña"
|
msgstr "Recuperación de contraseña"
|
||||||
@@ -1057,10 +1064,6 @@ msgstr "Desmarcar"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Cancelar suscripción"
|
msgstr "Cancelar suscripción"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Nombre de usuario"
|
msgstr "Nombre de usuario"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "دسته والد"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "رمز عبور"
|
msgstr "رمز عبور"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "بازیابی رمز عبور"
|
msgstr "بازیابی رمز عبور"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr ""
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "لغو اشتراک"
|
msgstr "لغو اشتراک"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "نام کاربری"
|
msgstr "نام کاربری"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Pääluokka"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Salasana"
|
msgstr "Salasana"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Salasanan palautus"
|
msgstr "Salasanan palautus"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Poista tähti"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Peruuta tilaus"
|
msgstr "Peruuta tilaus"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Käyttäjänimi"
|
msgstr "Käyttäjänimi"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Catégorie parente"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Mot de passe"
|
msgstr "Mot de passe"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Récupération de mot de passe"
|
msgstr "Récupération de mot de passe"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Retirer des favoris"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Se désabonner"
|
msgstr "Se désabonner"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr "Compte créé."
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Nom"
|
msgstr "Nom"
|
||||||
|
|||||||
@@ -772,6 +772,13 @@ msgstr "Categoría superior"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Contrasinal"
|
msgstr "Contrasinal"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Recuperación do contrasinal"
|
msgstr "Recuperación do contrasinal"
|
||||||
@@ -1057,10 +1064,6 @@ msgstr "Retirar estrela"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Cancelar a subscrición"
|
msgstr "Cancelar a subscrición"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Identificador"
|
msgstr "Identificador"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Szülő kategória"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Jelszó"
|
msgstr "Jelszó"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Jelszó helyreállítás"
|
msgstr "Jelszó helyreállítás"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr ""
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Leiratkozás"
|
msgstr "Leiratkozás"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Felhasználónév"
|
msgstr "Felhasználónév"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Kategori Induk"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Kata Sandi"
|
msgstr "Kata Sandi"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Pemulihan Kata Sandi"
|
msgstr "Pemulihan Kata Sandi"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Hapus bintang"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Berhenti berlangganan"
|
msgstr "Berhenti berlangganan"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Nama pengguna"
|
msgstr "Nama pengguna"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Categoria padre"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Recupero password"
|
msgstr "Recupero password"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Elimina le stelle"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Annulla iscrizione"
|
msgstr "Annulla iscrizione"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Nome utente"
|
msgstr "Nome utente"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "親カテゴリ"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "パスワード"
|
msgstr "パスワード"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "パスワード回復"
|
msgstr "パスワード回復"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "スターを外す"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "退会"
|
msgstr "退会"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "ユーザー名"
|
msgstr "ユーザー名"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "부모 카테고리"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "비밀번호"
|
msgstr "비밀번호"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "비밀번호 복구"
|
msgstr "비밀번호 복구"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "별표 제거"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "구독 취소"
|
msgstr "구독 취소"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "사용자 이름"
|
msgstr "사용자 이름"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Kategori Induk"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Kata Laluan"
|
msgstr "Kata Laluan"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Pemulihan Kata Laluan"
|
msgstr "Pemulihan Kata Laluan"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Nyahbintang"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Nyahlanggan"
|
msgstr "Nyahlanggan"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Nama pengguna"
|
msgstr "Nama pengguna"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Overordnet kategori"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Passord"
|
msgstr "Passord"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Passordgjenoppretting"
|
msgstr "Passordgjenoppretting"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Fjern stjerne"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Avslutt abonnementet"
|
msgstr "Avslutt abonnementet"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Brukernavn"
|
msgstr "Brukernavn"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Oudercategorie"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Wachtwoord"
|
msgstr "Wachtwoord"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Wachtwoordherstel"
|
msgstr "Wachtwoordherstel"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Sterren uit"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Afmelden"
|
msgstr "Afmelden"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Gebruikersnaam"
|
msgstr "Gebruikersnaam"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Overordnet kategori"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Passord"
|
msgstr "Passord"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Passordgjenoppretting"
|
msgstr "Passordgjenoppretting"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Fjern stjerne"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Avslutt abonnementet"
|
msgstr "Avslutt abonnementet"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Brukernavn"
|
msgstr "Brukernavn"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Kategoria nadrzędna"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Hasło"
|
msgstr "Hasło"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Odzyskiwanie hasła"
|
msgstr "Odzyskiwanie hasła"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr ""
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Anuluj subskrypcję"
|
msgstr "Anuluj subskrypcję"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Nazwa użytkownika"
|
msgstr "Nazwa użytkownika"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Categoria Pai"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Senha"
|
msgstr "Senha"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Recuperação de Senha"
|
msgstr "Recuperação de Senha"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Desestrelar"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Cancelar inscrição"
|
msgstr "Cancelar inscrição"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Nome de usuário"
|
msgstr "Nome de usuário"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Родительская категория"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Пароль"
|
msgstr "Пароль"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Восстановление пароля"
|
msgstr "Восстановление пароля"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Удалить из избранного"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Отписаться"
|
msgstr "Отписаться"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Имя пользователя"
|
msgstr "Имя пользователя"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Rodičovská kategória"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Heslo"
|
msgstr "Heslo"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Obnovenie hesla"
|
msgstr "Obnovenie hesla"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Odobrať hviezdičku"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Zrušte odber"
|
msgstr "Zrušte odber"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Meno používateľa"
|
msgstr "Meno používateľa"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Föräldrakategori"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Lösenord"
|
msgstr "Lösenord"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Lösenordsåterställning"
|
msgstr "Lösenordsåterställning"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr ""
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Avregistrera"
|
msgstr "Avregistrera"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Användarnamn"
|
msgstr "Användarnamn"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "Üst Kategori"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "Şifre"
|
msgstr "Şifre"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "Parola Kurtarma"
|
msgstr "Parola Kurtarma"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "Yıldızı kaldır"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "Aboneliği iptal et"
|
msgstr "Aboneliği iptal et"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "Kullanıcı adı"
|
msgstr "Kullanıcı adı"
|
||||||
|
|||||||
@@ -771,6 +771,13 @@ msgstr "父类别"
|
|||||||
msgid "Password"
|
msgid "Password"
|
||||||
msgstr "密码"
|
msgstr "密码"
|
||||||
|
|
||||||
|
#. placeholder {0}: serverInfos.minimumPasswordLength
|
||||||
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
|
#: src/pages/auth/InitialSetupPage.tsx
|
||||||
|
#: src/pages/auth/RegistrationPage.tsx
|
||||||
|
msgid "Password must be at least {0} characters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: src/pages/auth/PasswordRecoveryPage.tsx
|
#: src/pages/auth/PasswordRecoveryPage.tsx
|
||||||
msgid "Password Recovery"
|
msgid "Password Recovery"
|
||||||
msgstr "密码恢复"
|
msgstr "密码恢复"
|
||||||
@@ -1056,10 +1063,6 @@ msgstr "取消星标"
|
|||||||
msgid "Unsubscribe"
|
msgid "Unsubscribe"
|
||||||
msgstr "取消订阅"
|
msgstr "取消订阅"
|
||||||
|
|
||||||
#: src/pages/auth/InitialSetupPage.tsx
|
|
||||||
msgid "User created."
|
|
||||||
msgstr "用户已创建。"
|
|
||||||
|
|
||||||
#: src/components/settings/ProfileSettings.tsx
|
#: src/components/settings/ProfileSettings.tsx
|
||||||
msgid "User name"
|
msgid "User name"
|
||||||
msgstr "用户名"
|
msgstr "用户名"
|
||||||
|
|||||||
@@ -6,12 +6,13 @@ import { useForm } from "@mantine/form"
|
|||||||
import { useAsyncCallback } from "react-async-hook"
|
import { useAsyncCallback } from "react-async-hook"
|
||||||
import { client, errorToStrings } from "@/app/client"
|
import { client, errorToStrings } from "@/app/client"
|
||||||
import { redirectToRootCategory } from "@/app/redirect/thunks"
|
import { redirectToRootCategory } from "@/app/redirect/thunks"
|
||||||
import { useAppDispatch } from "@/app/store"
|
import { useAppDispatch, useAppSelector } from "@/app/store"
|
||||||
import type { InitialSetupRequest } from "@/app/types"
|
import type { InitialSetupRequest } from "@/app/types"
|
||||||
import { Alert } from "@/components/Alert"
|
import { Alert } from "@/components/Alert"
|
||||||
import { PageTitle } from "@/pages/PageTitle"
|
import { PageTitle } from "@/pages/PageTitle"
|
||||||
|
|
||||||
export function InitialSetupPage() {
|
export function InitialSetupPage() {
|
||||||
|
const serverInfos = useAppSelector(state => state.server.serverInfos)
|
||||||
const dispatch = useAppDispatch()
|
const dispatch = useAppDispatch()
|
||||||
const { _ } = useLingui()
|
const { _ } = useLingui()
|
||||||
|
|
||||||
@@ -21,6 +22,13 @@ export function InitialSetupPage() {
|
|||||||
password: "",
|
password: "",
|
||||||
email: "",
|
email: "",
|
||||||
},
|
},
|
||||||
|
validate: {
|
||||||
|
password: value =>
|
||||||
|
serverInfos && value.length < serverInfos.minimumPasswordLength
|
||||||
|
? _(msg`Password must be at least ${serverInfos.minimumPasswordLength} characters`)
|
||||||
|
: null,
|
||||||
|
},
|
||||||
|
validateInputOnChange: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
const login = useAsyncCallback(client.user.login, {
|
const login = useAsyncCallback(client.user.login, {
|
||||||
|
|||||||
@@ -23,6 +23,13 @@ export function RegistrationPage() {
|
|||||||
password: "",
|
password: "",
|
||||||
email: "",
|
email: "",
|
||||||
},
|
},
|
||||||
|
validate: {
|
||||||
|
password: value =>
|
||||||
|
serverInfos && value.length < serverInfos.minimumPasswordLength
|
||||||
|
? _(msg`Password must be at least ${serverInfos.minimumPasswordLength} characters`)
|
||||||
|
: null,
|
||||||
|
},
|
||||||
|
validateInputOnChange: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
const login = useAsyncCallback(client.user.login, {
|
const login = useAsyncCallback(client.user.login, {
|
||||||
|
|||||||
@@ -49,4 +49,7 @@ public class ServerInfo implements Serializable {
|
|||||||
@Schema(required = true)
|
@Schema(required = true)
|
||||||
private boolean initialSetupRequired;
|
private boolean initialSetupRequired;
|
||||||
|
|
||||||
|
@Schema(required = true)
|
||||||
|
private int minimumPasswordLength;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ public class ServerREST {
|
|||||||
infos.setTreeReloadInterval(config.websocket().treeReloadInterval().toMillis());
|
infos.setTreeReloadInterval(config.websocket().treeReloadInterval().toMillis());
|
||||||
infos.setForceRefreshCooldownDuration(config.feedRefresh().forceRefreshCooldownDuration().toMillis());
|
infos.setForceRefreshCooldownDuration(config.feedRefresh().forceRefreshCooldownDuration().toMillis());
|
||||||
infos.setInitialSetupRequired(databaseStartupService.isInitialSetupRequired());
|
infos.setInitialSetupRequired(databaseStartupService.isInitialSetupRequired());
|
||||||
|
infos.setMinimumPasswordLength(config.users().minimumPasswordLength());
|
||||||
return infos;
|
return infos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ import org.junit.jupiter.api.Test;
|
|||||||
|
|
||||||
import com.commafeed.TestConstants;
|
import com.commafeed.TestConstants;
|
||||||
import com.microsoft.playwright.BrowserContext;
|
import com.microsoft.playwright.BrowserContext;
|
||||||
import com.microsoft.playwright.Locator;
|
|
||||||
import com.microsoft.playwright.Page;
|
import com.microsoft.playwright.Page;
|
||||||
import com.microsoft.playwright.assertions.PlaywrightAssertions;
|
import com.microsoft.playwright.assertions.PlaywrightAssertions;
|
||||||
import com.microsoft.playwright.options.AriaRole;
|
import com.microsoft.playwright.options.AriaRole;
|
||||||
@@ -48,17 +47,6 @@ class AuthentificationIT {
|
|||||||
PlaywrightAssertions.assertThat(page).hasURL("http://localhost:8085/#/app/category/all");
|
PlaywrightAssertions.assertThat(page).hasURL("http://localhost:8085/#/app/category/all");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
void registerFailPasswordTooSimple() {
|
|
||||||
Page page = context.newPage();
|
|
||||||
page.navigate(getLoginPageUrl());
|
|
||||||
page.getByText("Sign up!").click();
|
|
||||||
PlaywrightTestUtils.register(page, "user", "user@domain.com", "p");
|
|
||||||
|
|
||||||
Locator alert = page.getByRole(AriaRole.ALERT);
|
|
||||||
PlaywrightAssertions.assertThat(alert).containsText("Password must be 4 or more characters in length.");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void registerSuccess() {
|
void registerSuccess() {
|
||||||
Page page = context.newPage();
|
Page page = context.newPage();
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ class ServerIT extends BaseIT {
|
|||||||
Assertions.assertEquals(900000, serverInfos.getWebsocketPingInterval());
|
Assertions.assertEquals(900000, serverInfos.getWebsocketPingInterval());
|
||||||
Assertions.assertEquals(30000, serverInfos.getTreeReloadInterval());
|
Assertions.assertEquals(30000, serverInfos.getTreeReloadInterval());
|
||||||
Assertions.assertEquals(60000, serverInfos.getForceRefreshCooldownDuration());
|
Assertions.assertEquals(60000, serverInfos.getForceRefreshCooldownDuration());
|
||||||
|
Assertions.assertEquals(4, serverInfos.getMinimumPasswordLength());
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user