Browse Source

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
changes/88/493788/2
minwook-shin 5 years ago
parent
commit
8a42e4fa2b
  1. 2
      tools/generatepot.sh

2
tools/generatepot.sh

@ -28,8 +28,10 @@ fi
rm -f ${DIRECTORY}/source/locale/$DOCNAME.pot
# 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 \
${DIRECTORY}/source/locale/
git checkout -- ${DIRECTORY}/source/atc-stats/data/*
# Take care of deleting all temporary files so that
# "git add ${DIRECTORY}/source/locale" will only add the

Loading…
Cancel
Save