-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-123407: Docs: enable translations of code blocks #123408
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we confirm that the new text shows up in gettext builds?
A
Yes, I've run it locally and got code blocks put in the POT files, e.g.
in |
If this turns out to be too annoying for translators, we can revert it later. But it's worth a try! A |
Thanks @m-aciek for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…-123408) (cherry picked from commit 5332d98) Co-authored-by: Maciej Olko <[email protected]>
GH-123530 is a backport of this pull request to the 3.13 branch. |
…-123408) (cherry picked from commit 5332d98) Co-authored-by: Maciej Olko <[email protected]>
GH-123531 is a backport of this pull request to the 3.12 branch. |
👍 Thank you! |
Closes #123407.
📚 Documentation preview 📚: https://cpython-previews--123408.org.readthedocs.build/