From c1b4e7b8736cab62afae17c3d15d0cb2dd178a8b Mon Sep 17 00:00:00 2001 From: melissaml Date: Thu, 14 May 2020 17:40:55 +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: I5a27ecd3f4af1a9933b3480934d7b7a1e4dbf7dd --- babel.cfg | 2 -- setup.cfg | 15 --------------- 2 files changed, 17 deletions(-) delete mode 100644 babel.cfg diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index 15cd6cb76..000000000 --- a/babel.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[python: **.py] - diff --git a/setup.cfg b/setup.cfg index 33ffa71c7..9dd9fb120 100644 --- a/setup.cfg +++ b/setup.cfg @@ -99,18 +99,3 @@ cover-inclusive = true ; method in nose/inspector.py requires a traceback-like object. ; ; detailed-errors = 1 - - -[compile_catalog] -directory = zaqar/locale -domain = zaqar - -[update_catalog] -domain = zaqar -output_dir = zaqar/locale -input_file = zaqar/locale/zaqar.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = zaqar/locale/zaqar.pot