Fix common directory in translations

Partial revert of Icbda5521c97eb8d89a055250fbce045250ba6d55 - we really
need to set the EXCLUDE line.

Add a comment to explain why it's needed.

Change-Id: I01a57ed24a0c276bf74eb66a44bf56da98121a80
This commit is contained in:
Andreas Jaeger 2016-09-20 10:07:10 +02:00
parent 51c7487a4d
commit 0fad527750

View File

@ -167,8 +167,13 @@ function setup_manuals {
# Grab all of the rules for the documents we care about
ZANATA_RULES=
# List of directories to skip
EXCLUDE='.*/**'
# List of directories to skip.
# All manuals have a source/common subdirectory that is a symlink
# to doc/common in openstack-manuals. We have to exclude this
# source/common directory everywhere, only doc/common gets
# translated.
EXCLUDE='.*/**,**/source/common/**'
# Generate pot one by one
for FILE in ${DocFolder}/*; do