diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2026-10-01 18:21:23 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2026-10-01 18:21:23 -0300 |
| commit | d3d0416b45698b9d40700b2196400542dc77c9ce (patch) | |
| tree | 165188602cb9c2545975b2573bb1906fcbfb7346 /.github | |
| parent | cbf81b04e57e03b9e1b646e0d0b7f7c1fd79acc2 (diff) | |
| download | claude-logbook-d3d0416b45698b9d40700b2196400542dc77c9ce.tar.gz claude-logbook-d3d0416b45698b9d40700b2196400542dc77c9ce.zip | |
Translate the CLI, the HTML page and the tests to English
Everything the user sees is now in English: help text and examples, table
headers, messages and errors, month names and relative dates, and every
string in the generated page. Tests, fixtures, workflow comments and
.gitignore follow. README.es.md stays as a Spanish translation of the docs.
Visible changes:
- --html writes sessions.html by default (sesiones.html stays ignored).
- The delete prompt is [y/N] and no longer accepts "s"/"si".
- The page stores the theme under cl-theme, so it is chosen again once.
- --check report keys and the --html summary keys are now English.
The --json format is unchanged.
Version 1.2.0.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/publish.yml | 22 |
2 files changed, 14 insertions, 14 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6151b64..ac2cec4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,12 +24,12 @@ jobs: with: python-version: ${{ matrix.python }} - # Sin dependencias a propósito: si algún día hace falta instalar algo - # para correr los tests, es que el proyecto dejó de ser stdlib-only. + # No dependencies on purpose: if installing something is ever needed + # to run the tests, the project is no longer stdlib-only. - name: Tests run: python -m unittest discover -s tests -t . -v - - name: Se instala y el comando arranca + - name: Installs and the command starts run: | pip install . claude-logbook --version diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4fc675c..552aaa7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,17 +1,17 @@ name: Publish -# Publica en PyPI cuando se publica un release de GitHub. +# Publishes to PyPI when a GitHub release is published. # -# No hay ningún token guardado: PyPI confía en este workflow por OIDC -# (trusted publishing). Del lado de pypi.org hay que haber dado de alta un -# "pending publisher" con exactamente estos cuatro datos: +# No token is stored anywhere: PyPI trusts this workflow through OIDC +# (trusted publishing). On pypi.org a "pending publisher" must have been +# registered with exactly these four values: # # Owner ElvisClaros # Repository claude-logbook # Workflow publish.yml # Environment pypi # -# Si alguno no coincide, PyPI rechaza el upload. +# If any of them does not match, PyPI rejects the upload. on: release: @@ -28,7 +28,7 @@ jobs: url: https://pypi.org/p/claude-logbook permissions: - id-token: write # lo único que habilita el trusted publishing + id-token: write # the only thing trusted publishing needs steps: - uses: actions/checkout@v4 @@ -37,10 +37,10 @@ jobs: with: python-version: "3.13" - # El número vive en claude_logbook/__init__.py y es fácil olvidarse de - # subirlo. Mejor fallar acá que publicar algo mal rotulado: una versión - # subida a PyPI no se puede reemplazar nunca, solo yankear. - - name: El tag coincide con __version__ + # The number lives in claude_logbook/__init__.py and it is easy to forget + # to bump it. Better to fail here than publish something mislabelled: a + # version uploaded to PyPI can never be replaced, only yanked. + - name: Tag matches __version__ run: | tag="${GITHUB_REF_NAME#v}" ver="$(python -c 'import claude_logbook; print(claude_logbook.__version__)')" @@ -52,7 +52,7 @@ jobs: python -m pip install --upgrade build python -m build - - name: Los artefactos están sanos + - name: Artifacts are sound run: | python -m pip install --upgrade twine twine check dist/* |