Title: Doc: content of availability directive lost in i18n · Issue #101845 · python/cpython · GitHub
Open Graph Title: Doc: content of availability directive lost in i18n · Issue #101845 · python/cpython
X Title: Doc: content of availability directive lost in i18n · Issue #101845 · python/cpython
Description: Bug report See https://git.afpy.org/AFPy/python-docs-fr/issues/28 For example, take the os.getgid function. https://docs.python.org/3/library/os.html#os.getgid reads """ os.getgid() Return the real group id of the current process. Availa...
Open Graph Description: Bug report See https://git.afpy.org/AFPy/python-docs-fr/issues/28 For example, take the os.getgid function. https://docs.python.org/3/library/os.html#os.getgid reads """ os.getgid() Return the real...
X Description: Bug report See https://git.afpy.org/AFPy/python-docs-fr/issues/28 For example, take the os.getgid function. https://docs.python.org/3/library/os.html#os.getgid reads """ os.getgid() ...
Opengraph URL: https://github.com/python/cpython/issues/101845
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Doc: content of availability directive lost in i18n","articleBody":"# Bug report\r\n\r\nSee https://git.afpy.org/AFPy/python-docs-fr/issues/28\r\n\r\nFor example, take the `os.getgid` function. https://docs.python.org/3/library/os.html#os.getgid reads\r\n\r\n\"\"\"\r\nos.getgid()\r\n\r\nReturn the real group id of the current process.\r\n\r\n[Availability](https://docs.python.org/3/library/intro.html#availability): Unix.\r\n\r\nThe function is a stub on Emscripten and WASI, see [WebAssembly platforms](https://docs.python.org/3/library/intro.html#wasm-availability) for more information.\r\n\"\"\"\r\n\r\nHowever, the French translation reads\r\n\r\n\"\"\"\r\nos.getgid()\r\n\r\nRenvoie l'identifiant de groupe réel du processus actuel.\r\n\r\n[Disponibilité](https://docs.python.org/fr/3/library/intro.html#availability) : Unix.\r\n\"\"\"\r\n\r\nThis is unexpected. When a paragraph is not translated yet, the original is normally shown. Here, it is dropped.\r\n\r\nNot only does this lose content, but it leads to build failures when warnings are turned into errors because the translation can lose some references.\r\n\r\nCC @tiran (commit e3b6ff19aaa318a813130ba9ad2ab0a332f27feb)\r\n\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-101846\n* gh-101852\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/jeanas","@type":"Person","name":"jeanas"},"datePublished":"2023-02-12T12:14:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/101845/cpython/issues/101845"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b2c22897-f3ac-4c85-990f-33120a052830 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84F6:269EF9:6711B9:8DBD89:6969E3B1 |
| html-safe-nonce | 8188020600145db8de9a83fabd5cdf4709f3788483ec707ecfc05b7cb7da0e4a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEY2OjI2OUVGOTo2NzExQjk6OERCRDg5OjY5NjlFM0IxIiwidmlzaXRvcl9pZCI6IjI0Nzc0MTY4NjEyODQyOTU2MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a20a727c6bd4469bb094bf6665eadf750a23d15f8453c4206e50705e75bc24ce |
| hovercard-subject-tag | issue:1581235889 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/101845/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f8fc72dba6c25ded348f453d7cc25612c02683672712d11f7182f47e99cdd868/python/cpython/issues/101845 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f8fc72dba6c25ded348f453d7cc25612c02683672712d11f7182f47e99cdd868/python/cpython/issues/101845 |
| og:image:alt | Bug report See https://git.afpy.org/AFPy/python-docs-fr/issues/28 For example, take the os.getgid function. https://docs.python.org/3/library/os.html#os.getgid reads """ os.getgid() Return the real... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jeanas |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width