diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-09-28 13:09:38 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-09-28 13:09:38 +0000 |
commit | 7431b5b334f1bfb944bf7f8ac86c8ff185b6def4 (patch) | |
tree | 582a609ec5d46d3b8ab77f5b4cf13bc8cb6127b0 | |
parent | e6d9060611e48b7e952f2881a7687ee64af0f8c5 (diff) | |
parent | c661a8ec251dfed55156f152c3c452fda5eea0dc (diff) | |
download | django_openstack_auth-7431b5b334f1bfb944bf7f8ac86c8ff185b6def4.tar.gz |
Merge "Add I18N related configurations"
-rw-r--r-- | .tx/config | 7 | ||||
-rw-r--r-- | babel.cfg | 1 | ||||
-rw-r--r-- | openstack_auth/locale/en/LC_MESSAGES/django.mo | bin | 378 -> 0 bytes | |||
-rw-r--r-- | openstack_auth/locale/openstack_auth.pot (renamed from openstack_auth/locale/en/LC_MESSAGES/django.po) | 0 | ||||
-rw-r--r-- | setup.cfg | 9 | ||||
-rw-r--r-- | test-requirements.txt | 1 |
6 files changed, 18 insertions, 0 deletions
diff --git a/.tx/config b/.tx/config new file mode 100644 index 0000000..e238705 --- /dev/null +++ b/.tx/config @@ -0,0 +1,7 @@ +[main] +host = https://www.transifex.com + +[horizon.djangopo] +file_filter = openstack_auth/locale/<lang>/LC_MESSAGES/django.po +source_file = openstack_auth/locale/openstack_auth.pot +source_lang = en diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 0000000..efceab8 --- /dev/null +++ b/babel.cfg @@ -0,0 +1 @@ +[python: **.py] diff --git a/openstack_auth/locale/en/LC_MESSAGES/django.mo b/openstack_auth/locale/en/LC_MESSAGES/django.mo Binary files differdeleted file mode 100644 index 4b16efe..0000000 --- a/openstack_auth/locale/en/LC_MESSAGES/django.mo +++ /dev/null diff --git a/openstack_auth/locale/en/LC_MESSAGES/django.po b/openstack_auth/locale/openstack_auth.pot index 5688058..5688058 100644 --- a/openstack_auth/locale/en/LC_MESSAGES/django.po +++ b/openstack_auth/locale/openstack_auth.pot @@ -34,3 +34,12 @@ source-dir = doc/source [nosetests] verbosity=2 detailed-errors=1 + +[extract_messages] +keywords = _ gettext ngettext l_ lazy_gettext +mapping_file = babel.cfg +output_file = openstack_auth/locale/openstack_auth.pot + +[compile_catalog] +directory = openstack_auth/locale +domain = django diff --git a/test-requirements.txt b/test-requirements.txt index 089d499..499a013 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,5 @@ hacking>=0.5.6,<0.8 +Babel>=0.9.6 coverage>=3.6 mox>=0.5.3 sphinx>=1.1.2 |