feat: added recover password view
CI / test (push) Successful in 1m3s
CI / build (push) Successful in 53s

This commit is contained in:
2026-07-21 12:47:01 +02:00
parent 2f58e23cd2
commit 3e95ee2239
14 changed files with 724 additions and 148 deletions
+188 -72
View File
@@ -2,13 +2,14 @@ msgid ""
msgstr ""
"Project-Id-Version: crochet\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-07-20 10:46+0000\n"
"POT-Creation-Date: 2026-07-21 10:20+0000\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: crochet/forms.py:35 crochet/templates/crochet/account_settings.html:22
#: crochet/forms.py:30 crochet/forms.py:63
#: crochet/templates/crochet/account_settings.html:22
msgid "Email"
msgstr "Email"
@@ -26,6 +27,7 @@ msgstr "Password updated."
#: crochet/templates/crochet/_account_password_form.html:19
#: crochet/templates/crochet/account_settings.html:29
#: crochet/templates/crochet/password_reset_confirm.html:30
msgid "Cambiar contraseña"
msgstr "Change password"
@@ -57,13 +59,12 @@ msgid "Actualizado el %(date)s"
msgstr "Updated on %(date)s"
#: crochet/templates/crochet/account_home.html:44
#: crochet/templates/crochet/pattern.html:158
#: crochet/templates/crochet/pattern.html:204
#: crochet/templates/crochet/pattern.html:163
msgid "Vista previa"
msgstr "Preview"
#: crochet/templates/crochet/account_home.html:48
#: crochet/templates/crochet/pattern.html:50
#: crochet/templates/crochet/pattern.html:55
msgid "Eliminar"
msgstr "Delete"
@@ -91,16 +92,12 @@ msgstr "Log out"
#: crochet/templates/crochet/base.html:62
#: crochet/templates/crochet/home.html:24
#: crochet/templates/crochet/password_reset_complete.html:18
#: crochet/templates/registration/login.html:4
#: crochet/templates/registration/login.html:14
msgid "Iniciar sesión"
msgstr "Log in"
#: crochet/templates/crochet/base.html:63
#: crochet/templates/registration/register.html:29
msgid "Registrarme"
msgstr "Sign up"
#: crochet/templates/crochet/home.html:4
msgid "Crochet — Crea y comparte tus patrones"
msgstr "Crochet — Create and share your patterns"
@@ -161,233 +158,328 @@ msgstr ""
"Send your pattern to anyone with a read-only link: no one else will be able "
"to edit it."
#: crochet/templates/crochet/password_reset_complete.html:4
#: crochet/templates/crochet/password_reset_complete.html:14
msgid "Contraseña actualizada"
msgstr "Password updated"
#: crochet/templates/crochet/password_reset_complete.html:16
msgid "Ya puedes iniciar sesión con tu nueva contraseña."
msgstr "You can now log in with your new password."
#: crochet/templates/crochet/password_reset_confirm.html:4
msgid "Elegir nueva contraseña"
msgstr "Choose new password"
#: crochet/templates/crochet/password_reset_confirm.html:15
msgid "Elige una contraseña nueva"
msgstr "Choose a new password"
#: crochet/templates/crochet/password_reset_confirm.html:33
msgid "Enlace no válido"
msgstr "Invalid link"
#: crochet/templates/crochet/password_reset_confirm.html:35
msgid ""
"El enlace para restablecer la contraseña no es válido, puede que ya se haya "
"usado. Solicita uno nuevo."
msgstr ""
"The password reset link is invalid, possibly because it has already been "
"used. Please request a new one."
#: crochet/templates/crochet/password_reset_confirm.html:38
msgid "Solicitar un enlace nuevo"
msgstr "Request a new link"
#: crochet/templates/crochet/password_reset_done.html:4
#: crochet/templates/crochet/password_reset_form.html:4
#: crochet/templates/crochet/password_reset_form.html:14
msgid "Recuperar contraseña"
msgstr "Reset password"
#: crochet/templates/crochet/password_reset_done.html:14
msgid "Revisa tu email"
msgstr "Check your email"
#: crochet/templates/crochet/password_reset_done.html:16
msgid ""
"Si existe una cuenta con ese email, te hemos enviado un enlace para elegir "
"una contraseña nueva."
msgstr ""
"If an account exists with that email, we've sent you a link to choose a new "
"password."
#: crochet/templates/crochet/password_reset_done.html:19
#: crochet/templates/crochet/password_reset_form.html:32
msgid "Volver a iniciar sesión"
msgstr "Back to login"
#: crochet/templates/crochet/password_reset_email.html:2
#, python-format
msgid ""
"Has recibido este email porque alguien ha solicitado restablecer la "
"contraseña de tu cuenta en %(site_name)s."
msgstr ""
"You're receiving this email because someone requested a password reset for "
"your account at %(site_name)s."
#: crochet/templates/crochet/password_reset_email.html:4
msgid "Sigue este enlace para elegir una contraseña nueva:"
msgstr "Follow this link to choose a new password:"
#: crochet/templates/crochet/password_reset_email.html:7
msgid "Tu usuario, por si lo has olvidado:"
msgstr "Your username, in case you've forgotten:"
#: crochet/templates/crochet/password_reset_email.html:9
msgid "Si no has solicitado este cambio, puedes ignorar este email."
msgstr "If you didn't request this change, you can ignore this email."
#: crochet/templates/crochet/password_reset_form.html:16
msgid ""
"Escribe tu email y te enviaremos un enlace para elegir una contraseña nueva."
msgstr "Enter your email and we'll send you a link to choose a new password."
#: crochet/templates/crochet/password_reset_form.html:29
msgid "Enviar enlace"
msgstr "Send link"
#: crochet/templates/crochet/password_reset_subject.txt:1
#, python-format
msgid "Recupera tu contraseña en %(site_name)s"
msgstr "Reset your password on %(site_name)s"
#: crochet/templates/crochet/pattern.html:26
msgid "Idioma del patrón"
msgstr "Pattern language"
# crochet/templates/crochet/pattern.html
#: crochet/templates/crochet/pattern.html:33
#: crochet/templates/crochet/pattern.html:38
msgid "No se ha podido guardar. Inténtalo de nuevo."
msgstr "Couldn't save. Please try again."
#: crochet/templates/crochet/pattern.html:33
#: crochet/templates/crochet/pattern.html:38
msgid "Guardar"
msgstr "Save"
#: crochet/templates/crochet/pattern.html:36
#: crochet/templates/crochet/pattern.html:41
msgid "Ver patrón"
msgstr "View pattern"
#: crochet/templates/crochet/pattern.html:37
#: crochet/templates/crochet/pattern.html:42
msgid "Exportar a PDF"
msgstr "Export to PDF"
#: crochet/templates/crochet/pattern.html:44
#: crochet/templates/crochet/pattern.html:49
msgid "Más opciones"
msgstr "More options"
#: crochet/templates/crochet/pattern.html:60
#: crochet/templates/crochet/pattern.html:65
msgid "Guardado"
msgstr "Saved"
#: crochet/templates/crochet/pattern.html:67
#: crochet/templates/crochet/pattern.html:72
msgid "Personalización de página"
msgstr "Page customization"
#: crochet/templates/crochet/pattern.html:71
#: crochet/templates/crochet/pattern.html:76
msgid "Título del patrón"
msgstr "Pattern title"
#: crochet/templates/crochet/pattern.html:72
#: crochet/templates/crochet/pattern.html:77
msgid "Título del patrón..."
msgstr "Pattern title..."
#: crochet/templates/crochet/pattern.html:75
#: crochet/templates/crochet/pattern.html:80
msgid "Autor"
msgstr "Author"
#: crochet/templates/crochet/pattern.html:76
#: crochet/templates/crochet/pattern.html:81
msgid "Autor..."
msgstr "Author..."
#: crochet/templates/crochet/pattern.html:81
#: crochet/templates/crochet/pattern.html:86
msgid "Imagen de portada"
msgstr "Cover image"
#: crochet/templates/crochet/pattern.html:84
#: crochet/templates/crochet/pattern.html:89
msgid "No se ha podido subir la imagen de portada. Inténtalo de nuevo."
msgstr "Couldn't upload the cover image. Please try again."
#: crochet/templates/crochet/pattern.html:98
#: crochet/templates/crochet/pattern.html:182
#: crochet/templates/crochet/pattern.html:103
#: crochet/templates/crochet/pattern.html:187
msgid "Color del texto"
msgstr "Text color"
#: crochet/templates/crochet/pattern.html:102
#: crochet/templates/crochet/pattern.html:107
msgid "Color de acento (títulos)"
msgstr "Accent color (headings)"
#: crochet/templates/crochet/pattern.html:106
#: crochet/templates/crochet/pattern.html:182
#: crochet/templates/crochet/pattern.html:111
#: crochet/templates/crochet/pattern.html:187
msgid "Color de fondo"
msgstr "Background color"
#: crochet/templates/crochet/pattern.html:110
#: crochet/templates/crochet/pattern.html:115
msgid "Tipografía"
msgstr "Font"
#: crochet/templates/crochet/pattern.html:116
#: crochet/templates/crochet/pattern.html:121
msgid "Monoespaciada"
msgstr "Monospace"
#: crochet/templates/crochet/pattern.html:120
#: crochet/templates/crochet/pattern.html:125
msgid "Tamaño de letra"
msgstr "Font size"
#: crochet/templates/crochet/pattern.html:122
#: crochet/templates/crochet/pattern.html:127
msgid "Pequeño"
msgstr "Small"
#: crochet/templates/crochet/pattern.html:123
#: crochet/templates/crochet/pattern.html:128
msgid "Normal"
msgstr "Normal"
#: crochet/templates/crochet/pattern.html:124
#: crochet/templates/crochet/pattern.html:129
msgid "Grande"
msgstr "Large"
#: crochet/templates/crochet/pattern.html:128
#: crochet/templates/crochet/pattern.html:133
msgid "Alineación del texto"
msgstr "Text alignment"
#: crochet/templates/crochet/pattern.html:130
#: crochet/templates/crochet/pattern.html:135
msgid "Izquierda"
msgstr "Left"
#: crochet/templates/crochet/pattern.html:131
#: crochet/templates/crochet/pattern.html:136
msgid "Centrado"
msgstr "Center"
#: crochet/templates/crochet/pattern.html:132
#: crochet/templates/crochet/pattern.html:137
msgid "Justificado"
msgstr "Justify"
#: crochet/templates/crochet/pattern.html:136
#: crochet/templates/crochet/pattern.html:141
msgid "Tamaño de página"
msgstr "Page size"
#: crochet/templates/crochet/pattern.html:141
#: crochet/templates/crochet/pattern.html:146
msgid "Carta (Letter)"
msgstr "Letter"
#: crochet/templates/crochet/pattern.html:146
#: crochet/templates/crochet/pattern.html:151
msgid "Orientación"
msgstr "Orientation"
#: crochet/templates/crochet/pattern.html:148
#: crochet/templates/crochet/pattern.html:153
msgid "Vertical"
msgstr "Portrait"
#: crochet/templates/crochet/pattern.html:149
#: crochet/templates/crochet/pattern.html:154
msgid "Horizontal"
msgstr "Landscape"
#: crochet/templates/crochet/pattern.html:157
#: crochet/templates/crochet/pattern.html:165
#: crochet/templates/crochet/pattern.html:162
#: crochet/templates/crochet/pattern.html:170
msgid "Secciones"
msgstr "Sections"
#: crochet/templates/crochet/pattern.html:167
#: crochet/templates/crochet/pattern.html:172
msgid "Colapsar todo"
msgstr "Collapse all"
#: crochet/templates/crochet/pattern.html:167
#: crochet/templates/crochet/pattern.html:172
msgid "Expandir todo"
msgstr "Expand all"
#: crochet/templates/crochet/pattern.html:172
#: crochet/templates/crochet/pattern.html:177
msgid "Añadir sección"
msgstr "Add section"
#: crochet/templates/crochet/pattern.html:175
#: crochet/templates/crochet/pattern.html:180
msgid "Título"
msgstr "Title"
#: crochet/templates/crochet/pattern.html:175
#: crochet/templates/crochet/pattern.html:180
msgid "Título..."
msgstr "Title..."
#: crochet/templates/crochet/pattern.html:177
#: crochet/templates/crochet/pattern.html:182
msgid "Subtítulo"
msgstr "Subtitle"
#: crochet/templates/crochet/pattern.html:177
#: crochet/templates/crochet/pattern.html:182
msgid "Subtítulo..."
msgstr "Subtitle..."
#: crochet/templates/crochet/pattern.html:179
#: crochet/templates/crochet/pattern.html:184
msgid "Texto"
msgstr "Text"
#: crochet/templates/crochet/pattern.html:179
#: crochet/templates/crochet/pattern.html:184
msgid "Escribe aquí..."
msgstr "Write here..."
#: crochet/templates/crochet/pattern.html:181
#: crochet/templates/crochet/pattern.html:182
#: crochet/templates/crochet/pattern.html:186
#: crochet/templates/crochet/pattern.html:187
msgid "Nota"
msgstr "Note"
#: crochet/templates/crochet/pattern.html:181
#: crochet/templates/crochet/pattern.html:186
msgid "Escribe una nota o consejo..."
msgstr "Write a note or tip..."
#: crochet/templates/crochet/pattern.html:184
#: crochet/templates/crochet/pattern.html:189
msgid "Materiales"
msgstr "Materials"
#: crochet/templates/crochet/pattern.html:184
#: crochet/templates/crochet/pattern.html:189
msgid "Añadir material..."
msgstr "Add material..."
#: crochet/templates/crochet/pattern.html:184
#: crochet/templates/crochet/pattern.html:189
msgid "Añadir línea"
msgstr "Add line"
#: crochet/templates/crochet/pattern.html:186
#: crochet/templates/crochet/pattern.html:188
#: crochet/templates/crochet/pattern.html:191
#: crochet/templates/crochet/pattern.html:193
msgid "Imagen"
msgstr "Image"
#: crochet/templates/crochet/pattern.html:188
#: crochet/templates/crochet/pattern.html:193
msgid "No se ha podido subir la imagen. Inténtalo de nuevo."
msgstr "Couldn't upload the image. Please try again."
#: crochet/templates/crochet/pattern.html:190
#: crochet/templates/crochet/pattern.html:195
msgid "Patrón"
msgstr "Pattern"
#: crochet/templates/crochet/pattern.html:190
#: crochet/templates/crochet/pattern.html:195
msgid "Elementos"
msgstr "Elements"
#: crochet/templates/crochet/pattern.html:192
#: crochet/templates/crochet/pattern.html:197
msgid "Grupo"
msgstr "Group"
#: crochet/templates/crochet/pattern.html:196
#: crochet/templates/crochet/pattern.html:201
msgid "Arrastrar para reordenar"
msgstr "Drag to reorder"
#: crochet/templates/crochet/pattern.html:197
#: crochet/templates/crochet/pattern.html:202
msgid "Colapsar / expandir"
msgstr "Collapse / expand"
#: crochet/templates/crochet/pattern.html:198
#: crochet/templates/crochet/pattern.html:203
msgid "Duplicar sección"
msgstr "Duplicate section"
#: crochet/templates/crochet/pattern.html:199
#: crochet/templates/crochet/pattern.html:204
msgid "Eliminar sección"
msgstr "Delete section"
#: crochet/templates/crochet/pattern.html:200
#: crochet/templates/crochet/pattern.html:205
msgid ""
"¿Seguro que quieres eliminar este grupo? Se eliminarán también todas las "
"secciones que contiene."
@@ -395,7 +487,7 @@ msgstr ""
"Are you sure you want to delete this group? All sections inside it will also "
"be deleted."
#: crochet/templates/crochet/pattern.html:206
#: crochet/templates/crochet/pattern.html:210
msgid "Añade una sección para ver aquí el resultado."
msgstr "Add a section to see the result here."
@@ -412,6 +504,10 @@ msgid "Entrar"
msgstr "Log in"
#: crochet/templates/registration/login.html:32
msgid "¿Has olvidado tu contraseña?"
msgstr "Forgot your password?"
#: crochet/templates/registration/login.html:35
msgid "¿No tienes cuenta? Regístrate"
msgstr "Don't have an account? Sign up"
@@ -420,6 +516,10 @@ msgstr "Don't have an account? Sign up"
msgid "Crear cuenta"
msgstr "Create account"
#: crochet/templates/registration/register.html:29
msgid "Registrarme"
msgstr "Sign up"
#: crochet/templates/registration/register.html:32
msgid "¿Ya tienes cuenta? Inicia sesión"
msgstr "Already have an account? Log in"
@@ -484,6 +584,22 @@ msgstr ""
msgid "account/logout/"
msgstr ""
#: crochet/urls.py:60
msgid "account/password-reset/"
msgstr ""
#: crochet/urls.py:75
msgid "account/password-reset/done/"
msgstr ""
#: crochet/urls.py:79
msgid "account/reset/<uidb64>/<token>/"
msgstr ""
#: crochet/urls.py:87
msgid "account/reset/done/"
msgstr ""
# crochet/views.py (PatternDetailView.EMPTY_MESSAGE)
#: crochet/views.py:24
msgid "Este patrón todavía no tiene contenido."