Commit Graph

6 Commits

Author SHA1 Message Date
Danilo G. Baio 475f3464c4 tools/translate: Enable tablecells on po4a/Asciidoc
Without that, po4a combines all table content into a single string,
making it difficult to translate, especially when the table has much
information.
2022-02-01 10:27:22 -03:00
Danilo G. Baio cd71c465b9 tools/translate.sh: Improve usage
- Update .po file with the source document before translating.

- Allow translation of a specific document.

  Translate all es documents:
   ./tools/translate.sh documentation es

  Translate only pt-br articles/bsdl-gpl:
    ./tools/translate.sh documentation pt-br articles/bsdl-gpl

Reviewed by:	fernape
Differential Revision:	https://reviews.freebsd.org/D33067
2021-11-21 09:24:20 -03:00
Mateusz Piotrowski 49091873f4 tools/translate.sh: Fix a typo and trim whitespace 2021-09-19 23:02:17 +02:00
Fernando Apesteguía ee7f388663 [docs] tools/translate.sh: Add fixups
Add fixups for several chores we needed to do by hand.

* Fix tags: and trademarks: lists
* Fix paths to point to the proper language and not to master

Reviewed by: dbaio@
Differential Revision: https://reviews.freebsd.org/D31882
2021-09-10 20:12:54 +02:00
Danilo G. Baio f2d5f930d8 tools/*translate.sh: Add description field on the YAML Front Matter parser
This field was introduced on 0d9894b11e to
improve SEO.
2021-06-03 16:30:31 -03:00
Danilo G. Baio b5f7b600ed Add helper scripts for translations
Already using them on Weblate FreeBSD,
https://translate-dev.freebsd.org/.

Approved by:   bcr, gjb (doceng)
Differential Revision:	https://reviews.freebsd.org/D29569
2021-04-07 21:58:05 -03:00