-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
The whitespaces in the Doc/tools/templates/dummy.html make the translation process harder #113637
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
Comments
hugovk
pushed a commit
that referenced
this issue
Jan 3, 2024
…able API & Stable ABI translation strings (#113638)
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 3, 2024
…d/Unstable API & Stable ABI translation strings (pythonGH-113638) (cherry picked from commit ea978c6) Co-authored-by: Ege Akman <egeakmanegeakman@hotmail.com>
egeakman
added a commit
to egeakman/cpython
that referenced
this issue
Jan 3, 2024
… Limited/Unstable API & Stable ABI translation strings (python#113638) (cherry picked from commit ea978c6)
hugovk
pushed a commit
that referenced
this issue
Jan 3, 2024
hugovk
pushed a commit
that referenced
this issue
Jan 3, 2024
kulikjak
pushed a commit
to kulikjak/cpython
that referenced
this issue
Jan 22, 2024
…d/Unstable API & Stable ABI translation strings (python#113638)
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
…d/Unstable API & Stable ABI translation strings (python#113638)
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
…d/Unstable API & Stable ABI translation strings (python#113638)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
These whitespaces in the dummy.html become an issue when it comes to translating them.
sphinx-lint
complain a lot about these whitespaces.Here are some examples from the Turkish translation (scenario of a translator who forgot to add an extra space at the end):
How it looks in the English Doc (no problems):
We could remove the trailing whitespace from "Part of the" and insert a leading whitespace to "Stable ABI", but that would only please the linters. So, I propose removing all the whitespaces (leading and trailing) in the template file and let c_annotations.py to handle the spacing.
These strings about the API and the ABI were made translatable in #107680, which also introduced the whitespaces.
Linked PRs
The text was updated successfully, but these errors were encountered: