Excludes csv stat data from pot generation

*.csv files which contain translation statistics
do not need to be translated to local languages.

Change-Id: I88f11b8fef7221129c81493a17830f271b484767
Co-Authored-By: Ian Y. Choi <ianyrchoi@gmail.com>
Closes-Bug: #1710787
This commit is contained in:
minwook-shin 2017-08-15 17:40:57 +09:00
parent 57f0332886
commit 8a42e4fa2b
1 changed files with 2 additions and 0 deletions

View File

@ -28,8 +28,10 @@ fi
rm -f ${DIRECTORY}/source/locale/$DOCNAME.pot rm -f ${DIRECTORY}/source/locale/$DOCNAME.pot
# build i18n contributor guide page index.html # build i18n contributor guide page index.html
for i in ${DIRECTORY}/source/atc-stats/data/*; do echo -n > $i ; done
sphinx-build -j $NUMBER_OF_CORES -b html -b gettext ${DIRECTORY}/source \ sphinx-build -j $NUMBER_OF_CORES -b html -b gettext ${DIRECTORY}/source \
${DIRECTORY}/source/locale/ ${DIRECTORY}/source/locale/
git checkout -- ${DIRECTORY}/source/atc-stats/data/*
# Take care of deleting all temporary files so that # Take care of deleting all temporary files so that
# "git add ${DIRECTORY}/source/locale" will only add the # "git add ${DIRECTORY}/source/locale" will only add the