Skip to content

Releases: mondeja/pre-commit-po-hooks

v1.7.3

27 Feb 20:23

Choose a tag to compare

Enhancements

  • Add __version__ to __init__.py
  • Allow to import the package with from pre_commit_po_hooks import __version__
  • More descriptive names for CLI namespace

v1.7.0

25 Feb 16:49
2c9e710

Choose a tag to compare

Enhancements:

  • Added hook to check for fuzzy messages.

v1.6.1

01 Jan 18:17

Choose a tag to compare

Bug fixes

  • Fixed error with number of messages reported by max-messages hook

Enhacements

  • Declare support for Python3.10

v1.6.0

07 Jun 14:17

Choose a tag to compare

  • Add new hook max-lines to check that files don't contain more than X lines.
  • Add alias hook remove-metadata as no-metadata --remove.
  • Add alias hook check-entries to execute manually check_entries script.

v1.5.0

06 Jun 23:52

Choose a tag to compare

  • Added min-translated hook to define a minimum number (or percentage) of messages translated required per file.

v1.4.0

06 Jun 23:01

Choose a tag to compare

  • Added hook to set a maximum number of entries allowed for each PO file.

v1.3.4

06 Jun 22:25

Choose a tag to compare

  • More lazy charset passing --standard-headers in check-metadata hook to prevent a false positive from being triggered.
  • Fixed expected header not found which was not being triggered as error in check-metadata hook.

v1.3.3

06 Jun 22:07

Choose a tag to compare

  • Added no-metadata hook wrapping check-meatdata.
  • Added argument for check-metadata to remove metadata content from the PO files.

v1.3.2

06 Jun 20:21

Choose a tag to compare

  • Add standard metadata hook to lint metadata of PO files.

v1.3.1

06 Jun 19:42

Choose a tag to compare

  • Add remove-django-translators hook with same behaviour that lreplace-extracted-comments passing --match "Translators: " --replacement "" arguments.