Skip to main content

Linter for gettext PO files

Project description

PyPI Licence Python versions Travis CI Codecov

polint is a linter for gettext PO files. It validates PO files against defined convensions.

Usage

polint.py [options] <path>...
polint.py -h | --help
polint.py --version

To print complete usage use --help option.

Errors

  • fuzzy - Translation is fuzzy

  • obsolete - Entry is obsolete

  • untranslated - Translation is missing. That includes fuzzy or obsolete.

  • location - Entry contains location data

  • unsorted - Entry is not properly sorted

Changelog

0.4

  • Fix installation in environment with C locales.

0.3

  • Use docopt for argument parsing.

  • Recursively search directories for .po files.

0.2

  • Add sort validator

0.1

  • Initial version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polint-0.4.tar.gz (4.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page