Fix Mac dev setup issues [#5442].

A trailing slash in devtools/compile_translations.sh caused that script to fail
because the parameter to pybabel's -l option ended up blank instead of
containing the language code.

A few files and directories were missing from .gitignore and hence wound up
in the list of local changes to be committed.
This commit is contained in:
Jeremy Bowman 2016-03-18 16:46:31 -04:00 committed by Ben Sturmfels
parent 5224d700dd
commit 85107918b5
No known key found for this signature in database
GPG Key ID: 023C05E2C9C068F0
3 changed files with 7 additions and 1 deletions

5
.gitignore vendored
View File

@ -42,6 +42,7 @@
/aclocal.m4 /aclocal.m4
# Tests # Tests
/mediagoblin/tests/.cache/
/mediagoblin/tests/user_dev/ /mediagoblin/tests/user_dev/
# File extensions # File extensions
@ -65,3 +66,7 @@ venv*
/extlib/tinymce/ /extlib/tinymce/
/extlib/video.js/ /extlib/video.js/
/extlib/videojs-resolution-switcher /extlib/videojs-resolution-switcher
# Mac files
.DS_Store
.Python

View File

@ -54,6 +54,7 @@ Thank you!
* Jaakko Luttinen * Jaakko Luttinen
* Jakob Kramer * Jakob Kramer
* Jef van Schendel * Jef van Schendel
* Jeremy Bowman
* Jeremy Pope * Jeremy Pope
* jerome * jerome
* Jessica Tallon * Jessica Tallon

View File

@ -35,7 +35,7 @@ fi
## ##
## List of uncompilable translations: Lojban (jbo), Interlingua (ia) ## List of uncompilable translations: Lojban (jbo), Interlingua (ia)
for file in `find mediagoblin/i18n/ -name "*.po"`; do for file in `find mediagoblin/i18n -name "*.po"`; do
if [ "$file" != "mediagoblin/i18n/jbo/mediagoblin.po" ] && \ if [ "$file" != "mediagoblin/i18n/jbo/mediagoblin.po" ] && \
[ "$file" != "mediagoblin/i18n/ia/mediagoblin.po" ] && \ [ "$file" != "mediagoblin/i18n/ia/mediagoblin.po" ] && \
[ "$file" != "mediagoblin/i18n/templates/en/mediagoblin.po" ]; then [ "$file" != "mediagoblin/i18n/templates/en/mediagoblin.po" ]; then