Merge "Setup for translation"

This commit is contained in:
Jenkins 2016-01-16 02:40:17 +00:00 committed by Gerrit Code Review
commit a0134f89af
3 changed files with 1784 additions and 0 deletions

2
babel.cfg Normal file
View File

@ -0,0 +1,2 @@
[python: **.py]

File diff suppressed because it is too large Load Diff

View File

@ -38,3 +38,17 @@ source-dir = doc/source
[wheel]
universal = 1
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = python-neutronclient/locale/python-neutronclient.pot
[compile_catalog]
directory = python-neutronclient/locale
domain = python-neutronclient
[update_catalog]
domain = python-neutronclient
output_dir = python-neutronclient/locale
input_file = python-neutronclient/locale/python-neutronclient.pot