Linter for gettext files (*.po)
Go to file
2019-11-05 16:45:45 +01:00
.gitignore Initial commit 2019-11-05 16:30:14 +01:00
LICENSE Initial commit 2019-11-05 16:30:14 +01:00
padpo.py big bang 2019-11-05 16:45:45 +01:00
README.md big bang 2019-11-05 16:45:45 +01:00
requirements.txt big bang 2019-11-05 16:45:45 +01:00

padpo

Linter for gettext files (*.po)

WORK IN PROGRESS

License

BSD 3-clause

Trademark

  • Code in one file (TM) 👍
  • It works on my machine (TM) 💻
  • Need refactoring (TM) 👷

Usage

Using the activated virtual environment created during the installation:

python3.7 padpo.py a_file.po

or

python3.7 padpo.py a_directory_containing_po_files

Installation

  1. Create a virtual environment
    python3.7 -m venv venv
    
  2. Activate the virtual environment
    source venv/bin/activate
    
  3. Install dependencies
    pip install -r requirements.txt
    
  4. Get grammalecte
    wget https://grammalecte.net/grammalecte/zip/Grammalecte-fr-v1.5.0.zip
    unzip  Grammalecte-fr-v1.5.0.zip
    cd Grammalecte-fr-v1.5.0
    pip install .