Linter for gettext files (*.po)
Go to file
Vincent Poulailleau a03a2ac737 spelling errors 2019-12-03 10:59:27 +01:00
padpo improve link management 2019-12-03 10:59:27 +01:00
tests spelling errors 2019-12-03 10:59:27 +01:00
.gitignore add test data 2019-12-02 18:38:25 +01:00
LICENSE Initial commit 2019-11-05 16:30:14 +01:00
README.md preparing v0.5.0 2019-12-03 10:43:39 +01:00
deliver.sh ensure package upload 2019-12-03 10:59:27 +01:00
poetry.lock use python 3.7+ 2019-12-02 19:39:35 +01:00
pyproject.toml preparing v0.5.0 2019-12-03 10:43:39 +01:00
screenshot.png add screenshot 2019-11-05 17:08:08 +01:00

README.md

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😄 😆 😜 😂 (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.5.0 (2019-12-3)

  • check spelling errors with grammalecte
  • tag releases!

v0.4.0 (2019-12-2)