Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Commit

Permalink
Added helpers for transifex
Browse files Browse the repository at this point in the history
  • Loading branch information
brutasse committed Sep 10, 2012
1 parent 7f88cf3 commit 6c543d3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .tx/config
@@ -0,0 +1,7 @@
[main]
host = https://www.transifex.com

[djangopeople.core]
file_filter = djangopeople/locale/<lang>/LC_MESSAGES/django.po
source_file = djangopeople/locale/en/LC_MESSAGES/django.po
source_lang = en
14 changes: 13 additions & 1 deletion Makefile
Expand Up @@ -5,8 +5,20 @@ test_settings = --settings=$(proj).test_settings
test:
django-admin.py test $(test_settings) --failfast --noinput
run:
django-admin.py runserver $(settings)
django-admin.py runserver 0.0.0.0:8888 $(settings)
db:
django-admin.py syncdb $(settings) --noinput && django-admin.py fix_counts $(settings)
shell:
django-admin.py shell $(settings)

makemessages:
cd $(proj) && django-admin.py makemessages -a $(settings)

compilemessages:
cd $(proj) && django-admin.py compilemessages $(settings)

txpush:
tx push -s

txpull:
tx pull -a

0 comments on commit 6c543d3

Please sign in to comment.