Remove translation sections from setup.cfg

These translation sections are not needed anymore, Babel can
generate translation files without them.

Remove babel.cfg as well, this is the default role and not needed
anymore.

also remove Babel from requirements[1]
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html

Change-Id: I106c408a394ce8018c11560a60fe1a160b898ec3
This commit is contained in:
wu.chunyang 2020-07-03 22:08:23 +08:00
parent 68b721176a
commit 3e9ecdeead
3 changed files with 0 additions and 16 deletions

View File

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

View File

@ -1,6 +1,5 @@
alabaster==0.7.10
appdirs==1.4.3
Babel==2.5.3
boto3==1.9.199
certifi==2018.1.18
chardet==3.0.4

View File

@ -69,17 +69,3 @@ cinder =
oslo.privsep>=1.23.0 # Apache-2.0
s3 =
boto3>=1.9.199 # Apache-2.0
[compile_catalog]
directory = glance_store/locale
domain = glance_store
[update_catalog]
domain = glance_store
output_dir = glance_store/locale
input_file = glance_store/locale/glance_store.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = glance_store/locale/glance_store.pot