From 5c01be7bf300c7cb0c6e6148a63a5009f65f0481 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 26 Apr 2020 13:15:32 +0200 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: I4d1665f1442b15c0efe3c9c8b04d0f5226902b0c --- babel.cfg | 2 -- setup.cfg | 14 -------------- 2 files changed, 16 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index 15cd6cb76b..0000000000 --- a/babel.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[python: **.py] - diff --git a/setup.cfg b/setup.cfg index d7652248be..928b36e6b9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -83,17 +83,3 @@ console_scripts = wsgi_scripts = nova-api-wsgi = nova.api.openstack.compute.wsgi:init_application nova-metadata-wsgi = nova.api.metadata.wsgi:init_application - -[compile_catalog] -directory = nova/locale -domain = nova - -[update_catalog] -domain = nova -output_dir = nova/locale -input_file = nova/locale/nova.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = nova/locale/nova.pot