Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local GNU gettext template (message.pot.jinja) not used #10832

Closed
bandali opened this issue Sep 14, 2022 · 0 comments · Fixed by #12645
Closed

Local GNU gettext template (message.pot.jinja) not used #10832

bandali opened this issue Sep 14, 2022 · 0 comments · Fixed by #12645

Comments

@bandali
Copy link

bandali commented Sep 14, 2022

Describe the bug

Sphinx does not use the copy of message.pot_t in the project's _templates directory.

How to Reproduce

$ git clone https://review.jami.net/jami-docs
$ cd jami-docs
$ git fetch https://review.jami.net/jami-docs refs/changes/27/22427/7 && git checkout FETCH_HEAD
$ pip install -U sphinx sphinx-rtd-theme myst_parser
$ make gettext
$ head _build/gettext/index.pot

Notice that the file was created using the message.pot_t template shipped with Sphinx itself, rather than the copy in _templates/message.pot_t.

Expected behavior

Sphinx should use the _templates/message.pot_t file from the project repository as the template for creating the pot files when running make gettext.

Your project

https://review.jami.net/c/jami-docs/+/22427

Screenshots

No response

OS

Trisquel 10 GNU/Linux (based on Ubuntu 20.04)

Python version

3.8.10

Sphinx version

5.1.1

Sphinx extensions

myst_parser, sphinx.ext.autosectionlabel, sphinx.ext.extlinks, sphinx_rtd_theme

Extra tools

No response

Additional context

No response

@AA-Turner AA-Turner added this to the some future version milestone Sep 29, 2022
@AA-Turner AA-Turner changed the title Local GNU gettext template (message.pot_t) not used Local GNU gettext template (message.pot.jinja) not used Jul 22, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 11, 2024
@AA-Turner AA-Turner modified the milestones: some future version, 8.1.0 Oct 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants