1
0
mirror of https://git.FreeBSD.org/doc.git synced 2026-06-02 19:35:07 +00:00

2 Commits

Author SHA1 Message Date
Gordon Bergling f3bcafdbdd tools/po_check_entry.sh: Fix a typo in a comment
- s/Hilight/Highlight/
2023-01-11 18:10:28 +01:00
Fernando Apesteguía 5c2757dff4 [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
2021-10-13 15:37:03 +02:00