Fix #1361 (covers of archived books not shown)

pull/1409/head
Ozzieisaacs 4 years ago
commit 51f12c51ad

@ -16,7 +16,7 @@ We can offer only very limited support regarding configuration of **Reverse-Prox
### **Translation**
Some of the user languages in Calibre-Web having missing translations. We are happy to add the missing texts if you are translate them. Create a Pull Request, create an issue with the .po file attached, or write an email to "ozzie.fernandez.isaacs@googlemail.com" with attached translation file. To display all book languages in your native language an additional file is used (iso_language_names.py). The content of this file is autogenerated with the corresponding translations of Calibre, please do not edit this file on your own.
Some of the user languages in Calibre-Web having missing translations. We are happy to add the missing texts if you translate them. Create a Pull Request, create an issue with the .po file attached, or write an email to "ozzie.fernandez.isaacs@googlemail.com" with attached translation file. To display all book languages in your native language an additional file is used (iso_language_names.py). The content of this file is autogenerated with the corresponding translations of Calibre, please do not edit this file on your own.
### **Documentation**
@ -32,7 +32,7 @@ If you're unable to find an **open issue** addressing the problem, open a [new o
### **Feature Request**
If there is afeature missing in Calibre-Web and you can't find a feature request in the [Issues](https://github.com/janeczku/calibre-web/issues) section, you could create a [feature request](https://github.com/janeczku/calibre-web/issues/new?assignees=&labels=&template=feature_request.md&title=).
If there is a feature missing in Calibre-Web and you can't find a feature request in the [Issues](https://github.com/janeczku/calibre-web/issues) section, you could create a [feature request](https://github.com/janeczku/calibre-web/issues/new?assignees=&labels=&template=feature_request.md&title=).
We will not extend Calibre-Web with any more login abilitys or add further files storages, or file syncing ability. Furthermore Calibre-Web is made for home usage for company inhouse usage, so requests regarding any sorts of social interaction capability, payment routines, search engine or web site analytics integration will not be implemeted.
### **Contributing code to Calibre-Web**

