Skip to content

Commit

Permalink
Enforce standard settings for helper scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 18, 2013
1 parent e2599a6 commit 56bb584
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/generate-locales
Expand Up @@ -4,4 +4,4 @@

set -e

./manage.py compilemessages
./manage.py compilemessages --settings=weblate.settings_test
4 changes: 2 additions & 2 deletions scripts/update-locales
Expand Up @@ -6,8 +6,8 @@
set -e

# Update po files itself
./manage.py makemessages -a -i 'repos/*' -i 'docs/*' -i 'examples/*'
./manage.py makemessages -a -i 'repos/*' -i 'docs/*' -i 'examples/*' -d djangojs
./manage.py makemessages -a -i 'repos/*' -i 'docs/*' -i 'examples/*' --settings=weblate.settings_test
./manage.py makemessages -a -i 'repos/*' -i 'docs/*' -i 'examples/*' -d djangojs --settings=weblate.settings_test

# Fix Report-Msgid-Bugs-To as it gets removed
sed -i 's/"Report-Msgid-Bugs-To:.*/"Report-Msgid-Bugs-To: weblate@lists.cihar.com\\n"/' locale/*/*/*.po
Expand Down

0 comments on commit 56bb584

Please sign in to comment.