From da3d40cb887506024e71687d58f9901444d0bff5 Mon Sep 17 00:00:00 2001 From: jacky06 Date: Fri, 15 May 2020 01:04:40 +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: I6560c3ab26008862b49b63fe73147a9ef2861341 --- babel.cfg | 1 - setup.cfg | 19 ------------------- 2 files changed, 20 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index efceab8..0000000 --- a/babel.cfg +++ /dev/null @@ -1 +0,0 @@ -[python: **.py] diff --git a/setup.cfg b/setup.cfg index f15eca5..24a7d27 100644 --- a/setup.cfg +++ b/setup.cfg @@ -67,22 +67,3 @@ kolla.cli = service_listgroups = kolla_cli.commands.service:ServiceListGroups service_removegroup = kolla_cli.commands.service:ServiceRemoveGroup setdeploy = kolla_cli.commands.mode:Setdeploy - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = kolla-cli/locale/kolla-cli.pot - -[update_catalog] -domain = kolla-cli -output_dir = kolla-cli/locale -input_file = kolla-cli/locale/kolla-cli.pot - -[compile_catalog] -directory = kolla-cli/locale -domain = kolla-cli - -[build_sphinx] -all_files = 1 -build-dir = doc/build -source-dir = doc/source