Remove depreciated file babel.cfg
The file babel.cfg is not used anymore. This patch removes the depreciated file and the translation sections in setup.cfg (extract_messages, compile_catalog and update_catalog) as these not needed anymore, Babel can generate translation files without them. Change-Id: I86a0ce342ae695c9529d3cf5bd4ac3779f9a9205
This commit is contained in:
parent
91c4415c42
commit
615c76b900
@ -1,7 +1,6 @@
|
||||
alabaster==0.7.10
|
||||
appdirs==1.3.0
|
||||
asn1crypto==0.23.0
|
||||
Babel==2.3.4
|
||||
cffi==1.14.0
|
||||
cliff==2.8.0
|
||||
cmd2==0.8.0
|
||||
|
@ -2,7 +2,6 @@
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
||||
Babel!=2.4.0,>=2.3.4 # BSD
|
||||
cliff!=2.9.0,>=2.8.0 # Apache-2.0
|
||||
PyYAML>=3.13 # MIT
|
||||
python-dateutil>=2.5.3 # BSD
|
||||
|
14
setup.cfg
14
setup.cfg
@ -36,17 +36,3 @@ openstack.translator.v1 =
|
||||
|
||||
console_scripts =
|
||||
heat-translator = translator.shell:main
|
||||
|
||||
[compile_catalog]
|
||||
directory = translator/locale
|
||||
domain = translator
|
||||
|
||||
[update_catalog]
|
||||
domain = translator
|
||||
output_dir = translator/locale
|
||||
input_file = translator/locale/translator.pot
|
||||
|
||||
[extract_messages]
|
||||
keywords = _ gettext ngettext l_ lazy_gettext
|
||||
mapping_file = babel.cfg
|
||||
output_file = translator/locale/translator.pot
|
||||
|
Loading…
x
Reference in New Issue
Block a user