Skip to content

Babel emits errors when running compile_catalog #9198

@mitya57

Description

@mitya57

Describe the bug
When building Sphinx 4.0.0 package in Debian, I get these errors from babel:

error: sphinx/locale/zh_CN/LC_MESSAGES/sphinx.po:2924: positional format placeholders are unbalanced
error: sphinx/locale/fa/LC_MESSAGES/sphinx.po:387: incompatible format for placeholder 1: 'r' and 's' are not compatible
error: sphinx/locale/fa/LC_MESSAGES/sphinx.po:1589: incompatible format for placeholder 1: 's' and 'r' are not compatible
error: sphinx/locale/fa/LC_MESSAGES/sphinx.po:2323: incompatible format for placeholder 1: 'r' and 's' are not compatible
error: sphinx/locale/fa/LC_MESSAGES/sphinx.po:2861: incompatible format for placeholder 1: 's' and 'r' are not compatible
error: sphinx/locale/fa/LC_MESSAGES/sphinx.po:2866: incompatible format for placeholder 1: 's' and 'r' are not compatible
error: sphinx/locale/fa/LC_MESSAGES/sphinx.po:2887: incompatible format for placeholder 1: 's' and 'r' are not compatible
error: sphinx/locale/ar/LC_MESSAGES/sphinx.po:643: positional format placeholders are unbalanced
error: sphinx/locale/ar/LC_MESSAGES/sphinx.po:911: placeholders are incompatible

To Reproduce
Steps to reproduce the behavior:

  • Clone Sphinx repository or unpack Sphinx 4.0.0 tarball.
  • Run python3 setup.py compile_catalog.

Environment info

  • OS: Debian GNU/Linux unstable
  • Python version: 3.9.2
  • Sphinx version: 4.0.0
  • Extra tools: Babel 2.8.0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions