Use babel to generate translation file
Fixes bug 1103519 Following http://wiki.openstack.org/Translations to integrate transifex translation into quantum We added the empty file quantum/locale/quantum.pot to avoid the failure of the Jenkin's translation-jobs because git doesn't allow empty directory to be added into the repository. After this patch accepted, we need to do as below: 1. Make the transifex quantum project (https://www.transifex.com/projects/p/quantum/) as part of the openstack transifex project hub and give access to the transifex openstack Jenkins account. 2. Add the translation-jobs into openstack/openstack-ci-puppet for ceilometer. Change-Id: I329a8bdc51ed8a0e75399c592d3991b1ec06a855
This commit is contained in:
parent
24fb4e0a1a
commit
a4c76481c1
15
setup.cfg
15
setup.cfg
|
@ -14,3 +14,18 @@ cover-package = quantum
|
|||
cover-html = true
|
||||
cover-erase = true
|
||||
where=quantum/tests/unit
|
||||
|
||||
[extract_messages]
|
||||
keywords = _ gettext ngettext l_ lazy_gettext
|
||||
mapping_file = babel.cfg
|
||||
output_file = quantum/locale/quantum.pot
|
||||
|
||||
[compile_catalog]
|
||||
directory = quantum/locale
|
||||
domain = quantum
|
||||
|
||||
[update_catalog]
|
||||
domain = quantum
|
||||
output_dir = quantum/locale
|
||||
input_file = quantum/locale/quantum.pot
|
||||
|
||||
|
|
Loading…
Reference in New Issue