Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Doc: content of availability directive lost in i18n #101845

Copy link
Copy link
@jeanas

Description

@jeanas
Issue body actions

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.

Availability: Unix.

The function is a stub on Emscripten and WASI, see WebAssembly platforms for more information.
"""

However, the French translation reads

"""
os.getgid()

Renvoie l'identifiant de groupe réel du processus actuel.

Disponibilité : Unix.
"""

This is unexpected. When a paragraph is not translated yet, the original is normally shown. Here, it is dropped.

Not only does this lose content, but it leads to build failures when warnings are turned into errors because the translation can lose some references.

CC @tiran (commit e3b6ff1)

Linked PRs

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.