From caff017c0de990f3f7a9cf39218aed6f3f8e11f6 Mon Sep 17 00:00:00 2001 From: ghose <704948+xmgz@users.noreply.github.com> Date: Sun, 14 Jul 2024 17:48:46 +0200 Subject: [PATCH 01/10] Add Galician translation (#1350) --- po/LINGUAS | 1 + 1 file changed, 1 insertion(+) diff --git a/po/LINGUAS b/po/LINGUAS index 0976f184..d74b064c 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -5,6 +5,7 @@ el es eu fr +gl he hi hr From 72f35bcf1b9a49d0798e2007ccd24627478e48db Mon Sep 17 00:00:00 2001 From: ghose <704948+xmgz@users.noreply.github.com> Date: Sun, 14 Jul 2024 17:49:09 +0200 Subject: [PATCH 02/10] Add Galician translation (#1349) --- po/gl.po | 1176 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1176 insertions(+) create mode 100644 po/gl.po diff --git a/po/gl.po b/po/gl.po new file mode 100644 index 00000000..62eecea6 --- /dev/null +++ b/po/gl.po @@ -0,0 +1,1176 @@ +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the com.github.johnfactotum.Foliate package. +# +# josé m. , 2024. +msgid "" +msgstr "" +"Project-Id-Version: com.github.johnfactotum.Foliate\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-12-19 04:33+0000\n" +"PO-Revision-Date: 2024-07-07 09:21+0200\n" +"Last-Translator: josé m. \n" +"Language-Team: Galician <>\n" +"Language: gl_ES\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 22.12.3\n" + +#: src/annotations.js:137 src/annotations.js:172 +msgid "Bookmark deleted" +msgstr "Marcador eliminado" + +#: src/annotations.js:138 src/annotations.js:173 src/book-viewer.js:809 +#: src/library.js:826 +msgid "Undo" +msgstr "Desfacer" + +#: src/annotations.js:437 +msgid "Underline" +msgstr "Subliñar" + +#: src/annotations.js:438 +msgid "Squiggly" +msgstr "Ondulado" + +#: src/annotations.js:439 +msgid "Strikethrough" +msgstr "Riscar" + +#: src/annotations.js:440 +#, fuzzy +msgid "Yellow" +msgstr "Amarelo" + +#: src/annotations.js:441 +msgid "Orange" +msgstr "Laranxa" + +#: src/annotations.js:442 +msgid "Red" +msgstr "Vermello" + +#: src/annotations.js:443 +msgid "Magenta" +msgstr "Maxenta" + +#: src/annotations.js:444 +msgid "Aqua" +msgstr "Auga" + +#: src/annotations.js:445 +msgid "Lime" +msgstr "Lima" + +#: src/annotations.js:446 +msgid "Custom Color…" +msgstr "Cor personalizada" + +#: src/annotations.js:498 +msgid "Custom" +msgstr "Personalizar" + +#: src/annotations.js:592 +msgid "JSON Files" +msgstr "Ficheiros JSON" + +#: src/annotations.js:597 src/app.js:149 +msgid "All Files" +msgstr "Todos os Ficheiros" + +#: src/annotations.js:606 src/annotations.js:634 src/ui/book-viewer.ui:402 +msgid "No Annotations" +msgstr "Sen Notas" + +#: src/annotations.js:607 +msgid "The imported file has no annotations" +msgstr "O ficheiro importado non contén notas" + +#: src/annotations.js:625 +msgid "Cannot Import Annotations" +msgstr "Non se puideron importar as Notas" + +#: src/annotations.js:626 src/book-viewer.js:720 src/library.js:605 +msgid "An error occurred" +msgstr "Aconteceu un erro" + +#: src/annotations.js:635 +msgid "You don’t have any annotations for this book" +msgstr "Non tes notas para este libro" + +#: src/annotations.js:648 +#, javascript-format +msgid "Annotations for “%s”" +msgstr "Notas para \"%s\"" + +#: src/annotations.js:649 +#, javascript-format +msgid "%d Annotation" +msgid_plural "%d Annotations" +msgstr[0] "%d Nota" +msgstr[1] "" + +#: src/app.js:95 src/book-viewer.js:30 +msgid "Close" +msgstr "Pechar" + +#: src/app.js:112 src/library.js:50 src/ui/export-dialog.ui:11 +#: src/ui/import-dialog.ui:15 +msgid "Cancel" +msgstr "Desbotar" + +#: src/app.js:136 +msgid "E-Book Files" +msgstr "Ficheiros E-Book" + +#: src/app.js:399 data/com.github.johnfactotum.Foliate.desktop.in:6 +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:7 +msgid "Read e-books in style" +msgstr "Ler e-books con estilo" + +#. Translators: put your names here, one name per line +#. they will be shown in the "About" dialog +#: src/app.js:405 +msgid "translator-credits" +msgstr "crédito-da-tradución" + +#: src/app.js:414 +msgid "Source Code" +msgstr "Código Fonte" + +#: src/book-info.js:125 src/library.js:75 +msgid "Publisher" +msgstr "Editorial" + +#. Translators: this is the heading for the publication date +#: src/book-info.js:127 src/library.js:76 +msgid "Published" +msgstr "Publicado" + +#. Translators: this is the heading for the modified date +#: src/book-info.js:129 +msgid "Updated" +msgstr "Actualizado" + +#: src/book-info.js:130 src/library.js:77 +msgid "Language" +msgstr "Idioma" + +#: src/book-info.js:131 +msgid "Translated by" +msgstr "Traducido por" + +#: src/book-info.js:132 +msgid "Edited by" +msgstr "Editado por" + +#: src/book-info.js:133 +msgid "Narrated by" +msgstr "Narrado por" + +#: src/book-info.js:134 +msgid "Illustrated by" +msgstr "Ilustrado por" + +#: src/book-info.js:135 +msgid "Produced by" +msgstr "Producido por" + +#: src/book-info.js:136 +msgid "Artwork by" +msgstr "Arte gráfica por" + +#: src/book-info.js:137 +msgid "Color by" +msgstr "Cor por" + +#: src/book-info.js:138 +msgid "Contributors" +msgstr "Colaboracións" + +#: src/book-info.js:139 src/library.js:78 src/ui/navbar.ui:283 +msgid "Identifier" +msgstr "Identificador" + +#: src/book-info.js:171 src/ui/book-item.ui:11 src/ui/book-row.ui:11 +#: src/ui/book-viewer.ui:368 +msgid "About This Book" +msgstr "Sobre este Libro" + +#: src/book-viewer.js:27 +#, javascript-format +msgid "Loc. %s of %s" +msgstr "Loc. %s de %s" + +#: src/book-viewer.js:28 +#, javascript-format +msgid "Page %s of %s" +msgstr "Páxina %s de %s" + +#: src/book-viewer.js:29 +#, javascript-format +msgid "Page %s" +msgstr "Páxina %s" + +#: src/book-viewer.js:32 +msgid "Footnote" +msgstr "Nota ao pé" + +#: src/book-viewer.js:33 +msgid "Go to Footnote" +msgstr "Ir á Nota ao pé" + +#: src/book-viewer.js:34 +msgid "Endnote" +msgstr "Nota final" + +#: src/book-viewer.js:35 +msgid "Go to Endnote" +msgstr "Ir á Nota final" + +#: src/book-viewer.js:36 +msgid "Note" +msgstr "Nota" + +#: src/book-viewer.js:37 +msgid "Go to Note" +msgstr "Ir á Nota" + +#: src/book-viewer.js:38 +msgid "Definition" +msgstr "Definición" + +#: src/book-viewer.js:39 +msgid "Go to Definition" +msgstr "Ir á definición" + +#: src/book-viewer.js:40 +msgid "Bibliography" +msgstr "Bibliografía" + +#: src/book-viewer.js:41 +msgid "Go to Bibliography" +msgstr "Ir á Bibliografía" + +#: src/book-viewer.js:619 +msgid "Remove bookmark" +msgstr "Retirar marcador" + +#: src/book-viewer.js:620 +msgid "Add bookmark" +msgstr "Engadir marcador" + +#: src/book-viewer.js:718 +msgid "File not found" +msgstr "Non se atopa o ficheiro" + +#: src/book-viewer.js:719 +msgid "File type not supported" +msgstr "Sen soporte para o tipo de ficheiro" + +#: src/book-viewer.js:808 +msgid "Annotation deleted" +msgstr "Eliminouse a Nota" + +#: src/book-viewer.js:876 +#, javascript-format +msgid "" +"‘%s’\n" +"—%s, “%s”, p. %s" +msgstr "" +"‘%s’\n" +"—%s, “%s”, p. %s" + +#: src/book-viewer.js:878 +#, javascript-format +msgid "" +"‘%s’\n" +"—“%s”, p. %s" +msgstr "" +"‘%s’\n" +"—“%s”, p. %s" + +#: src/book-viewer.js:879 +#, javascript-format +msgid "‘%s’ (p. %s)" +msgstr "‘%s’ (p. %s)" + +#: src/book-viewer.js:882 +#, javascript-format +msgid "" +"‘%s’\n" +"—%s, “%s”" +msgstr "" +"‘%s’\n" +"—%s, “%s”" + +#: src/book-viewer.js:884 +#, javascript-format +msgid "" +"‘%s’\n" +"—“%s”" +msgstr "" +"‘%s’\n" +"—“%s”" + +#: src/book-viewer.js:885 +#, javascript-format +msgid "‘%s’" +msgstr "‘%s’" + +#: src/book-viewer.js:903 +#, javascript-format +msgid "Image from “%s”" +msgstr "Imaxe desde \"%s\"" + +#: src/book-viewer.js:903 +msgid "Image" +msgstr "Imaxe" + +#: src/format.js:122 +#, javascript-format +msgid "of %d" +msgstr "de %d" + +#: src/library.js:47 +msgid "Loading" +msgstr "A cargar" + +#: src/library.js:48 +msgid "Failed to Load" +msgstr "Fallou a Carga" + +#: src/library.js:49 src/ui/book-viewer.ui:15 +msgid "Reload" +msgstr "Recargar" + +#: src/library.js:51 +msgid "See All" +msgstr "Ver Todos" + +#: src/library.js:52 src/ui/library.ui:124 src/ui/library.ui:182 +msgid "Search" +msgstr "Buscar" + +#: src/library.js:53 +msgid "Filter" +msgstr "Filtrar" + +#: src/library.js:55 src/library.js:57 +msgid "Download" +msgstr "Descargar" + +#: src/library.js:56 +msgid "Buy" +msgstr "Mercar" + +#: src/library.js:58 +msgid "Preview" +msgstr "Vista Previa" + +#: src/library.js:59 +msgid "Sample" +msgstr "Mostra" + +#: src/library.js:60 +msgid "Borrow" +msgstr "Emprestar" + +#: src/library.js:61 +msgid "Subscribe" +msgstr "Subscribir" + +#: src/library.js:63 +msgid "Free" +msgstr "Gratuíto" + +#: src/library.js:65 +msgid "First" +msgstr "Primeira" + +#: src/library.js:66 src/ui/navbar.ui:8 src/ui/tts-box.ui:115 +msgid "Previous" +msgstr "Anterior" + +#: src/library.js:67 src/ui/navbar.ui:124 src/ui/tts-box.ui:132 +msgid "Next" +msgstr "Seguinte" + +#: src/library.js:68 +msgid "Last" +msgstr "Última" + +#: src/library.js:70 +msgid "Search Terms" +msgstr "Termos a buscar" + +#: src/library.js:72 +msgid "Title" +msgstr "Título" + +#: src/library.js:73 +msgid "Author" +msgstr "Autoría" + +#: src/library.js:74 +msgid "Contributor" +msgstr "Colaboración" + +#: src/library.js:433 +msgid "Remove Book?" +msgstr "Retirar Libro?" + +#: src/library.js:434 +msgid "Reading progress, annotations, and bookmarks will be permanently lost" +msgstr "Perderás irremediablemente as notas, marcadores e progreso da lectura" + +#: src/library.js:436 +msgid "_Cancel" +msgstr "_Cancelar" + +#: src/library.js:437 +msgid "_Remove" +msgstr "_Retirar" + +#: src/library.js:605 +msgid "Download Failed" +msgstr "Fallou a descarga" + +#: src/library.js:659 +msgid "Rename…" +msgstr "Cambiar nome..." + +#: src/library.js:660 src/ui/book-item.ui:21 src/ui/book-row.ui:21 +msgid "Remove" +msgstr "Retirar" + +#: src/library.js:680 src/library.js:681 +msgid "Rename" +msgstr "Cambar nome" + +#: src/library.js:686 +msgid "Name" +msgstr "Nome" + +#: src/library.js:701 +msgid "All Books" +msgstr "Todos os libros" + +#: src/library.js:707 +msgid "Add Catalog…" +msgstr "Engadir Catálogo..." + +#: src/library.js:774 src/ui/book-viewer.ui:130 src/ui/book-viewer.ui:239 +#: src/ui/library.ui:93 +msgid "Library" +msgstr "Biblioteca" + +#: src/library.js:782 +msgid "Catalogs" +msgstr "Catálogos" + +#: src/library.js:825 +msgid "Catalog removed" +msgstr "Retirouse o Catálogo" + +#: src/library.js:912 src/library.js:917 +msgid "Add Catalog" +msgstr "Engadir Catálogo" + +#: src/library.js:913 +msgid "Add" +msgstr "Engadir" + +#: src/library.js:918 +msgid "" +"You can browse and download books from OPDS catalogs. Learn More…" +msgstr "" +"Podes ollar e descargar libros de catálogos tipo OPDS. Saber Máis…" + +#: src/library.js:922 +msgid "URL" +msgstr "URL" + +#. Translators: Do NOT translate! The is the application name! +#: src/main.js:28 data/com.github.johnfactotum.Foliate.desktop.in:4 +msgid "Foliate" +msgstr "Foliate" + +#: src/selection-tools.js:72 +msgid "Dictionary" +msgstr "Dicionario" + +#: src/selection-tools.js:96 +msgid "" +"From Wiktionary, released under the CC BY-SA License." +msgstr "" +"Desde Wiktionary, publicado con licenza CC BY-SA License." + +#: src/selection-tools.js:144 src/selection-tools.js:232 +msgid "No Definitions Found" +msgstr "Non se atopan definicións" + +#: src/selection-tools.js:146 +msgid "Search on Wiktionary" +msgstr "Buscar en Wiktionary" + +#: src/selection-tools.js:183 +msgid "Wikipedia" +msgstr "Wikipedia" + +#: src/selection-tools.js:202 +msgid "" +"From Wikipedia, released under the CC BY-SA License." +msgstr "" +"Desde Wikipedia, publicado con licenza CC BY-SA License." + +#: src/selection-tools.js:234 +msgid "Search on Wikipedia" +msgstr "Buscar na Wikipedia" + +#: src/selection-tools.js:243 +msgid "Translate" +msgstr "Traducir" + +#: src/selection-tools.js:269 +msgid "Translation by Google Translate" +msgstr "Traducido por Google Translate" + +#: src/selection-tools.js:280 +msgid "Cannot retrieve translation" +msgstr "Non se obtivo unha tradución" + +#: src/themes.js:9 +msgid "Default" +msgstr "Por defecto" + +#: src/themes.js:14 +msgid "Gray" +msgstr "Gris" + +#: src/themes.js:19 +msgid "Sepia" +msgstr "Sepia" + +#: src/themes.js:24 +msgid "Grass" +msgstr "Herba" + +#: src/themes.js:29 +msgid "Cherry" +msgstr "Cereixa" + +#: src/themes.js:34 +msgid "Sky" +msgstr "Ceo" + +#: src/themes.js:39 +msgid "Solarized" +msgstr "Solarizado" + +#: src/themes.js:44 +msgid "Gruvbox" +msgstr "Gruvbox" + +#: src/themes.js:49 +msgid "Nord" +msgstr "Nord" + +#: src/tts.js:117 +msgid "Text-to-Speech Error" +msgstr "Erro no Texto-a-Fala" + +#: src/tts.js:118 +msgid "Make sure Speech Dispatcher is installed and working on your system" +msgstr "" +"Pon atención en que Speech Dispatcher está instalada e activa no teu sistema" + +#: src/utils.js:168 +msgid "Copied to clipboard" +msgstr "Copiado ao portapapeis" + +#: src/ui/annotation-popover.ui:13 +msgid "Highlight Style" +msgstr "Estilo ao Resaltar" + +#: src/ui/annotation-popover.ui:20 src/ui/annotation-row.ui:63 +#: src/ui/bookmark-row.ui:33 +msgid "Delete" +msgstr "Eliminar" + +#: src/ui/annotation-popover.ui:28 src/ui/book-item.ui:61 src/ui/book-row.ui:75 +#: src/ui/image-viewer.ui:62 +msgid "Menu" +msgstr "Menú" + +#: src/ui/annotation-popover.ui:47 +msgid "Add Note…" +msgstr "Engadir Nota..." + +#: src/ui/book-item.ui:5 src/ui/book-row.ui:5 +msgid "Open in New Window" +msgstr "Abrir en Nova ventá" + +#: src/ui/book-item.ui:15 src/ui/book-row.ui:15 src/ui/book-viewer.ui:25 +msgid "Export Annotations…" +msgstr "Exportar Notas..." + +#: src/ui/book-viewer.ui:5 +msgid "New Window" +msgstr "Nova Ventá" + +#: src/ui/book-viewer.ui:11 +msgid "Open a Copy" +msgstr "Abrir unha Copia" + +#: src/ui/book-viewer.ui:21 +msgid "Import Annotations…" +msgstr "Importar Notas..." + +#: src/ui/book-viewer.ui:37 src/ui/library.ui:42 +msgid "About Foliate" +msgstr "Sobre Foliate" + +#: src/ui/book-viewer.ui:45 +msgid "All Sections" +msgstr "Todas as Seccións" + +#: src/ui/book-viewer.ui:50 +msgid "Current Section" +msgstr "Sección actual" + +#: src/ui/book-viewer.ui:57 +msgid "Match Whole Words Only" +msgstr "Só concordancias completas" + +#: src/ui/book-viewer.ui:61 +msgid "Match Case" +msgstr "Distingue Maiús/Min" + +#: src/ui/book-viewer.ui:65 +msgid "Match Diacritics" +msgstr "Distingue Diacríticas" + +#: src/ui/book-viewer.ui:83 +msgid "Font & Layout Settings" +msgstr "Axustes de Letra e Disposición" + +#: src/ui/book-viewer.ui:89 +msgid "Scrolled Mode" +msgstr "Modo de desprazamento" + +#: src/ui/book-viewer.ui:93 +msgid "Invert Colors in Dark Mode" +msgstr "Inverter Cores no Modo Escuro" + +#: src/ui/book-viewer.ui:97 +msgid "Autohide Cursor" +msgstr "Agochar cursor automaticamente" + +#: src/ui/book-viewer.ui:103 +msgid "Print…" +msgstr "Imprimir..." + +#: src/ui/book-viewer.ui:107 +msgid "Inspector" +msgstr "Inspector" + +#: src/ui/book-viewer.ui:167 +msgid "Book Cannot Be Opened" +msgstr "Non se puido abrir o Libro" + +#: src/ui/book-viewer.ui:177 +msgid "Details" +msgstr "Detalle" + +#: src/ui/book-viewer.ui:193 +msgid "Open Another File…" +msgstr "Abrir outro ficheiro..." + +#: src/ui/book-viewer.ui:245 +msgid "Pin Sidebar" +msgstr "Fixar en Barra lateral" + +#: src/ui/book-viewer.ui:253 +msgid "Book Menu" +msgstr "Menú do Libro" + +#: src/ui/book-viewer.ui:260 src/ui/selection-popover.ui:17 +msgid "Find" +msgstr "Atopar" + +#: src/ui/book-viewer.ui:276 +msgid "Find in book…" +msgstr "Atopar no libro..." + +#: src/ui/book-viewer.ui:313 +msgid "Contents" +msgstr "Contidos" + +#: src/ui/book-viewer.ui:391 +msgid "Annotations" +msgstr "Notas" + +#: src/ui/book-viewer.ui:403 +msgid "Select some text to add annotations" +msgstr "Selecciona texto para engadir notas" + +#: src/ui/book-viewer.ui:433 +msgid "Filter annotations…" +msgstr "Filtrar notas..." + +#: src/ui/book-viewer.ui:447 +msgid "Bookmarks" +msgstr "Marcadores" + +#: src/ui/book-viewer.ui:458 +msgid "No Bookmarks" +msgstr "Sen Marcadores" + +#: src/ui/book-viewer.ui:459 +msgid "Add some bookmarks to see them here" +msgstr "Engade algúns Marcadores e veralos aquí" + +#: src/ui/book-viewer.ui:498 src/ui/library-view.ui:42 +msgid "No Results Found" +msgstr "Non hai resultados" + +#: src/ui/book-viewer.ui:499 src/ui/library-view.ui:43 +msgid "Try a different search" +msgstr "Intenta outra busca" + +#: src/ui/book-viewer.ui:542 src/ui/library.ui:102 src/ui/library.ui:160 +msgid "Sidebar" +msgstr "Barra lateral" + +#: src/ui/book-viewer.ui:556 +msgid "View Menu" +msgstr "Ver Menú" + +#: src/ui/book-viewer.ui:569 src/ui/image-viewer.ui:41 +msgid "Zoom Out" +msgstr "Afastar" + +#: src/ui/book-viewer.ui:576 src/ui/image-viewer.ui:48 +msgid "Reset Zoom" +msgstr "Restablecer Zoom" + +#: src/ui/book-viewer.ui:585 src/ui/image-viewer.ui:55 +msgid "Zoom In" +msgstr "Achegar" + +#: src/ui/book-viewer.ui:601 +msgid "Follow System Style" +msgstr "Seguir Estilo do sistema" + +#: src/ui/book-viewer.ui:611 +msgid "Light Style" +msgstr "Estilo claro" + +#: src/ui/book-viewer.ui:621 +msgid "Dark Style" +msgstr "Estilo escuro" + +#: src/ui/book-viewer.ui:636 src/ui/library.ui:26 +msgid "Fullscreen" +msgstr "Pantalla completa" + +#: src/ui/export-dialog.ui:5 +msgid "Export Annotations" +msgstr "Exportar Notas" + +#: src/ui/export-dialog.ui:16 +msgid "Export" +msgstr "Exportar" + +#: src/ui/export-dialog.ui:28 +msgid "Format" +msgstr "Formato" + +#: src/ui/export-dialog.ui:29 +msgid "Choose “JSON” if you plan on importing annotations back to Foliate" +msgstr "Elixe \"JSON\" se pretendes volver a importar as notas en Foliate" + +#: src/ui/export-dialog.ui:33 +msgid "JSON" +msgstr "JSON" + +#: src/ui/export-dialog.ui:34 +msgid "HTML" +msgstr "HTML" + +#: src/ui/export-dialog.ui:35 +msgid "Markdown" +msgstr "Markdown" + +#: src/ui/export-dialog.ui:36 +msgid "Org Mode" +msgstr "Org Mode" + +#: src/ui/image-viewer.ui:6 src/ui/navbar.ui:302 src/ui/selection-popover.ui:7 +msgid "Copy" +msgstr "Copiar" + +#: src/ui/image-viewer.ui:10 +msgid "Save As…" +msgstr "Gardar Como..." + +#: src/ui/image-viewer.ui:25 +msgid "Rotate 90° Counter-Clockwise" +msgstr "Rotar 90° sentido contrario reloxo" + +#: src/ui/image-viewer.ui:32 +msgid "Rotate 90° Clockwise" +msgstr "Rotar 90° sentido reloxo" + +#: src/ui/import-dialog.ui:7 +msgid "Import Annotations" +msgstr "Importar Notas" + +#: src/ui/import-dialog.ui:21 +msgid "Import" +msgstr "Importar" + +#: src/ui/import-dialog.ui:33 +msgid "" +"The identifier doesn’t match. These annotations may not be for this book." +msgstr "" +"Non concorda o identificador. As notas poderían pertencer a outro libro." + +#: src/ui/import-dialog.ui:34 +msgid "Import Anyway" +msgstr "Importar igualmente" + +#: src/ui/library.ui:6 +msgid "List View" +msgstr "Vista das listas" + +#: src/ui/library.ui:11 +msgid "Grid View" +msgstr "Vista en grella" + +#: src/ui/library.ui:20 src/ui/library-view.ui:27 +msgid "Open…" +msgstr "Abrir..." + +#: src/ui/library.ui:67 +msgid "Main Menu" +msgstr "Menú principal" + +#: src/ui/library.ui:110 +msgid "Open" +msgstr "Abrir" + +#: src/ui/library.ui:117 +msgid "Library Menu" +msgstr "Menú da Biblioteca" + +#: src/ui/library.ui:134 +msgid "Search library…" +msgstr "Buscar na biblioteca..." + +#: src/ui/library.ui:168 src/ui/navbar.ui:22 +msgid "Back" +msgstr "Volver" + +#: src/ui/library.ui:175 src/ui/navbar.ui:36 +msgid "Forward" +msgstr "Avanzar" + +#: src/ui/library-view.ui:21 +msgid "No Books Yet" +msgstr "Aínda non hai libros" + +#: src/ui/library-view.ui:22 +msgid "Open a book to start reading" +msgstr "Abre un libro e comeza a ler" + +#: src/ui/navbar.ui:62 src/ui/navbar.ui:253 +msgid "Location" +msgstr "Localización" + +#: src/ui/navbar.ui:91 +msgid "Narration" +msgstr "Narración" + +#: src/ui/navbar.ui:162 +msgid "Time Left in Section" +msgstr "Tempo restante na Sección" + +#: src/ui/navbar.ui:192 +msgid "Time Left in Book" +msgstr "Tempo para finalizar o Libro" + +#: src/ui/navbar.ui:226 src/ui/view-preferences-window.ui:159 +msgid "Page" +msgstr "Páxina" + +#: src/ui/navbar.ui:309 +msgid "Paste and Go" +msgstr "Pegar e Ir" + +#: src/ui/navbar.ui:322 +msgid "Section" +msgstr "Sección" + +#: src/ui/navbar.ui:388 +msgid "First Section" +msgstr "Primeira Sección" + +#: src/ui/navbar.ui:397 +msgid "Previous Section" +msgstr "Sección Anterior" + +#: src/ui/navbar.ui:405 +msgid "Jump To…" +msgstr "Ir a..." + +#: src/ui/navbar.ui:414 +msgid "Next Section" +msgstr "Sección seguinte" + +#: src/ui/navbar.ui:423 +msgid "Last Section" +msgstr "Última sección" + +#: src/ui/selection-popover.ui:12 +msgid "Highlight" +msgstr "Resaltar" + +#: src/ui/selection-popover.ui:30 +msgid "Speak from Here" +msgstr "En fala desde aquí" + +#: src/ui/selection-popover.ui:36 +msgid "Copy with Citation" +msgstr "Copiar con Cita" + +#: src/ui/selection-popover.ui:40 +msgid "Copy Identifier" +msgstr "Copiar Identificador" + +#: src/ui/selection-popover.ui:44 +msgid "Print Selection…" +msgstr "Imprimir Selección..." + +#: src/ui/tts-box.ui:34 +msgid "Speed" +msgstr "Velocidade" + +#: src/ui/tts-box.ui:67 +msgid "Pitch" +msgstr "Ton" + +#: src/ui/tts-box.ui:123 +msgid "Play/Pause" +msgstr "Reproducir/Pausa" + +#: src/ui/tts-box.ui:141 +msgid "Stop" +msgstr "Deter" + +#: src/ui/view-preferences-window.ui:5 +msgid "Font" +msgstr "Tipografía" + +#: src/ui/view-preferences-window.ui:9 +msgid "Font Size" +msgstr "Tamaño da letra" + +#: src/ui/view-preferences-window.ui:12 +msgid "Default Font Size" +msgstr "Tamaño por defecto" + +#: src/ui/view-preferences-window.ui:25 +msgid "Minimum Font Size" +msgstr "Tamaño mínimo" + +#: src/ui/view-preferences-window.ui:40 +msgid "Font Family" +msgstr "Familia da letra" + +#: src/ui/view-preferences-window.ui:43 +msgid "Default Font" +msgstr "Letra por defecto" + +#: src/ui/view-preferences-window.ui:47 +msgid "Serif" +msgstr "Serif" + +#: src/ui/view-preferences-window.ui:48 +msgid "Sans-serif" +msgstr "Sans-serif" + +#: src/ui/view-preferences-window.ui:56 +msgid "Override Publisher Font" +msgstr "Obviar letra da Editorial" + +#: src/ui/view-preferences-window.ui:71 +msgid "Serif Font" +msgstr "Letra Serif" + +#: src/ui/view-preferences-window.ui:84 +msgid "Sans-Serif Font" +msgstr "Letra Sans-Serif" + +#: src/ui/view-preferences-window.ui:97 +msgid "Monospace Font" +msgstr "Letra Monoespazo" + +#: src/ui/view-preferences-window.ui:114 +msgid "Layout" +msgstr "Disposición" + +#: src/ui/view-preferences-window.ui:118 +msgid "Paragraph" +msgstr "Parágrafo" + +#: src/ui/view-preferences-window.ui:121 +msgid "Line Height" +msgstr "Altura da liña" + +#: src/ui/view-preferences-window.ui:135 +msgid "Full Justification" +msgstr "Xustificación completa" + +#: src/ui/view-preferences-window.ui:146 +msgid "Hyphenation" +msgstr "Espazos" + +#: src/ui/view-preferences-window.ui:162 +msgid "Margins" +msgstr "Marxes" + +#: src/ui/view-preferences-window.ui:176 +msgid "Maximum Number of Columns" +msgstr "Número máximo de Columnas" + +#: src/ui/view-preferences-window.ui:189 +msgid "Maximum Inline Size" +msgstr "Tamaño máximo entre liñas" + +#: src/ui/view-preferences-window.ui:190 +msgid "Maximum column width (horizontal writing) or height (vertical writing)" +msgstr "" +"Anchura máxima" +" da columna (escritura horizontal) ou altura (escritura vertical)" + +#: src/ui/view-preferences-window.ui:203 +msgid "Maximum Block Size" +msgstr "Tamaño máximo do bloque" + +#: src/ui/view-preferences-window.ui:204 +msgid "Maximum height (horizontal writing) or width (vertical writing)" +msgstr "" +"Máxima altura (escritura horizontal) ou anchura" +" (escritura vertical)" + +#: src/ui/view-preferences-window.ui:221 +msgid "Color" +msgstr "Cor" + +#: src/ui/view-preferences-window.ui:240 +msgid "Behavior" +msgstr "Comportamento" + +#: src/ui/view-preferences-window.ui:246 +msgid "Reduce Animation" +msgstr "Reducir Animacións" + +#: data/com.github.johnfactotum.Foliate.desktop.in:5 +msgid "E-Book Viewer" +msgstr "Lector de E-Book" + +#. Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! +#: data/com.github.johnfactotum.Foliate.desktop.in:14 +msgid "Ebook;Book;EPUB;Viewer;Reader;" +msgstr "Ebook;Book;EPUB;Viewer;Reader;" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:10 +msgid "" +"Discover a new chapter in reading with Foliate, the modern e-book reader " +"tailored for GNOME. Immerse yourself in a distraction-free interface, with " +"customization features designed to match your unique preferences." +msgstr "" +"Desfruta de novos xeitos de lectura con Foliate, un lector moderno de libros" +" electrónicos " +"á medida de GNOME. Mergúllate na lectura grazas á interface libre de" +" distraccións, cunha " +"interface personalizable para adaptarse ás túas preferencias." + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:11 +msgid "Features include:" +msgstr "Características:" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:13 +msgid "Open EPUB, Mobipocket, Kindle, FB2, CBZ, and PDF files" +msgstr "Abre EPUB, Mobipocket, Kindle, FB2, CBZ, e ficheiros PDF" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:14 +msgid "Paginated mode and scrolled mode" +msgstr "Modos por Paxinación e Desprazamento" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:15 +msgid "Customize font and line-spacing" +msgstr "Tipo de letra e espazos de liña personalizados" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:16 +msgid "Light, sepia, dark, and invert mode" +msgstr "Modos claro, escuro, sepia e invertido" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:17 +msgid "Reading progress slider with chapter marks" +msgstr "Barra de progreso da lectura con marcas dos capítulos" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:18 +msgid "Bookmarks and annotations" +msgstr "Marcadores e notas" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:19 +msgid "Find in book" +msgstr "Buscas no libro" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:20 +msgid "Quick dictionary lookup" +msgstr "Ollada rápida ao dicionario" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:30 +msgid "Book" +msgstr "Libro" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:31 +msgid "EPUB" +msgstr "EPUB" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:32 +msgid "Ebook" +msgstr "Ebook" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:33 +msgid "Reader" +msgstr "Lector" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:34 +msgid "Viewer" +msgstr "Visualizador" + +#: data/com.github.johnfactotum.Foliate.metainfo.xml.in:63 +msgid "" +"Foliate has been rewritten from scratch with a new e-book rendering library " +"and the latest platform libraries, GTK 4 and Libadwaita, with refreshed UI " +"and improved performance." +msgstr "" +"Foliate foi recreado desde os cimentos cunha nova biblioteca para mostrar " +"libros electrónicos e as últimas bibliotecas da plataforma, GTK 4 e" +" Libadwaita, " +"cunha interface anovada e melloras no rendemento." From fd3a6eb219137449c9d4f99585a7b34ab4bc0b04 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Mon, 15 Jul 2024 00:14:29 +0800 Subject: [PATCH 03/10] Update foliate-js --- src/foliate-js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/foliate-js b/src/foliate-js index 51c02bf5..660f6bbf 160000 --- a/src/foliate-js +++ b/src/foliate-js @@ -1 +1 @@ -Subproject commit 51c02bf594d32d3e4b77d98e2db75721f14ab74c +Subproject commit 660f6bbf1ea329f4823163c0e248d8c5a97b5e88 From 278677f8eb155daecf43daddc95426d602fa5162 Mon Sep 17 00:00:00 2001 From: axel escalada <87334103+axlEscalada@users.noreply.github.com> Date: Wed, 28 Aug 2024 17:28:04 -0300 Subject: [PATCH 04/10] Open with external application (#1372) --- src/library.js | 39 +++++++++++++++++++++++++++++++++++++++ src/ui/book-item.ui | 4 ++++ src/ui/book-row.ui | 4 ++++ 3 files changed, 47 insertions(+) diff --git a/src/library.js b/src/library.js index f41c1f6d..62039a6a 100644 --- a/src/library.js +++ b/src/library.js @@ -230,6 +230,7 @@ const BookItem = GObject.registerClass({ 'remove-book': { param_types: [Gio.File.$gtype] }, 'export-book': { param_types: [Gio.File.$gtype] }, 'book-info': { param_types: [Gio.File.$gtype] }, + 'open-external-app': { param_types: [Gio.File.$gtype] }, }, }, class extends Gtk.Box { #item @@ -240,6 +241,7 @@ const BookItem = GObject.registerClass({ 'remove': () => this.emit('remove-book', this.#item), 'export': () => this.emit('export-book', this.#item), 'info': () => this.emit('book-info', this.#item), + 'open-external-app': () => this.emit('open-external-app', this.#item), })) } update(item, data, cover) { @@ -260,6 +262,7 @@ const BookRow = GObject.registerClass({ 'remove-book': { param_types: [Gio.File.$gtype] }, 'export-book': { param_types: [Gio.File.$gtype] }, 'book-info': { param_types: [Gio.File.$gtype] }, + 'open-external-app': { param_types: [Gio.File.$gtype] }, }, }, class extends Gtk.Box { #item @@ -270,6 +273,7 @@ const BookRow = GObject.registerClass({ 'remove': () => this.emit('remove-book', this.#item), 'export': () => this.emit('export-book', this.#item), 'info': () => this.emit('book-info', this.#item), + 'open-external-app': () => this.emit('open-external-app', this.#item), })) } update(item, data) { @@ -334,6 +338,7 @@ GObject.registerClass({ const cover = books.readCover(metadata.identifier) makeBookInfoWindow(this.get_root(), metadata, cover) }, + 'open-external-app': (_, file) => this.openWithExternalApp(getBooks().getBook(file)), } actionGroup = utils.addMethods(this, { props: ['view-mode'], @@ -441,6 +446,40 @@ GObject.registerClass({ if (response === 'remove') getBooks().delete(file) }) } + openWithExternalApp(file) { + if (!file) return + const path = file.get_path() + if (!path) return + + const dialog = new Gtk.AppChooserDialog({ + gfile: file, + modal: true, + transient_for: this.root, + }) + + dialog.connect('response', (dialog, response) => { + if (response === Gtk.ResponseType.OK) { + const app_info = dialog.get_app_info() + if (app_info) { + try { + app_info.launch([file], null) + } catch (e) { + console.error( + 'Failed to open file with selected application:', + e, + ) + this.root.error( + _('Failed to Open'), + _('Could not open the file with the selected application'), + ) + } + } + } + dialog.destroy() + }) + + dialog.show() + } }) GObject.registerClass({ diff --git a/src/ui/book-item.ui b/src/ui/book-item.ui index 0bb98ad2..62430bbc 100644 --- a/src/ui/book-item.ui +++ b/src/ui/book-item.ui @@ -5,6 +5,10 @@ Open in New Window book-item.open-new-window + + Open with External App + book-item.open-external-app +
diff --git a/src/ui/book-row.ui b/src/ui/book-row.ui index b5e2e9f5..d462e315 100644 --- a/src/ui/book-row.ui +++ b/src/ui/book-row.ui @@ -5,6 +5,10 @@ Open in New Window book-item.open-new-window + + Open with External App + book-item.open-external-app +
From 8c82655df6325cfa2433ed586bfdd5c7feb71401 Mon Sep 17 00:00:00 2001 From: alexgabi Date: Wed, 28 Aug 2024 22:29:17 +0200 Subject: [PATCH 05/10] Update Basque translation (#1382) --- po/eu.po | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/po/eu.po b/po/eu.po index 7c3c6d2a..a89949ad 100644 --- a/po/eu.po +++ b/po/eu.po @@ -21,7 +21,7 @@ msgstr "" #: src/annotations.js:137 src/annotations.js:172 #, fuzzy msgid "Bookmark deleted" -msgstr "Laster-markak" +msgstr "Laster-marka ezabatua" #: src/annotations.js:138 src/annotations.js:173 src/book-viewer.js:809 #: src/library.js:826 @@ -148,7 +148,7 @@ msgstr "itzultzailea" #: src/app.js:414 #, fuzzy msgid "Source Code" -msgstr "Jatorrizko kodea" +msgstr "Iturburu kodea" #: src/book-info.js:125 src/library.js:75 msgid "Publisher" @@ -173,23 +173,23 @@ msgstr "Hizkuntza" #: src/book-info.js:131 #, fuzzy msgid "Translated by" -msgstr "Itzulpena" +msgstr "Itzultzailea" #: src/book-info.js:132 msgid "Edited by" -msgstr "Edizioa" +msgstr "Editorea" #: src/book-info.js:133 msgid "Narrated by" -msgstr "Narrazioa" +msgstr "Narratzailea" #: src/book-info.js:134 msgid "Illustrated by" -msgstr "Ilustrazioak" +msgstr "Ilustratzailea" #: src/book-info.js:135 msgid "Produced by" -msgstr "Produkzioa" +msgstr "Produktorea" #: src/book-info.js:136 msgid "Artwork by" @@ -216,7 +216,7 @@ msgstr "Liburu honi buruz" #: src/book-viewer.js:27 #, javascript-format msgid "Loc. %s of %s" -msgstr "" +msgstr "Lok. %s/%s" #: src/book-viewer.js:28 #, javascript-format @@ -316,7 +316,7 @@ msgstr "" #: src/book-viewer.js:879 #, javascript-format msgid "‘%s’ (p. %s)" -msgstr "" +msgstr "%s’ (p. %s)" #: src/book-viewer.js:882 #, javascript-format @@ -510,10 +510,12 @@ msgid "" "You can browse and download books from OPDS catalogs. Learn More…" msgstr "" +"Liburuak arakatu eta deskarga ditzakezu OPDS katalogoetatik. Lortu informazio gehiago..." #: src/library.js:922 msgid "URL" -msgstr "URL" +msgstr "URLa" #. Translators: Do NOT translate! The is the application name! #: src/main.js:28 data/com.github.johnfactotum.Foliate.desktop.in:4 @@ -551,6 +553,9 @@ msgid "" "wikipedia.org/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-" "ShareAlike_4.0_International_License\">CC BY-SA License." msgstr "" +"Wikipediatik, CC BY-SA Lizentzia." #: src/selection-tools.js:234 #, fuzzy @@ -898,12 +903,12 @@ msgstr "Inportatu edonola" #: src/ui/library.ui:6 #, fuzzy msgid "List View" -msgstr "Zerrenda moduan ikusi" +msgstr "Zerrenda ikuspegia" #: src/ui/library.ui:11 #, fuzzy msgid "Grid View" -msgstr "Taula moduan ikusi" +msgstr "Sareta ikuspegia" #: src/ui/library.ui:20 src/ui/library-view.ui:27 msgid "Open…" From 8fe1364902f59a182204de3bcb8897ab6e8ce672 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Wed, 28 Aug 2024 20:42:44 +0000 Subject: [PATCH 06/10] Restore GitHub Action for building Debian package (#1065) * Restore GitHub Action for building Debian package * Use Ubuntu 24.04 * Update dependencies for github action for deb package * debhelper-compat does not work with >= * pull submodules * Update upload-artifact version --------- Co-authored-by: Archisman Panigrahi --- .github/workflows/deb.yml | 36 ++++++++++++++++++++++++++++++++++++ debian/control | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deb.yml diff --git a/.github/workflows/deb.yml b/.github/workflows/deb.yml new file mode 100644 index 00000000..cf1ad630 --- /dev/null +++ b/.github/workflows/deb.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: Build Debian Package + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ gtk4 ] + pull_request: + branches: [ gtk4 ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-24.04 + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + with: + submodules: 'true' + + - run: sudo apt install build-essential debhelper meson gettext pkg-config libglib2.0-dev gjs appstream libgjs-dev libgtk-4-dev libadwaita-1-dev libwebkitgtk-6.0-dev desktop-file-utils + - run: dpkg-buildpackage -us -uc -nc + - run: mv ../*.deb . + - uses: actions/upload-artifact@v4 + with: + name: Debian Package + path: "*.deb" diff --git a/debian/control b/debian/control index f302a267..8a1d805b 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: foliate Section: gnome Priority: optional Maintainer: John Factotum <50942278+johnfactotum@users.noreply.github.com> -Build-Depends: debhelper-compat(=10), +Build-Depends: debhelper-compat(=13), gettext, meson (>= 0.59), pkg-config, From 16e17db05bf4d02fce0c186a8f1aeee3cf0155e2 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Wed, 28 Aug 2024 20:50:41 +0000 Subject: [PATCH 07/10] Clarify how to obtain source in README.md Fixes #1380 --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 358987cc..42b22060 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,13 @@ If installed, `tracker` (>= 3; `gir1.2-tracker-3.0` in Debian-based distros) and ### Obtaining the Source -The repo uses git submodules. Before running or installing, make sure you clone the whole thing with `--recurse-submodules`. +The repo uses git submodules. Before running or installing, make sure you clone the whole thing with `--recurse-submodules`: + +``` +git clone --recurse-submodules https://github.com/johnfactotum/foliate.git +``` + +Or download the tarball (the `.tar.xz` file) from the [Releases](https://github.com/johnfactotum/foliate/releases) page. ### Run without Building or Installing From feba39edd1203cafdb5ca112bbb8b4955a0e0be2 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Sun, 1 Sep 2024 02:52:19 +0000 Subject: [PATCH 08/10] Add info on Snap data locations See https://snapcraft.io/docs/data-locations Fixes #1384 --- docs/faq.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 1481c842..35d375a3 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -48,7 +48,11 @@ Themes are defined as JSON files. Here is an example theme: } ``` -To install themes, you need to put them in `/home/user/.config/com.github.johnfactotum.Foliate/themes/`. If you're using Flatpak, the files should be placed in `~/.var/app/com.github.johnfactotum.Foliate/config/com.github.johnfactotum.Foliate/themes/`. +To install themes, you need to put them in `/home/user/.config/com.github.johnfactotum.Foliate/themes/`. + +When using Flatpak, the files should be placed in `~/.var/app/com.github.johnfactotum.Foliate/config/com.github.johnfactotum.Foliate/themes/`. + +When using Snap, the files should be placed in `~/snap/foliate/current/.config/com.github.johnfactotum.Foliate/themes/`. ### Can I set my own custom CSS styles? @@ -62,7 +66,9 @@ Tip: you can use the [`:lang()`](https://developer.mozilla.org/en-US/docs/Web/CS Your reading progress, bookmarks, and annotations are saved in `~/.local/share/com.github.johnfactotum.Foliate`. -If you're using the Flatpak version, they should be in `~/.var/app/com.github.johnfactotum.Foliate/data/com.github.johnfactotum.Foliate`. +When using Flatpak, they are placed in `~/.var/app/com.github.johnfactotum.Foliate/data/com.github.johnfactotum.Foliate`. + +When using Snap, they are placed in `~/snap/foliate/current/.local/share/com.github.johnfactotum.Foliate`. The data for each book is stored in a JSON file named after the book's identifier. If you'd like to sync or backup your progress and notes, simply copy these files and everything should just work™. From 2db11079bfbacca4575e60ba1d42d5e350a8502c Mon Sep 17 00:00:00 2001 From: Archisman Panigrahi Date: Wed, 11 Sep 2024 00:41:39 -0400 Subject: [PATCH 09/10] Add how to change voice to FAQ (#1391) --- docs/faq.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 35d375a3..e2878784 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -28,6 +28,8 @@ To use it, click on the Narration button (the one with a headphones icon) Alternatively you can select some text and choose Speak from Here from the selection menu. Though you still need to use the Narration button if you want to stop the speech output. +The default voice may sound somewhat robotic. You can use [Pied](https://pied.mikeasoft.com/) (a frontend for configuring [Piper](https://github.com/rhasspy/piper)) to change that to a more natural sounding voice. See [this](https://askubuntu.com/a/1526192/124466) for more details. + ### How to use custom themes? Themes are defined as JSON files. Here is an example theme: From e907e847fd5370f86d55a186f05e49ddf04e1580 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Wed, 11 Sep 2024 13:58:42 +0800 Subject: [PATCH 10/10] Update dependencies --- package-lock.json | 449 +++++++++++++++++++++++++++++++++++++--------- package.json | 14 +- src/foliate-js | 2 +- 3 files changed, 375 insertions(+), 90 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4719e50d..38bf2ad7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,87 +1,94 @@ { "name": "foliate", - "version": "3.0.0", + "version": "3.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "foliate", - "version": "3.0.0", + "version": "3.1.1", "license": "GPL-3.0-or-later", "dependencies": { - "@zip.js/zip.js": "^2.6.79", - "fflate": "^0.7.3" + "@zip.js/zip.js": "^2.7.52", + "fflate": "^0.8.2" }, "devDependencies": { - "@eslint/js": "^9.1.0", - "@rollup/plugin-node-resolve": "^15.0.1", - "@rollup/plugin-terser": "^0.4.0", - "globals": "^15.0.0", - "rollup": "^3.20.0" + "@eslint/js": "^9.9.1", + "@rollup/plugin-node-resolve": "^15.2.3", + "@rollup/plugin-terser": "^0.4.4", + "globals": "^15.9.0", + "rollup": "^4.21.2" } }, "node_modules/@eslint/js": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.1.1.tgz", - "integrity": "sha512-5WoDz3Y19Bg2BnErkZTp0en+c/i9PvgFS7MBe1+m60HjFr0hrphlAGp4yzI7pxpt4xShln4ZyYp4neJm8hmOkQ==", + "version": "9.10.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.10.0.tgz", + "integrity": "sha512-fuXtbiP5GWIn8Fz+LWoOMVf/Jxm+aajZYkhi6CuEm4SxymFM+eUWzbO9qXT+L0iCkL5+KGYMCSGxo686H19S1g==", "dev": true, + "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, + "license": "MIT", "dependencies": { - "@jridgewell/set-array": "^1.0.1", + "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/source-map": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", - "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", + "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", "dev": true, + "license": "MIT", "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "dev": true, + "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.20", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", - "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -92,6 +99,7 @@ "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.2.3.tgz", "integrity": "sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==", "dev": true, + "license": "MIT", "dependencies": { "@rollup/pluginutils": "^5.0.1", "@types/resolve": "1.20.2", @@ -117,6 +125,7 @@ "resolved": "https://registry.npmjs.org/@rollup/plugin-terser/-/plugin-terser-0.4.4.tgz", "integrity": "sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==", "dev": true, + "license": "MIT", "dependencies": { "serialize-javascript": "^6.0.1", "smob": "^1.0.0", @@ -135,10 +144,11 @@ } }, "node_modules/@rollup/pluginutils": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.5.tgz", - "integrity": "sha512-6aEYR910NyP73oHiJglti74iRyOwgFU4x3meH/H8OJx6Ry0j6cOVZ5X/wTvub7G7Ao6qaHBEaNsV3GLJkSsF+Q==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz", + "integrity": "sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==", "dev": true, + "license": "MIT", "dependencies": { "@types/estree": "^1.0.0", "estree-walker": "^2.0.2", @@ -156,22 +166,249 @@ } } }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.21.2.tgz", + "integrity": "sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.21.2.tgz", + "integrity": "sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.21.2.tgz", + "integrity": "sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.21.2.tgz", + "integrity": "sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.21.2.tgz", + "integrity": "sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.21.2.tgz", + "integrity": "sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.21.2.tgz", + "integrity": "sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.21.2.tgz", + "integrity": "sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.21.2.tgz", + "integrity": "sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.21.2.tgz", + "integrity": "sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.21.2.tgz", + "integrity": "sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.2.tgz", + "integrity": "sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.21.2.tgz", + "integrity": "sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.21.2.tgz", + "integrity": "sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.21.2.tgz", + "integrity": "sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.2.tgz", + "integrity": "sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@types/estree": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.4.tgz", - "integrity": "sha512-2JwWnHK9H+wUZNorf2Zr6ves96WHoWDJIftkcxPKsS7Djta6Zu519LarhRNljPXkpsZR2ZMwNCPeW7omW07BJw==", - "dev": true + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "dev": true, + "license": "MIT" }, "node_modules/@types/resolve": { "version": "1.20.2", "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz", "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@zip.js/zip.js": { - "version": "2.7.30", - "resolved": "https://registry.npmjs.org/@zip.js/zip.js/-/zip.js-2.7.30.tgz", - "integrity": "sha512-nhMvQCj+TF1ATBqYzFds7v+yxPBhdDYHh8J341KtC1D2UrVBUIYcYK4Jy1/GiTsxOXEiKOXSUxvPG/XR+7jMqw==", + "version": "2.7.52", + "resolved": "https://registry.npmjs.org/@zip.js/zip.js/-/zip.js-2.7.52.tgz", + "integrity": "sha512-+5g7FQswvrCHwYKNMd/KFxZSObctLSsQOgqBSi0LzwHo3li9Eh1w5cF5ndjQw9Zbr3ajVnd2+XyiX85gAetx1Q==", + "license": "BSD-3-Clause", "engines": { "bun": ">=0.7.0", "deno": ">=1.0.0", @@ -179,10 +416,11 @@ } }, "node_modules/acorn": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", - "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "dev": true, + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -194,13 +432,15 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/builtin-modules": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -212,13 +452,15 @@ "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/deepmerge": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -227,12 +469,14 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fflate": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.7.4.tgz", - "integrity": "sha512-5u2V/CDW15QM1XbbgS+0DfPxVB+jUKhWEKuuFuHncbk3tEEqzmoXL+2KyOFuKGqOnmdIy0/davWF1CkuwtibCw==" + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", + "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==", + "license": "MIT" }, "node_modules/fsevents": { "version": "2.3.3", @@ -240,6 +484,7 @@ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, "hasInstallScript": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -253,15 +498,17 @@ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/globals": { - "version": "15.0.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.0.0.tgz", - "integrity": "sha512-m/C/yR4mjO6pXDTm9/R/SpYTAIyaUB4EOzcaaMEl7mds7Mshct9GfejiJNQGjHHbdMPey13Kpu4TMbYi9ex1pw==", + "version": "15.9.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.9.0.tgz", + "integrity": "sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -270,10 +517,11 @@ } }, "node_modules/hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "dev": true, + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -286,6 +534,7 @@ "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", "dev": true, + "license": "MIT", "dependencies": { "builtin-modules": "^3.3.0" }, @@ -297,12 +546,16 @@ } }, "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "dev": true, + "license": "MIT", "dependencies": { - "hasown": "^2.0.0" + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -312,19 +565,22 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.6" }, @@ -337,6 +593,7 @@ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, + "license": "MIT", "dependencies": { "safe-buffer": "^5.1.0" } @@ -346,6 +603,7 @@ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, + "license": "MIT", "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", @@ -359,18 +617,38 @@ } }, "node_modules/rollup": { - "version": "3.29.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz", - "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.2.tgz", + "integrity": "sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==", "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.5" + }, "bin": { "rollup": "dist/bin/rollup" }, "engines": { - "node": ">=14.18.0", + "node": ">=18.0.0", "npm": ">=8.0.0" }, "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.21.2", + "@rollup/rollup-android-arm64": "4.21.2", + "@rollup/rollup-darwin-arm64": "4.21.2", + "@rollup/rollup-darwin-x64": "4.21.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.21.2", + "@rollup/rollup-linux-arm-musleabihf": "4.21.2", + "@rollup/rollup-linux-arm64-gnu": "4.21.2", + "@rollup/rollup-linux-arm64-musl": "4.21.2", + "@rollup/rollup-linux-powerpc64le-gnu": "4.21.2", + "@rollup/rollup-linux-riscv64-gnu": "4.21.2", + "@rollup/rollup-linux-s390x-gnu": "4.21.2", + "@rollup/rollup-linux-x64-gnu": "4.21.2", + "@rollup/rollup-linux-x64-musl": "4.21.2", + "@rollup/rollup-win32-arm64-msvc": "4.21.2", + "@rollup/rollup-win32-ia32-msvc": "4.21.2", + "@rollup/rollup-win32-x64-msvc": "4.21.2", "fsevents": "~2.3.2" } }, @@ -392,28 +670,32 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/serialize-javascript": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", - "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "randombytes": "^2.1.0" } }, "node_modules/smob": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/smob/-/smob-1.4.1.tgz", - "integrity": "sha512-9LK+E7Hv5R9u4g4C3p+jjLstaLe11MDsL21UpYaCNmapvMkYhqCV4A/f/3gyH8QjMyh6l68q9xC85vihY9ahMQ==", - "dev": true + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/smob/-/smob-1.5.0.tgz", + "integrity": "sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==", + "dev": true, + "license": "MIT" }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } @@ -423,6 +705,7 @@ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", "dev": true, + "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -433,6 +716,7 @@ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -441,10 +725,11 @@ } }, "node_modules/terser": { - "version": "5.24.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.24.0.tgz", - "integrity": "sha512-ZpGR4Hy3+wBEzVEnHvstMvqpD/nABNelQn/z2r0fjVWGQsN3bpOLzQlqDxmb4CDZnXq5lpjnQ+mHQLAOpfM5iw==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.32.0.tgz", + "integrity": "sha512-v3Gtw3IzpBJ0ugkxEX8U0W6+TnPKRRCWGh1jC/iM/e3Ki5+qvO1L1EAZ56bZasc64aXHwRHNIQEzm6//i5cemQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", diff --git a/package.json b/package.json index 3cc2d88b..0a6f337d 100644 --- a/package.json +++ b/package.json @@ -14,15 +14,15 @@ "homepage": "https://johnfactotum.github.io/foliate/", "type": "module", "dependencies": { - "@zip.js/zip.js": "^2.6.79", - "fflate": "^0.7.3" + "@zip.js/zip.js": "^2.7.52", + "fflate": "^0.8.2" }, "devDependencies": { - "@eslint/js": "^9.1.0", - "globals": "^15.0.0", - "rollup": "^3.20.0", - "@rollup/plugin-node-resolve": "^15.0.1", - "@rollup/plugin-terser": "^0.4.0" + "@eslint/js": "^9.9.1", + "globals": "^15.9.0", + "rollup": "^4.21.2", + "@rollup/plugin-node-resolve": "^15.2.3", + "@rollup/plugin-terser": "^0.4.4" }, "scripts": { "build": "npx rollup -c" diff --git a/src/foliate-js b/src/foliate-js index 660f6bbf..ffceb8a4 160000 --- a/src/foliate-js +++ b/src/foliate-js @@ -1 +1 @@ -Subproject commit 660f6bbf1ea329f4823163c0e248d8c5a97b5e88 +Subproject commit ffceb8a4aac991d872357982fc79e1ac4bf496b5