-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
GH-101986: Support translation for Limited/Unstable API & Stable ABI #107680
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,16 @@ | |
|
||
In extensions/c_annotations.py: | ||
|
||
{% trans %} Part of the {% endtrans %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @AA-Turner sphinx-lint complains about the trailing whitespaces here and here, and if I remove these whitespace in the translation (po file), the HTML ends up like this: (no spaces in-between) and so on
We can remove all the whitespaces (leading and trailing) in the template file and modify c_annotations.py to handle the spacing. |
||
{% trans %}Limited API{% endtrans %} | ||
{% trans %}Stable ABI{% endtrans %} | ||
{% trans %} (as an opaque struct){% endtrans %} | ||
{% trans %} (including all members){% endtrans %} | ||
{% trans %} since version %s{% endtrans %} | ||
{% trans %} (Only some members are part of the stable ABI.){% endtrans %} | ||
{% trans %}This is {% endtrans %} | ||
{% trans %}Unstable API{% endtrans %} | ||
{% trans %}. It may change without warning in minor releases.{% endtrans %} | ||
{% trans %}Return value: Always NULL.{% endtrans %} | ||
{% trans %}Return value: New reference.{% endtrans %} | ||
{% trans %}Return value: Borrowed reference.{% endtrans %} | ||
|
Uh oh!
There was an error while loading. Please reload this page.