mirror of
https://git.FreeBSD.org/doc.git
synced 2026-06-02 11:25:20 +00:00
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:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user