Skip to main content

Linter for gettext files

Project description

padpo

Linter for gettext files (*.po)

Created to help the translation of official Python docs in French: https://github.com/python/python-docs-fr

Il faut demander aux traducteurs s'ils n'ont pas de pot quand ils traduisent, maintenant ils ont padpo… :smile: :laughing: :stuck_out_tongue_winking_eye: :joy: (note : il était tard le soir quand j'ai trouvé le nom).

WORK IN PROGRESS

License

BSD 3-clause

Pull request are welcome.

Usage

Using the activated virtual environment created during the installation:

For a local input file:

padpo --input-path a_file.po

or for a local input directory:

padpo --input-path a_directory_containing_po_files

or for a pull request in python-docs-fr repository (here pull request #978)

padpo --python-docs-fr 978

or for a pull request in a GitHub repository (here python/python-docs-fr/pull/978)

padpo --github python/python-docs-fr/pull/978

Screenshot

Installation

Automatic installation

pip install padpo

Manual installation

  1. Create a virtual environment with Python 3.7 and above

    python3.7 -m venv venv
    
  2. Activate the virtual environment

    source venv/bin/activate
    
  3. Install dependencies

    poetry install
    

    Note: this uses poetry that you can get here: https://poetry.eustace.io/docs/

Update on PyPI

./deliver.sh

Changelog

v0.6.0 (2019-12-9)

  • check errors against defined glossaries

v0.5.0 (2019-12-3)

  • check spelling errors with grammalecte
  • tag releases!

v0.4.0 (2019-12-2)

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

padpo-0.6.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

padpo-0.6.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file padpo-0.6.0.tar.gz.

File metadata

  • Download URL: padpo-0.6.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0b8 CPython/3.8.0 Linux/4.15.0-72-generic

File hashes

Hashes for padpo-0.6.0.tar.gz
Algorithm Hash digest
SHA256 08fad024a83fdd3dc0c8d1a01a4e04efe2ab263454797b5c912fae9da6a9553c
MD5 532eb73f219b349be999786f59bcbab7
BLAKE2b-256 8faf5c4024bd1e929f269dbc648208ff10def8e31e42b928053115748122fc74

See more details on using hashes here.

File details

Details for the file padpo-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: padpo-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0b8 CPython/3.8.0 Linux/4.15.0-72-generic

File hashes

Hashes for padpo-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d536636cab5fc7f2c0ba4cab909b422c864119f73bcd0d4531c8c57511cbe2b4
MD5 2aa5dbb5f666eb8de6e1e3e2290d8c20
BLAKE2b-256 05a79567836ed47f6eb6bcc17b8856401ad9df04c29d4fe6ca65483105d2a023

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