Skip to content

num_plurals checker is toothless on parsed pofiles #1323

Description

@akx

I was looking at test_checkers.py, and noticed that if I just mess with the pofile templates, e.g. add msgstr[67], the tests would happily pass.

Looks like 7dfe6f9 added the "msg has more translations than num_plurals of catalog" check in pofile reading - the additional translations have been skipped in parsing, so the checker doesn't do anything for catalogs parsed from pofiles...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions