1
0
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:
Danilo G. Baio
2021-06-03 16:30:31 -03:00
parent cf0f8d609a
commit f2d5f930d8
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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" \
+2 -2
View File
@@ -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" \