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

i18n: Fix loading custom template translations for en #12220

Merged

Commits on Apr 1, 2024

  1. Fix loading custom template translations for en

    The English language was hardcoded to load empty translations for
    templates as part of sphinx-doc#10067,
    but the rest of the code is already capable of handling missing
    translations just fine, so we can simply drop the first if block.
    
    This allows to use translations for English in custom templates, as for
    all the other languages.
    
    Fixes sphinx-doc#12214
    n-peugnet committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    e52038f View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Do not log 'not available for built-in messages' for English

    Indeed, English is the source language of the Sphinx project, so there
    is no catalogs for it. Wee still need to keep the catalog loading for
    English, in case some translated strings are defined in custom templates
    in project which source language is not English.
    n-peugnet committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    bc127a0 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Configuration menu
    Copy the full SHA
    81c0182 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Configuration menu
    Copy the full SHA
    881d758 View commit details
    Browse the repository at this point in the history