diff --git a/doc-tools-check-languages.conf b/doc-tools-check-languages.conf index c2b75975..4e05662c 100644 --- a/doc-tools-check-languages.conf +++ b/doc-tools-check-languages.conf @@ -22,5 +22,5 @@ DOC_DIR="doc/" declare -A SPECIAL_BOOKS=( ["ops-guide"]="skip" # These are translated in openstack-manuals - ["common-rst"]="skip" + ["common"]="skip" ) diff --git a/tools/generatepot-rst.sh b/tools/generatepot-rst.sh index 7fb5d308..319805f9 100755 --- a/tools/generatepot-rst.sh +++ b/tools/generatepot-rst.sh @@ -21,14 +21,14 @@ if [ -z "$DOCNAME" ] ; then fi # We're not doing anything for this directory. -if [[ "$DOCNAME" = "common-rst" ]] ; then +if [[ "$DOCNAME" = "common" ]] ; then exit 0 fi rm -f doc/$DOCNAME/source/locale/$DOCNAME.pot sphinx-build -b gettext doc/$DOCNAME/source/ doc/$DOCNAME/source/locale/ -# common-rst is translated as part of openstack-manuals, do not +# common is translated as part of openstack-manuals, do not # include the file in the combined tree. rm doc/$DOCNAME/source/locale/common.pot