From 7153763b9e331fca1b38b51719fabd065785f78b Mon Sep 17 00:00:00 2001 From: "wu.chunyang" Date: Mon, 15 Jun 2020 23:30:59 +0800 Subject: [PATCH] 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. Change-Id: Ib240beb075ef8db5ba659dae8487b85d59efb355 --- babel.cfg | 2 -- setup.cfg | 13 ------------- 2 files changed, 15 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index 15cd6cb..0000000 --- a/babel.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[python: **.py] - diff --git a/setup.cfg b/setup.cfg index 82989ca..b4b5366 100644 --- a/setup.cfg +++ b/setup.cfg @@ -58,16 +58,3 @@ openstack.alarming.v2 = alarm quota show = aodhclient.v2.quota_cli:QuotaShow alarm quota set = aodhclient.v2.quota_cli:QuotaSet -[compile_catalog] -directory = aodhclient/locale -domain = aodhclient - -[update_catalog] -domain = aodhclient -output_dir = aodhclient/locale -input_file = aodhclient/locale/aodhclient.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = aodhclient/locale/aodhclient.pot