@ -492,7 +492,7 @@ def get_cover_on_failure(use_generic_cover):
def get_book_cover(book_id):
book = db.session.query(db.Books).filter(db.Books.id == book_id).filter(common_filters()).first()
book = db.session.query(db.Books).filter(db.Books.id == book_id).filter(common_filters(allow_show_archived=True)).first()
return get_book_cover_internal(book, use_generic_cover_on_failure=True)

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Calibre-Web\n"
"Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n"
"POT-Creation-Date: 2020-05-01 17:15+0200\n"
"POT-Creation-Date: 2020-05-09 16:09+0200\n"
"PO-Revision-Date: 2019-07-26 11:44+0100\n"
"Last-Translator: minakmostoles <xxx@xxx.com>\n"
"Language: es\n"
@ -48,8 +48,8 @@ msgstr ""
msgid "Unknown command"
msgstr ""
#: cps/admin.py:115 cps/editbooks.py:504 cps/editbooks.py:514
#: cps/editbooks.py:620 cps/editbooks.py:622 cps/editbooks.py:688
#: cps/admin.py:115 cps/editbooks.py:505 cps/editbooks.py:515
#: cps/editbooks.py:621 cps/editbooks.py:623 cps/editbooks.py:689
#: cps/updater.py:509 cps/uploader.py:99 cps/uploader.py:110
msgid "Unknown"
msgstr "Desconocido"
@ -294,7 +294,7 @@ msgstr ""
msgid "Book Successfully Deleted"
msgstr ""
#: cps/editbooks.py:253 cps/editbooks.py:489
#: cps/editbooks.py:253 cps/editbooks.py:490
msgid "Error opening eBook. File does not exist or file is not accessible"
msgstr "Error abriendo un eBook. El archivo no existe o no es accesible"
@ -307,16 +307,16 @@ msgstr "editar metadatos"
msgid "%(langname)s is not a valid language"
msgstr "%(langname)s no es un idioma válido"
#: cps/editbooks.py:413 cps/editbooks.py:663
#: cps/editbooks.py:413 cps/editbooks.py:664
#, python-format
msgid "File extension '%(ext)s' is not allowed to be uploaded to this server"
msgstr "No se permite subir archivos con la extensión '%(ext)s' a este servidor"
#: cps/editbooks.py:417 cps/editbooks.py:667
#: cps/editbooks.py:417 cps/editbooks.py:668
msgid "File to be uploaded must have an extension"
msgstr "El archivo a subir debe tener una extensión"
#: cps/editbooks.py:429 cps/editbooks.py:701
#: cps/editbooks.py:429 cps/editbooks.py:702
#, python-format
msgid "Failed to create path %(path)s (Permission denied)."
msgstr "Fallo al crear la ruta %(path)s (permiso denegado)"
@ -331,48 +331,48 @@ msgstr "Falla al guardar el archivo %(file)s."
msgid "File format %(ext)s added to %(book)s"
msgstr "Fichero con formato %(ext)s añadido a %(book)s"
#: cps/editbooks.py:606
#: cps/editbooks.py:607
msgid "Metadata successfully updated"
msgstr "Metadatos actualizados correctamente"
#: cps/editbooks.py:615
#: cps/editbooks.py:616
msgid "Error editing book, please check logfile for details"
msgstr "Error al editar el libro, por favor compruebe el fichero de registro (logfile) para tener más detalles"
#: cps/editbooks.py:675
#: cps/editbooks.py:676
#, python-format
msgid "File %(filename)s could not saved to temp dir"
msgstr ""
#: cps/editbooks.py:692
#: cps/editbooks.py:693
msgid "Uploaded book probably exists in the library, consider to change before upload new: "
msgstr ""
#: cps/editbooks.py:707
#: cps/editbooks.py:709
#, python-format
msgid "Failed to store file %(file)s (Permission denied)."
msgstr "Fallo al guardar el archivo %(file)s (permiso denegado)"
msgid "Failed to Move File %(file)s: %(error)s"
msgstr ""
#: cps/editbooks.py:713
#: cps/editbooks.py:723
#, python-format
msgid "Failed to delete file %(file)s (Permission denied)."
msgstr "Fallo al borrar el archivo %(file)s (permiso denegado)"
msgid "Failed to Move Cover File %(file)s: %(error)s"
msgstr ""
#: cps/editbooks.py:804
#: cps/editbooks.py:808
#, python-format
msgid "File %(file)s uploaded"
msgstr "El fichero %(file)s a sido subido"
#: cps/editbooks.py:833
#: cps/editbooks.py:837
msgid "Source or destination format for conversion missing"
msgstr "Falta la fuente o el formato de destino para la conversión"
#: cps/editbooks.py:841
#: cps/editbooks.py:845
#, python-format
msgid "Book successfully queued for converting to %(book_format)s"
msgstr "Libro puesto a la cola con éxito para convertirlo a %(book_format)s"
#: cps/editbooks.py:845
#: cps/editbooks.py:849
#, python-format
msgid "There was an error converting this book: %(res)s"
msgstr "Ocurrió un error al convertir este libro: %(res)s"
@ -446,103 +446,103 @@ msgstr "Correo electrónico: %(book)s"
msgid "The requested file could not be read. Maybe wrong permissions?"
msgstr "El fichero solicitado no puede ser leído. ¿Quizás existen problemas con los permisos?"
#: cps/helper.py:299
#: cps/helper.py:300
#, python-format
msgid "Deleting book %(id)s failed, path has subfolders: %(path)s"
msgstr ""
#: cps/helper.py:309
#: cps/helper.py:310
#, python-format
msgid "Deleting book %(id)s failed: %(message)s"
msgstr ""
#: cps/helper.py:319
#: cps/helper.py:320
#, python-format
msgid "Deleting book %(id)s failed, book path not valid: %(path)s"
msgstr ""
#: cps/helper.py:354
#: cps/helper.py:355
#, python-format
msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s"
msgstr "El renombrado del título de: '%(src)s' a '%(dest)s' falló con errores: %(error)s"
#: cps/helper.py:364
#: cps/helper.py:365
#, python-format
msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s"
msgstr "El renombrado del autor de: '%(src)s' a '%(dest)s' falló con errores: %(error)s"
#: cps/helper.py:378
#: cps/helper.py:379
#, python-format
msgid "Rename file in path '%(src)s' to '%(dest)s' failed with error: %(error)s"
msgstr "Ha fallado el cambio de nombre del archivo '%(src)s' a '%(dest)s' con el error: %(error)s"
#: cps/helper.py:404 cps/helper.py:414 cps/helper.py:422
#: cps/helper.py:405 cps/helper.py:415 cps/helper.py:423
#, python-format
msgid "File %(file)s not found on Google Drive"
msgstr "Fichero %(file)s no encontrado en Google Drive"
#: cps/helper.py:443
#: cps/helper.py:444
#, python-format
msgid "Book path %(path)s not found on Google Drive"
msgstr "La ruta %(path)s del libro no fue encontrada en Google Drive"
#: cps/helper.py:550
#: cps/helper.py:551
msgid "Failed to create path for cover"
msgstr ""
#: cps/helper.py:555
#: cps/helper.py:556
msgid "Cover-file is not a valid image file, or could not be stored"
msgstr ""
#: cps/helper.py:566
#: cps/helper.py:567
msgid "Only jpg/jpeg/png/webp files are supported as coverfile"
msgstr ""
#: cps/helper.py:580
#: cps/helper.py:581
msgid "Only jpg/jpeg files are supported as coverfile"
msgstr ""
#: cps/helper.py:622
#: cps/helper.py:623
msgid "Unrar binary file not found"
msgstr ""
#: cps/helper.py:635
#: cps/helper.py:636
msgid "Error excecuting UnRar"
msgstr ""
#: cps/helper.py:691
#: cps/helper.py:692
msgid "Waiting"
msgstr "Esperando"
#: cps/helper.py:693
#: cps/helper.py:694
msgid "Failed"
msgstr "Fallido"
#: cps/helper.py:695
#: cps/helper.py:696
msgid "Started"
msgstr "Comenzado"
#: cps/helper.py:697
#: cps/helper.py:698
msgid "Finished"
msgstr "Finalizado"
#: cps/helper.py:699
#: cps/helper.py:700
msgid "Unknown Status"
msgstr "Estado desconocido"
#: cps/helper.py:704
#: cps/helper.py:705
msgid "E-mail: "
msgstr "E-mail "
#: cps/helper.py:706 cps/helper.py:710
#: cps/helper.py:707 cps/helper.py:711
msgid "Convert: "
msgstr "Convertir: "
#: cps/helper.py:708
#: cps/helper.py:709
msgid "Upload: "
msgstr "Subir: "
#: cps/helper.py:712
#: cps/helper.py:713
msgid "Unknown Task: "
msgstr "Tarea desconocida"
@ -1740,7 +1740,7 @@ msgstr ""
#: cps/templates/config_edit.html:300
#, python-format
msgid "Obtain %(provider)s OAuth Credential"
msgstr "Obtener la Credencial OAuth de %(proveedor)"
msgstr "Obtener la Credencial OAuth de %(provider)"
#: cps/templates/config_edit.html:303
#, python-format

File diff suppressed because it is too large Load Diff

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2020-05-08 14:54+0200\n"
"POT-Creation-Date: 2020-05-09 16:09+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

Loading…
Cancel
Save