From 8011db7a5de1782bc18dad9a56ed6fd6322a22d5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 10 Jun 2024 14:40:53 +0100 Subject: Fix: missing pieces for localization support; re-license as GPLv3 --- ChangeLog.md | 3 ++- LICENSE | 15 +++++++++++++-- TODO.md | 1 - content/notes/00-intro/notes.md | 2 +- snippets/cover.txt | 2 +- snippets/keywords.txt | 2 +- structure/book/en/00-preamble.md | 2 +- 7 files changed, 19 insertions(+), 8 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index d8ca7b1..07e617b 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,12 +1,13 @@ # ChangeLog -## v0.0.8 - unreleased +## v0.0.8 - 2024-06-10 * [x] Localization support: * [x] Detect the `lang` YAML parameters and use templates from `{templates,structure}/{book,notes}/$lang`. * [x] Compile the `_output.yml` from a template, setting the `includes` from the appropriate language-based structure files. + * [x] Translate documentation to English. ## v0.0.7 - 2024-06-09 diff --git a/LICENSE b/LICENSE index 669a46e..57b409b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,14 @@ -Copy Far "AI" - v0.0.1 - Uma licença próxima do copyleft e longe das ditas "Inteligências Artificiais" - https://copyfarai.itcouldbewor.se/pt/flavors/CC-BY-NC-SA-4.0-FAI +Copyright (C) 2024 Silvio Rhatto - rhatto at riseup.net -Esta obra, na presente versão assim como nas anteriores, não pode ser usada para procedimentos conhecidos como "treinamento ou aprendizado de máquina" e análise estilométrica sem a prévia autorização. Para todos os outros meios e fins, esta versão está disponível sob a Licença Creative Commons - Atribuição-NãoComercial-CompartilhaIgual 4.0 Internacional (CC BY-NC-SA 4.0). +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published +by the Free Software Foundation, either version 3 of the License, +or any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . diff --git a/TODO.md b/TODO.md index 2fb9f84..a072728 100644 --- a/TODO.md +++ b/TODO.md @@ -42,7 +42,6 @@ ## Documentation -* [ ] Translate to English. * [ ] Improve the documentation. * [ ] Add a reference to: * [ ] Books using Bookup. diff --git a/content/notes/00-intro/notes.md b/content/notes/00-intro/notes.md index 7f5a57e..e528f03 100644 --- a/content/notes/00-intro/notes.md +++ b/content/notes/00-intro/notes.md @@ -1,3 +1,3 @@ # Notebook {#anotacoes .unnumbered} -Notebook example. +A Bookup^[@bookup] notebook example. diff --git a/snippets/cover.txt b/snippets/cover.txt index 872cd9e..e65c420 100644 --- a/snippets/cover.txt +++ b/snippets/cover.txt @@ -1 +1 @@ -Capa: estante de alguém, por Silvio Rhatto. +Folder: someone's book shelve, by Silvio Rhatto. diff --git a/snippets/keywords.txt b/snippets/keywords.txt index edd7234..315bf42 100644 --- a/snippets/keywords.txt +++ b/snippets/keywords.txt @@ -1 +1 @@ -Palavras-chave: editoração, design, livro +Keywords: editing, design, book, authoring diff --git a/structure/book/en/00-preamble.md b/structure/book/en/00-preamble.md index b11b806..60bfc73 100644 --- a/structure/book/en/00-preamble.md +++ b/structure/book/en/00-preamble.md @@ -44,7 +44,7 @@ if (knitr::is_html_output()) { cat(readLines('LICENSE'), sep='\n') cat('

') cat(readLines('snippets/cover.txt'), sep='\n') - cat("

Versão PDF

") + cat("

PDF version

") cat("\n") cat('Download the PDF here, or browse it below:') cat("\n") -- cgit v1.2.3