Move translations to babel locations.
If we structure things like this, we can get things actually, you know, installed. Locales ast and oc aren't supported by babel. We'll re-import them from Launchpad once we get babel updated. If you want translations installed, run: python setup.py compile_catalog Before you run either setup.py sdist or setup.py install More work is needed to actually properly use the installed translations, but we're closer. Change-Id: I4a4bedd982c89063aa09688c9cbcf97054bcb34b
This commit is contained in:
parent
06d26d1ce5
commit
c58e4bc88b
|
@ -12,4 +12,4 @@ nova.egg-info
|
|||
.venv
|
||||
*.sqlite
|
||||
*.log
|
||||
po/*.pot
|
||||
*.mo
|
||||
|
|
10
setup.cfg
10
setup.cfg
|
@ -9,18 +9,18 @@ tag_date = 0
|
|||
tag_svn_revision = 0
|
||||
|
||||
[compile_catalog]
|
||||
directory = locale
|
||||
directory = nova/locale
|
||||
domain = nova
|
||||
|
||||
[update_catalog]
|
||||
domain = nova
|
||||
output_dir = po
|
||||
input_file = po/nova.pot
|
||||
output_dir = nova/locale
|
||||
input_file = nova/locale/nova.pot
|
||||
|
||||
[extract_messages]
|
||||
keywords = _ gettext ngettext
|
||||
keywords = _ gettext ngettext l_ lazy_gettext
|
||||
mapping_file = babel.cfg
|
||||
output_file = po/nova.pot
|
||||
output_file = nova/locale/nova.pot
|
||||
|
||||
[nosetests]
|
||||
verbosity=2
|
||||
|
|
Loading…
Reference in New Issue