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.5.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polint-0.5-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file polint-0.5.tar.gz.

File metadata

  • Download URL: polint-0.5.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for polint-0.5.tar.gz
Algorithm Hash digest
SHA256 e890fd6e705ba2430882b5aef6eeb52cdea04ef9575479ae7b7bae72e811ee2c
MD5 297f8753ed5e0016793185736b1118d8
BLAKE2b-256 6aa88a0118bef69d7cbe5c6b532b067ae48a52d2c3503a237b583bb2fefba9df

See more details on using hashes here.

File details

Details for the file polint-0.5-py3-none-any.whl.

File metadata

  • Download URL: polint-0.5-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for polint-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 782872ace017d0fe6f7f338148b9deca2518a758d4fdee46dc8938da2b08fe7d
MD5 890be50356285735e69cc9eb99c8eed1
BLAKE2b-256 6f91b3c762c74d1ecee9955ef5bb85a8aac9ebf317fd461d63a3de82509ff255

See more details on using hashes here.

Supported by

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