HomeFreeBSD

[tools] Add spell checking scripts

Description

[tools] Add spell checking scripts

Summary:
Add two small scripts to do spell checking in .po files.

When working with Weblate, the web browser provides some spell checking with
visual hints for every translation entry.

These scripts provide spell checking for the whole file showing the faulting
words in context.

Relies on msgexec(1) and aspell(1) from devel/gettext-tools and
textproc/aspell.

It can be tested with:

./po_spellcheck.sh ../documentation/content/es/articles/bsdl-gpl/_index.po es

Reviewed by: carlavilla@, dbaio@
Differential Revision: https://reviews.freebsd.org/D32465

Details

Provenance
fernapeAuthored on Oct 12 2021, 4:00 PM
Differential Revision
D32465: [doc][tools] Add spell checking scripts
Parents
R9:77a07a9384a4: checkkey: Fix typos in comments
Branches
Unknown
Tags
Unknown