aboutsummaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools/translate: Use po4a-updatepo to extract strings from the source filesDanilo G. Baio2023-04-211-25/+12
|
* Status: calls: template: minor improvementsGraham Perrin2023-03-251-4/+4
| | | | | | | | | | | | | | AsciiDoc, not AsciiDoctor. Delimit URIs with angle brackets https://datatracker.ietf.org/doc/html/rfc3986#appendix-C and then, the white spaces preceding full stops (.) can be properly removed. Americanise white space: one space, not two, between sentences. Approved by: salvadore Pull request: https://github.com/freebsd/freebsd-doc/pull/138
* Status call template: earlier (not earliest)Graham Perrin2023-03-181-1/+1
| | | | | Approved by: lsalvadore Pull request: https://github.com/freebsd/freebsd-doc/pull/134
* Status reports: Improve call for reports emailLorenzo Salvadore2023-03-141-2/+4
| | | | | | | | | | Specify that if the directory where it is asked to put status reports does not exist yet, then it should be created, as it is already done in https://docs.freebsd.org/en/articles/freebsd-status-report-process/#_submit_your_report PR: 269892 Reported by: grahamperrin Approved by: debdrup (status blanket)
* status: Update report submission methodsLorenzo Salvadore2023-02-092-0/+345
| | | | | | | | | | | | | | | | | | | - Import the sendcalls tool from https://github.com/freebsd/freebsd-quarterly/blob/main/tools/sendcalls and modify it to integrate as expected in the doc tree. - Import the email template to send calls from https://github.com/freebsd/freebsd-quarterly/blob/main/tools/call.txt.template and update it with the new submission methods. - Update status/_index.adoc with the new submission methods. - Import the report sample from https://github.com/freebsd/freebsd-quarterly/blob/main/report-sample.adoc and update the corresponding link in status/_index.adoc. Approved by: status (paumma, debdrup), doceng (carlavilla) Differential Revision: https://reviews.freebsd.org/D38398
* tools/po_check_entry.sh: Fix a typo in a commentGordon Bergling2023-01-111-1/+1
| | | | - s/Hilight/Highlight/
* tools/translate: Enable tablecells on po4a/AsciidocDanilo G. Baio2022-02-012-0/+4
| | | | | | Without that, po4a combines all table content into a single string, making it difficult to translate, especially when the table has much information.
* tools/translate.sh: Improve usageDanilo G. Baio2021-11-211-3/+19
| | | | | | | | | | | | | | | - 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
* [tools] Add spell checking scriptsFernando ApesteguĂ­a2021-10-132-0/+110
| | | | | | | | | | | | | | | | | | | | | 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
* tools/translate.sh: Fix a typo and trim whitespaceMateusz Piotrowski2021-09-191-2/+2
|
* [docs] tools/translate.sh: Add fixupsFernando ApesteguĂ­a2021-09-101-1/+32
| | | | | | | | | | 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
* tools/translate: Ignore some filesDanilo G. Baio2021-08-231-0/+11
| | | | | | | This list of *.adoc files only contains information that isn't translatable. Discussed with fernape@ on freebsd-translators@.
* tools/*translate.sh: Add description field on the YAML Front Matter parserDanilo G. Baio2021-06-032-3/+3
| | | | | This field was introduced on 0d9894b11e0e94cde952b0112782e68e27c893da to improve SEO.
* Add helper scripts for translationsDanilo G. Baio2021-04-082-0/+172
Already using them on Weblate FreeBSD, https://translate-dev.freebsd.org/. Approved by: bcr, gjb (doceng) Differential Revision: https://reviews.freebsd.org/D29569