feat: added cover image to pattern
CI / test (push) Successful in 45s
CI / build (push) Successful in 27s

This commit is contained in:
2026-07-17 13:48:34 +02:00
parent 778ec18b17
commit f722f0765e
18 changed files with 579 additions and 154 deletions
+84 -72
View File
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: crochet\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-07-17 11:03+0000\n"
"POT-Creation-Date: 2026-07-17 11:17+0000\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -26,33 +26,33 @@ msgstr "Create pattern"
msgid "¿Seguro que quieres eliminar este patrón? No podrás deshacerlo."
msgstr "Are you sure you want to delete this pattern? This cannot be undone."
#: crochet/templates/crochet/account_home.html:27
#: crochet/templates/crochet/account_home.html:34
msgid "Patrón sin título"
msgstr "Untitled pattern"
#: crochet/templates/crochet/account_home.html:30
#: crochet/templates/crochet/account_home.html:37
#, python-format
msgid "Actualizado el %(date)s"
msgstr "Updated on %(date)s"
#: crochet/templates/crochet/account_home.html:33
#: crochet/templates/crochet/account_home.html:40
#: crochet/templates/crochet/pattern.html:34
msgid "Ver patrón"
msgstr "View pattern"
#: crochet/templates/crochet/account_home.html:34
#: crochet/templates/crochet/account_home.html:41
msgid "Editar"
msgstr "Edit"
#: crochet/templates/crochet/account_home.html:38
#: crochet/templates/crochet/account_home.html:45
msgid "Eliminar"
msgstr "Delete"
#: crochet/templates/crochet/account_home.html:47
#: crochet/templates/crochet/account_home.html:54
msgid "Todavía no tienes ningún patrón."
msgstr "You don't have any patterns yet."
#: crochet/templates/crochet/account_home.html:53
#: crochet/templates/crochet/account_home.html:60
#: crochet/templates/crochet/base.html:34
msgid "Cerrar sesión"
msgstr "Log out"
@@ -110,184 +110,192 @@ msgid "Autor..."
msgstr "Author..."
#: crochet/templates/crochet/pattern.html:67
#: crochet/templates/crochet/pattern.html:151
msgid "Imagen de portada"
msgstr "Cover image"
#: crochet/templates/crochet/pattern.html:70
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:78
#: crochet/templates/crochet/pattern.html:162
msgid "Color del texto"
msgstr "Text color"
#: crochet/templates/crochet/pattern.html:71
#: crochet/templates/crochet/pattern.html:82
msgid "Color de acento (títulos)"
msgstr "Accent color (headings)"
#: crochet/templates/crochet/pattern.html:75
#: crochet/templates/crochet/pattern.html:151
#: crochet/templates/crochet/pattern.html:86
#: crochet/templates/crochet/pattern.html:162
msgid "Color de fondo"
msgstr "Background color"
#: crochet/templates/crochet/pattern.html:79
#: crochet/templates/crochet/pattern.html:90
msgid "Tipografía"
msgstr "Font"
#: crochet/templates/crochet/pattern.html:85
#: crochet/templates/crochet/pattern.html:96
msgid "Monoespaciada"
msgstr "Monospace"
#: crochet/templates/crochet/pattern.html:89
#: crochet/templates/crochet/pattern.html:100
msgid "Tamaño de letra"
msgstr "Font size"
#: crochet/templates/crochet/pattern.html:91
#: crochet/templates/crochet/pattern.html:102
msgid "Pequeño"
msgstr "Small"
#: crochet/templates/crochet/pattern.html:92
#: crochet/templates/crochet/pattern.html:103
msgid "Normal"
msgstr "Normal"
#: crochet/templates/crochet/pattern.html:93
#: crochet/templates/crochet/pattern.html:104
msgid "Grande"
msgstr "Large"
#: crochet/templates/crochet/pattern.html:97
#: crochet/templates/crochet/pattern.html:108
msgid "Alineación del texto"
msgstr "Text alignment"
#: crochet/templates/crochet/pattern.html:99
#: crochet/templates/crochet/pattern.html:110
msgid "Izquierda"
msgstr "Left"
#: crochet/templates/crochet/pattern.html:100
#: crochet/templates/crochet/pattern.html:111
msgid "Centrado"
msgstr "Center"
#: crochet/templates/crochet/pattern.html:101
#: crochet/templates/crochet/pattern.html:112
msgid "Justificado"
msgstr "Justify"
#: crochet/templates/crochet/pattern.html:105
#: crochet/templates/crochet/pattern.html:116
msgid "Tamaño de página"
msgstr "Page size"
#: crochet/templates/crochet/pattern.html:110
#: crochet/templates/crochet/pattern.html:121
msgid "Carta (Letter)"
msgstr "Letter"
#: crochet/templates/crochet/pattern.html:115
#: crochet/templates/crochet/pattern.html:126
msgid "Orientación"
msgstr "Orientation"
#: crochet/templates/crochet/pattern.html:117
#: crochet/templates/crochet/pattern.html:128
msgid "Vertical"
msgstr "Portrait"
#: crochet/templates/crochet/pattern.html:118
#: crochet/templates/crochet/pattern.html:129
msgid "Horizontal"
msgstr "Landscape"
#: crochet/templates/crochet/pattern.html:126
#: crochet/templates/crochet/pattern.html:134
#: crochet/templates/crochet/pattern.html:137
#: crochet/templates/crochet/pattern.html:145
msgid "Secciones"
msgstr "Sections"
#: crochet/templates/crochet/pattern.html:127
#: crochet/templates/crochet/pattern.html:173
#: crochet/templates/crochet/pattern.html:138
#: crochet/templates/crochet/pattern.html:184
msgid "Vista previa"
msgstr "Preview"
#: crochet/templates/crochet/pattern.html:136
#: crochet/templates/crochet/pattern.html:147
msgid "Colapsar todo"
msgstr "Collapse all"
#: crochet/templates/crochet/pattern.html:136
#: crochet/templates/crochet/pattern.html:147
msgid "Expandir todo"
msgstr "Expand all"
#: crochet/templates/crochet/pattern.html:141
#: crochet/templates/crochet/pattern.html:152
msgid "Añadir sección"
msgstr "Add section"
#: crochet/templates/crochet/pattern.html:144
#: crochet/templates/crochet/pattern.html:155
msgid "Título"
msgstr "Title"
#: crochet/templates/crochet/pattern.html:144
#: crochet/templates/crochet/pattern.html:155
msgid "Título..."
msgstr "Title..."
#: crochet/templates/crochet/pattern.html:146
#: crochet/templates/crochet/pattern.html:157
msgid "Subtítulo"
msgstr "Subtitle"
#: crochet/templates/crochet/pattern.html:146
#: crochet/templates/crochet/pattern.html:157
msgid "Subtítulo..."
msgstr "Subtitle..."
#: crochet/templates/crochet/pattern.html:148
#: crochet/templates/crochet/pattern.html:159
msgid "Texto"
msgstr "Text"
#: crochet/templates/crochet/pattern.html:148
#: crochet/templates/crochet/pattern.html:159
msgid "Escribe aquí..."
msgstr "Write here..."
#: crochet/templates/crochet/pattern.html:150
#: crochet/templates/crochet/pattern.html:151
#: crochet/templates/crochet/pattern.html:161
#: crochet/templates/crochet/pattern.html:162
msgid "Nota"
msgstr "Note"
#: crochet/templates/crochet/pattern.html:150
#: crochet/templates/crochet/pattern.html:161
msgid "Escribe una nota o consejo..."
msgstr "Write a note or tip..."
#: crochet/templates/crochet/pattern.html:153
#: crochet/templates/crochet/pattern.html:164
msgid "Materiales"
msgstr "Materials"
#: crochet/templates/crochet/pattern.html:153
#: crochet/templates/crochet/pattern.html:164
msgid "Añadir material..."
msgstr "Add material..."
#: crochet/templates/crochet/pattern.html:153
#: crochet/templates/crochet/pattern.html:164
msgid "Añadir línea"
msgstr "Add line"
#: crochet/templates/crochet/pattern.html:155
#: crochet/templates/crochet/pattern.html:157
#: crochet/templates/crochet/pattern.html:166
#: crochet/templates/crochet/pattern.html:168
msgid "Imagen"
msgstr "Image"
#: crochet/templates/crochet/pattern.html:157
#: crochet/templates/crochet/pattern.html:168
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:159
#: crochet/templates/crochet/pattern.html:170
msgid "Patrón"
msgstr "Pattern"
#: crochet/templates/crochet/pattern.html:159
#: crochet/templates/crochet/pattern.html:170
msgid "Elementos"
msgstr "Elements"
#: crochet/templates/crochet/pattern.html:161
#: crochet/templates/crochet/pattern.html:172
msgid "Grupo"
msgstr "Group"
#: crochet/templates/crochet/pattern.html:165
#: crochet/templates/crochet/pattern.html:176
msgid "Arrastrar para reordenar"
msgstr "Drag to reorder"
#: crochet/templates/crochet/pattern.html:166
#: crochet/templates/crochet/pattern.html:177
msgid "Colapsar / expandir"
msgstr "Collapse / expand"
#: crochet/templates/crochet/pattern.html:167
#: crochet/templates/crochet/pattern.html:178
msgid "Duplicar sección"
msgstr "Duplicate section"
#: crochet/templates/crochet/pattern.html:168
#: crochet/templates/crochet/pattern.html:179
msgid "Eliminar sección"
msgstr "Delete section"
#: crochet/templates/crochet/pattern.html:169
#: crochet/templates/crochet/pattern.html:180
msgid ""
"¿Seguro que quieres eliminar este grupo? Se eliminarán también todas las "
"secciones que contiene."
@@ -295,7 +303,7 @@ msgstr ""
"Are you sure you want to delete this group? All sections inside it will also "
"be deleted."
#: crochet/templates/crochet/pattern.html:175
#: crochet/templates/crochet/pattern.html:186
msgid "Añade una sección para ver aquí el resultado."
msgstr "Add a section to see the result here."
@@ -324,51 +332,55 @@ msgstr "Create account"
msgid "¿Ya tienes cuenta? Inicia sesión"
msgstr "Already have an account? Log in"
#: crochet/urls.py:30
#: crochet/urls.py:31
msgid "pattern/<uuid:uuid>/"
msgstr ""
#: crochet/urls.py:31
#: crochet/urls.py:32
msgid "pattern/<uuid:uuid>/edit/"
msgstr ""
#: crochet/urls.py:32
#: crochet/urls.py:33
msgid "pattern/<uuid:uuid>/save/"
msgstr ""
#: crochet/urls.py:33
#: crochet/urls.py:34
msgid "pattern/<uuid:uuid>/images/"
msgstr ""
#: crochet/urls.py:34
msgid "pattern/<uuid:uuid>/pdf/"
msgstr ""
#: crochet/urls.py:35
msgid "pattern/<uuid:uuid>/delete/"
msgid "pattern/<uuid:uuid>/cover/"
msgstr ""
#: crochet/urls.py:36
msgid "pattern/new/"
msgid "pattern/<uuid:uuid>/pdf/"
msgstr ""
#: crochet/urls.py:37
msgid "account/"
msgid "pattern/<uuid:uuid>/delete/"
msgstr ""
#: crochet/urls.py:38
msgid "account/register/"
msgid "pattern/new/"
msgstr ""
#: crochet/urls.py:39
msgid "account/"
msgstr ""
#: crochet/urls.py:40
msgid "account/register/"
msgstr ""
#: crochet/urls.py:42
msgid "account/login/"
msgstr ""
#: crochet/urls.py:45
#: crochet/urls.py:47
msgid "account/logout/"
msgstr ""
# crochet/views.py (PatternDetailView.EMPTY_MESSAGE)
#: crochet/views.py:23
#: crochet/views.py:24
msgid "Este patrón todavía no tiene contenido."
msgstr "This pattern doesn't have any content yet."