Skip to content
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

Implement #noqa for i18n #10107

Merged
merged 4 commits into from Mar 27, 2022
Merged

Implement #noqa for i18n #10107

merged 4 commits into from Mar 27, 2022

Commits on Feb 15, 2022

  1. Categorize warnings for inconsistent references in i18n

    This allows suppressing them using the suppress_warnings configuration
    variable.
    jeanas committed Feb 15, 2022
    Copy the full SHA
    dfcb5d2 View commit details
    Browse the repository at this point in the history
  2. Close sphinx-doc#3985: Implement #noqa for i18n

    When cross-references in the original paragraph and the translated
    paragraph do not match, a warning is emitted.  It is useful, because
    it allows to catch mistakes, but it can also be an annoyance since
    sometimes it is expected that the cross-references will not match.
    For example, a reference that is repeated in the original text may
    need to be factored out for good style in the target language.
    Another example: if the translator needs to translate a universally
    understood term in the source language into a term that not everyone
    knows is the translation of this original term, adding a reference to
    the glossary can be warranted.  This allows the translated message to
    start with '#noqa' in order to disable the warning.
    jeanas committed Feb 15, 2022
    Copy the full SHA
    94d78d8 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2022

  1. Update versionadded to 4.5

    tk0miya committed Mar 6, 2022
    Copy the full SHA
    fa63db8 View commit details
    Browse the repository at this point in the history
  2. Update versionadded to 4.5

    tk0miya committed Mar 6, 2022
    Copy the full SHA
    7b55447 View commit details
    Browse the repository at this point in the history