I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  • str4d's avatar
    f42c071d
    Copy env's pybabel into base dir to fix string extraction · f42c071d
    str4d authored
    The jinja2 extracter needs to know about our custom HighlightExtension (used on
    pages such as get-involved/develop/applications), which is not in the env's
    python path. Copying pybabel into the base dir gives it access to our modules.
    This is only required for string extraction; other scripts use pybabel from the
    env directly.
    
    If the env's pybabel version is updated, this copy must also be updated.
    f42c071d
    History
    Copy env's pybabel into base dir to fix string extraction
    str4d authored
    The jinja2 extracter needs to know about our custom HighlightExtension (used on
    pages such as get-involved/develop/applications), which is not in the env's
    python path. Copying pybabel into the base dir gives it access to our modules.
    This is only required for string extraction; other scripts use pybabel from the
    env directly.
    
    If the env's pybabel version is updated, this copy must also be updated.
extract-messages.sh 304 B
#!/bin/sh
. ./translation.vars

TZ=UTC ./pybabel extract --msgid-bugs-address="http://trac.i2p2.de" \
                               --project=$PROJECT \
                               --version=$VERSION \
                               -F $BABELCFG \
                               -o $POTFILE $PROJDIR