Skip to content

Corollary is not translated #129

Closed
Closed

Description

@dtenbrinck

Describe the bug

context
When I compile my markdown files to HTML using sphinx_proof with language settings to German, the Corollary proof type is not translated. It turns out the file sphinx_proof/translations/jsons/Corollary.json is missing.

expectation
I expect that Corollaries are also translated according to the language settings.

problem
This gives inconsistent results in books that are not written in English language.

Reproduce the bug

  1. Add the following to your _config.yml:
sphinx:
  extra_extensions:
    - sphinx_proof
  config:
    language: de
  1. Compile book to HTML with jupyter-book build .

  2. Observe build result in folder _build/html/

List your environment

Version of sphinx-proof: 0.2.0

jupyter-book --version
Jupyter Book      : 1.0.3
External ToC      : 1.0.1
MyST-Parser       : 2.0.0
MyST-NB           : 1.1.2
Sphinx Book Theme : 1.1.3
Jupyter-Cache     : 1.0.0
NbClient          : 0.10.0

python --version
Python 3.12.7

Operating System: ArchLinux

Activity

  1. added
    bug
    on Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions