commit ece7b8f1e7b6f2256f88531824c5c270ce487b30
Author: Sven Anderson <email address hidden>
Date: Fri May 20 15:34:00 2016 +0200
Let setup.py compile_catalog process all language files
Two years ago the translation files have been split into several
files, separating the log messages of different log levels from each
other, like X.pot, X-log-warning.pot, X-log-info.pot, and so on.
However, the setup.py command `compile_catalogs`, that comes from the
babel package and compiles the corresponding .po files into .mo
files, only supported one file per python package. This means that
during packaging `compile_catalogs` never compiled the X-log-*.po
files, so the corresponding translations were always missing.
Since babel 2.3 the domain can be set to a space separated list of
domains. This change adds the the additional log level files to the
domain list.
The obsolete check that .po and .pot files are valid is removed from
tox.ini.
Reviewed: https:/ /review. openstack. org/311753 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ece7b8f1e7b 6f2256f88531824 c5c270ce487b30
Committed: https:/
Submitter: Jenkins
Branch: master
commit ece7b8f1e7b6f22 56f88531824c5c2 70ce487b30
Author: Sven Anderson <email address hidden>
Date: Fri May 20 15:34:00 2016 +0200
Let setup.py compile_catalog process all language files
Two years ago the translation files have been split into several
files, separating the log messages of different log levels from each
other, like X.pot, X-log-warning.pot, X-log-info.pot, and so on.
However, the setup.py command `compile_catalogs`, that comes from the
babel package and compiles the corresponding .po files into .mo
files, only supported one file per python package. This means that
during packaging `compile_catalogs` never compiled the X-log-*.po
files, so the corresponding translations were always missing.
Since babel 2.3 the domain can be set to a space separated list of
domains. This change adds the the additional log level files to the
domain list.
The obsolete check that .po and .pot files are valid is removed from
tox.ini.
Change-Id: I0d9cb16ac50caa e570c57a1db6bed 656bf13c3dc
Closes-Bug: #1536226