flodolo / gecko-it-qa

QA scripts for Italian Firefox/Fennec translation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Italian QA scripts for Firefox and Fennec

Spellcheck

To run the script:

  • Copy config/config.dist as config/config.ini and configure the path to the clone of l10n-central/it.
  • Runscripts/check_strings.sh (it will create and activate a virtualenv with Python 3 and install the dependencies).

Hunspell

If you’re using macOS, you need to install Hunspell and jq via brew

brew install hunspell jq

Be aware of the multiple issues existing (one, two).

You might need to manually activate the virtualenv in python-venv and run these commands (Hunspell's version will change over time):

source python-venv/bin/activate
ln -s /usr/local/lib/libhunspell-1.7.a /usr/local/lib/libhunspell.a
ln -s /usr/local/Cellar/hunspell/1.7.0_2/lib/libhunspell-1.7.dylib /usr/local/Cellar/hunspell/1.7.0_2/lib/libhunspell.dylib
CFLAGS=$(pkg-config --cflags hunspell) LDFLAGS=$(pkg-config --libs hunspell) pip3 install hunspell

On macOS Monterey the files are located in /opt/homebrew instead of /usr/local.

ln -s /opt/homebrew/lib/libhunspell-1.7.a /opt/homebrew/lib/libhunspell.a
ln -s /opt/homebrew/Cellar/hunspell/1.7.0_2/lib/libhunspell-1.7.dylib /opt/homebrew/Cellar/hunspell/1.7.0_2/lib/libhunspell.dylib

About

QA scripts for Italian Firefox/Fennec translation


Languages

Language:Python 91.8%Language:Shell 8.2%