diff options
author | Thiago Avelino <thiagoavelinoster@gmail.com> | 2015-01-22 19:07:20 -0200 |
---|---|---|
committer | Thiago Avelino <thiagoavelinoster@gmail.com> | 2015-01-22 19:07:20 -0200 |
commit | 4285551b0a981a1ff927053d082fcd15a8e120ed (patch) | |
tree | 81e897f506b2337ec6a9f23c4d8db15c2e4b10a6 /docs | |
parent | a4faa5a40f012bf45110d27f46422d3733dbe1fc (diff) | |
download | bottle-4285551b0a981a1ff927053d082fcd15a8e120ed.tar.gz |
upgrade make docs for all languages
Diffstat (limited to 'docs')
-rwxr-xr-x | docs/_locale/update.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/docs/_locale/update.sh b/docs/_locale/update.sh deleted file mode 100755 index 440394f..0000000 --- a/docs/_locale/update.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -cd "$( cd "$( dirname "$0" )" && pwd )" - -LANGUAGES='zh_CN' - -echo 'Generating new POT files ...' -sphinx-build -q -b gettext -E .. _pot - -echo 'Merging and compiling *.po files ...' -for LANG in $LANGUAGES; do - for POT in _pot/*.pot; do - DOC=`basename $POT .pot` - echo $LANG/$DOC.po - test -d $LANG/LC_MESSAGES || mkdir -p $LANG/LC_MESSAGES - test -f $LANG/$DOC.po || cp $POT $LANG/$DOC.po - msgmerge --quiet --backup=none -U $LANG/$DOC.po $POT - msgfmt $LANG/$DOC.po -o "$LANG/LC_MESSAGES/$DOC.mo" - done -done |