From e2b2008ed91c61ddaafaff113815bf251eb63f9b Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 19 Dec 2023 22:45:57 +0900 Subject: [PATCH] Remove translation sections from setup.cfg These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: Ib60671941371aa22fbdeeb9d42fc619f60aa15e5 --- babel.cfg | 1 - setup.cfg | 14 -------------- 2 files changed, 15 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index efceab818..000000000 --- a/babel.cfg +++ /dev/null @@ -1 +0,0 @@ -[python: **.py] diff --git a/setup.cfg b/setup.cfg index d95c08442..791b798df 100644 --- a/setup.cfg +++ b/setup.cfg @@ -64,17 +64,3 @@ oslo.messaging.notify.drivers = oslo.config.opts = oslo.messaging = oslo_messaging.opts:list_opts - -[compile_catalog] -directory = oslo_messaging/locale -domain = oslo_messaging - -[update_catalog] -domain = oslo_messaging -output_dir = oslo_messaging/locale -input_file = oslo_messaging/locale/oslo_messaging.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = oslo_messaging/locale/oslo_messaging.pot