mirror of https://git.FreeBSD.org/doc.git
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:
parent
5d8561b885
commit
475f3464c4
|
@ -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" \
|
||||
|
|
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue