summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThiago Avelino <thiagoavelinoster@gmail.com>2015-01-22 19:07:20 -0200
committerThiago Avelino <thiagoavelinoster@gmail.com>2015-01-22 19:07:20 -0200
commit4285551b0a981a1ff927053d082fcd15a8e120ed (patch)
tree81e897f506b2337ec6a9f23c4d8db15c2e4b10a6 /docs
parenta4faa5a40f012bf45110d27f46422d3733dbe1fc (diff)
downloadbottle-4285551b0a981a1ff927053d082fcd15a8e120ed.tar.gz
upgrade make docs for all languages
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/_locale/update.sh19
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