Created
September 29, 2016 20:19
-
-
Save db0company/e44aa1b14974f46f8826cbd84c5e05f3 to your computer and use it in GitHub Desktop.
Generate a file that combines all the MagiCircles project in one file to import in POEditor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ~/Documents/python/MagiCircles/ &&\ | |
source env/bin/activate &&\ | |
rm -f web/locale/ja/LC_MESSAGES/django.po &&\ | |
python manage.py makemessages -l ja --ignore=env/* --ignore=./settings.py --ignore=sample_project/sample_project/settings.py --ignore=web/templates/password/* --ignore=web/django_translated.py &&\ | |
deactivate &&\ | |
cd ~/Documents/python/StardustRun/ &&\ | |
source env/bin/activate &&\ | |
rm -f stardustrun/locale/ja/LC_MESSAGES/django.po &&\ | |
python manage.py makemessages -l ja --ignore=env/* --ignore=stardustrun_project/settings.py &&\ | |
cat stardustrun/locale/ja/LC_MESSAGES/django.po >> ../MagiCircles/web/locale/ja/LC_MESSAGES/django.po &&\ | |
deactivate &&\ | |
cd ~/Documents/python/CinderellaProducers/ &&\ | |
source env/bin/activate &&\ | |
rm -f cpro/locale/ja/LC_MESSAGES/django.po &&\ | |
python manage.py makemessages -l ja --ignore=env/* --ignore=cpro_project/settings.py --ignore=cpro/django_translated.py &&\ | |
cat cpro/locale/ja/LC_MESSAGES/django.po >> ../MagiCircles/web/locale/ja/LC_MESSAGES/django.po &&\ | |
deactivate &&\ | |
echo 'Generated ' ~/Documents/python/MagiCircles/web/locale/ja/LC_MESSAGES/django.po |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment