From cbf81b04e57e03b9e1b646e0d0b7f7c1fd79acc2 Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Sat, 26 Sep 2026 23:33:28 -0300 Subject: Translate identifiers, comments and docstrings to English The CLI output and help stay in Spanish, as documented in the README. --- claude_logbook/webpage.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'claude_logbook/webpage.py') diff --git a/claude_logbook/webpage.py b/claude_logbook/webpage.py index c8550fe..a6fe760 100644 --- a/claude_logbook/webpage.py +++ b/claude_logbook/webpage.py @@ -1,7 +1,7 @@ -"""Genera la página HTML autocontenida a partir de las sesiones. +"""Builds the self-contained HTML page from the sessions. -El resultado no necesita red ni servidor: los datos y las transcripciones van -embebidos adentro y se abre con doble clic. +The result needs neither network nor server: the data and the transcripts are +embedded inside and it opens with a double click. """ import json @@ -13,7 +13,7 @@ TEMPLATE_NAME = "template.html" class TemplateError(Exception): - """El template no tiene la forma que espera el generador.""" + """The template does not have the shape the generator expects.""" def template_text(path=None): @@ -24,31 +24,31 @@ def template_text(path=None): def build_payload(sessions, memories=None): - """Estructura que viaja embebida en la página. + """Structure that travels embedded in the page. - Un objeto y no una lista porque la página muestra dos cosas distintas: - sesiones y memorias de proyecto. + An object rather than a list because the page shows two different things: + sessions and project memories. """ return {"s": list(sessions), "m": list(memories or ())} def encode_payload(payload): - """Serializa el payload para meterlo en un