mirror of
https://git.FreeBSD.org/doc.git
synced 2026-06-02 19:35:07 +00:00
tools/*translate.sh: Add description field on the YAML Front Matter parser
This field was introduced on 0d9894b11e to
improve SEO.
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ for pofile in $(find "$COMPONENT/content/$LANGUAGE/" -name "*.po" ); do
|
||||
po4a-translate \
|
||||
--format asciidoc \
|
||||
--option compat=asciidoctor \
|
||||
--option yfm_keys=title,part \
|
||||
--option yfm_keys=title,part,description \
|
||||
--master "$adoc_orig" \
|
||||
--master-charset "UTF-8" \
|
||||
--po "$pofile" \
|
||||
|
||||
@@ -69,7 +69,7 @@ for component in $COMPONENTS; do
|
||||
po4a-updatepo \
|
||||
--format asciidoc \
|
||||
--option compat=asciidoctor \
|
||||
--option yfm_keys=title,part \
|
||||
--option yfm_keys=title,part,description \
|
||||
--master "$document" \
|
||||
--master-charset "UTF-8" \
|
||||
--copyright-holder "The FreeBSD Project" \
|
||||
@@ -82,7 +82,7 @@ for component in $COMPONENTS; do
|
||||
po4a-gettextize \
|
||||
--format asciidoc \
|
||||
--option compat=asciidoctor \
|
||||
--option yfm_keys=title,part \
|
||||
--option yfm_keys=title,part,description \
|
||||
--master "$document" \
|
||||
--master-charset "UTF-8" \
|
||||
--copyright-holder "The FreeBSD Project" \
|
||||
|
||||
Reference in New Issue
Block a user