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

Availability extension's text translation causes warning #126609

Open
rffontenelle opened this issue Nov 9, 2024 · 2 comments
Open

Availability extension's text translation causes warning #126609

rffontenelle opened this issue Nov 9, 2024 · 2 comments
Labels
docs Documentation in the Doc dir

Comments

@rffontenelle
Copy link
Contributor

Documentation

The availability extension shows "Availability" text in the built docs. In the translation context, "Availability" is available for translation, but translating that text causes hundreds of warnings like this:

Warning: /path/to/cpython/Doc/library/os.rst:181: WARNING: inconsistent term references in translated message. original: ['Availability'], translated: [] [i18n.inconsistent_references]

The translated page will show the translation text ("Disponibilidade", in Portuguese) without the important text: the platforms where it is available. (That's unwanted!)

Some checking around:

@rffontenelle rffontenelle added the docs Documentation in the Doc dir label Nov 9, 2024
@AA-Turner
Copy link
Member

There's been a few other issues about this extension -- is this related to those at all?

A

@rffontenelle
Copy link
Contributor Author

rffontenelle commented Nov 9, 2024

After reviewing issues and PRs open and closed, it doesn't look like they are related.

For the record, this issues started after extracting availability into a new extension. I git-checkout'ed it and built the docs to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
Status: Todo
Development

No branches or pull requests

2 participants