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

No translation of title and alt #13

Closed
kujiu opened this issue Jun 4, 2020 · 3 comments
Closed

No translation of title and alt #13

kujiu opened this issue Jun 4, 2020 · 3 comments

Comments

@kujiu
Copy link

kujiu commented Jun 4, 2020

Translation of text in image attributes miss.

How to reproduce

Create a project with sphinx-quickstart, add an image on index.rst and set a :title: and an :alt:.

Then, launch compilation with "make gettext". The content of :title: and of :alt: are not in the index.pot file.

@jonascj
Copy link
Collaborator

jonascj commented Jun 8, 2020

Does it work as intended without sphinxcontrib-images loaded? I assume it does, if you add your image to index.rst as below:

.. image:: fig.png
   :alt: my alternate text
   :title: my title

@kujiu
Copy link
Author

kujiu commented Jun 8, 2020

No, it doesn't. I opened the same issue here : sphinx-doc/sphinx#7784

@jonascj
Copy link
Collaborator

jonascj commented Jun 8, 2020

Then I'll close it as an upstream issue. Feel free to open a new issue if it gets fixed upstream but appears again when using sphinxcontrib-images.

@jonascj jonascj closed this as completed Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants