Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-126609: Allow translating the availability directive#129549
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
AA-Turner commented Feb 1, 2025 • edited by github-actions bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by github-actions bot
Uh oh!
There was an error while loading. Please reload this page.
m-aciek commented Feb 1, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
AA-Turner commented Feb 2, 2025
You should definitely not get the A |
AA-Turner commented Feb 2, 2025
I'm minded to merge this as it fixes a definite oversight in the original PR, and doesn't prevent us merging the revert commit if need be. A |
m-aciek commented Feb 2, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
AA-Turner commented Feb 2, 2025
Do you still get the |
m-aciek commented Feb 2, 2025
Yes, I do. |
AA-Turner commented Feb 2, 2025
@m-aciek what are your reproduction steps? |
m-aciek commented Feb 2, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
CPython repository checked out on this branch, symlink at Language repository (pl) checked out at 3.13 with a patch applied: Index: library/webbrowser.po IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 ===================================================================diff --git a/library/webbrowser.po b/library/webbrowser.po--- a/library/webbrowser.po (revision 632304c02750bb5b42a49e0f7230981f0285dcb9)+++ b/library/webbrowser.po (date 1738506193244)@@ -88,7 +88,7 @@ msgstr "" msgid "Availability" -msgstr "Availability"+msgstr "Dostępność" msgid "The following exception is defined:" msgstr ""Than in CPython repo, In the build output I see bunch of warnings from license.rst and one from webbrowser.rst. And in |
AA-Turner commented Feb 2, 2025
For reference, from a clean check-out of my branch I ran: Then renaming all instances of msgid"Availability"msgstr""to msgid"Availability"msgstr"AVAILABILITY"and then With this I get no errors, and the directive renders & links correctly: |
AA-Turner commented Feb 2, 2025
Is there any difference if all instances are replaced instead of just this one?
Please could you try with |
m-aciek commented Feb 2, 2025
I don't think so, just tried with a minimal change.
No difference in the output. Trying with changing |
m-aciek commented Feb 2, 2025
AA-Turner commented Feb 2, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@m-aciek I think I've identified the problem -- you need to add a msgid/msgstr pair to I didn't observe the errors as I was rebuilding with Cloning msgid"Availability"msgstr"PL-AVAILABILITY" |
m-aciek commented Feb 2, 2025
Thank you for reproducing this. Confirming it works indeed, and the reference link works as intended. |
Uh oh!
There was an error while loading. Please reload this page.
0612a89 into python:mainUh oh!
There was an error while loading. Please reload this page.
Thanks @AA-Turner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…thonGH-129549) (cherry picked from commit 0612a89) Co-authored-by: Adam Turner <[email protected]>
GH-129584 is a backport of this pull request to the 3.13 branch. |
…thonGH-129549) (cherry picked from commit 0612a89) Co-authored-by: Adam Turner <[email protected]>
GH-129585 is a backport of this pull request to the 3.12 branch. |







📚 Documentation preview 📚: https://cpython-previews--129549.org.readthedocs.build/