gh-126609: localize list, allow translation of a phrase, use ge operator character in the availability directive#129597
Conversation
StanFromIreland
left a comment
There was a problem hiding this comment.
Other than my little nitpick it looks very good!
Sorry, something went wrong.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
It would be good to properly investigate why the A |
Sorry, something went wrong.
|
I'm convinced that we should translate the full text, instead of building it from fragments (vide Prefer WET over DRY for i18n). Therefore I will close this PR. I didn't yet succeed with the correct solution. I will try to write my findings in related discussion thread soon https://github.com/orgs/sphinx-doc/discussions/13280. |
Sorry, something went wrong.
not {platform}and fetches its translation in the availability directive content. This will allow full translations of availability directive content.>=as UTF-8≥.Tested locally, both
make gettext(exposes new phrase insphinx.pot) and rendering withmake html. Examples of renderings:library/os.rst:2311
📚 Documentation preview 📚: https://cpython-previews--129597.org.readthedocs.build/