diff options
Diffstat (limited to 'book/book.js')
-rw-r--r-- | book/book.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/book/book.js b/book/book.js index 84c0e9dc..094068c0 100644 --- a/book/book.js +++ b/book/book.js @@ -1,5 +1,5 @@ -const tr = t => ({ translated: t }) +const tr = t => ({ translation: { id: t, params: [] } }) const plain = t => ({ text: t }) const par_raw = (s, th, bold) => ({ t: "par", es: [{ @@ -42,7 +42,7 @@ const about = () => ({ par("b.about.name"), { t: "text", s: tr("b.about.image_attrib"), color: "#000000", size: 20, font: "FreeSans" }, { - t: "table", cols: 2, es: [ + t: "table", es: [ [par("b.about.image_attrib.name", false, true), par("b.about.image_attrib.author", false, true)], [par("b.nigiri"), par_raw(plain("Ahtziri Lagarde(unsplash)"))], [par("b.icecream"), par_raw(plain("Markus Spiske(unsplash), adapted"))], |