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.
This commit is contained in:
Danilo G. Baio 2022-02-01 10:27:22 -03:00
parent 5d8561b885
commit 475f3464c4
2 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,7 @@ for pofile in $(find "$COMPONENT/content/$LANGUAGE/$SEARCH_RESTRICT" -name "*.po
po4a-updatepo \
--format asciidoc \
--option compat=asciidoctor \
--option tablecells=1 \
--option yfm_keys=title,part,description \
--master "$adoc_orig" \
--master-charset "UTF-8" \
@ -111,6 +112,7 @@ for pofile in $(find "$COMPONENT/content/$LANGUAGE/$SEARCH_RESTRICT" -name "*.po
po4a-translate \
--format asciidoc \
--option compat=asciidoctor \
--option tablecells=1 \
--option yfm_keys=title,part,description \
--master "$adoc_orig" \
--master-charset "UTF-8" \

View File

@ -80,6 +80,7 @@ for component in $COMPONENTS; do
po4a-updatepo \
--format asciidoc \
--option compat=asciidoctor \
--option tablecells=1 \
--option yfm_keys=title,part,description \
--master "$document" \
--master-charset "UTF-8" \
@ -93,6 +94,7 @@ for component in $COMPONENTS; do
po4a-gettextize \
--format asciidoc \
--option compat=asciidoctor \
--option tablecells=1 \
--option yfm_keys=title,part,description \
--master "$document" \
--master-charset "UTF-8" \