From 57fc472b334260358623322d03ca38f4620272e5 Mon Sep 17 00:00:00 2001 From: gugug Date: Wed, 27 May 2020 22:43:15 +0800 Subject: [PATCH] Remove translation sections from setup.cfg These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: I102c9ad3804705659d54c537681b525e1f8cc05d --- 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 15cd6cb76b9..00000000000 --- a/babel.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[python: **.py] - diff --git a/setup.cfg b/setup.cfg index b56d2ed0a9c..d24a88a6740 100644 --- a/setup.cfg +++ b/setup.cfg @@ -263,17 +263,3 @@ neutron.objects = Trunk = neutron.objects.trunk:Trunk neutron.status.upgrade.checks = neutron = neutron.cmd.upgrade_checks.checks:CoreChecks - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = neutron/locale/neutron.pot - -[compile_catalog] -directory = neutron/locale -domain = neutron neutron-log-error neutron-log-info neutron-log-warning - -[update_catalog] -domain = neutron -output_dir = neutron/locale -input_file = neutron/locale/neutron.pot