summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelissaml <ma.lei@99cloud.net>2020-05-15 11:08:42 +0800
committermelissaml <ma.lei@99cloud.net>2020-05-15 11:08:42 +0800
commit9f025d08fff75541e8fb43a45c6b9c81a95718fe (patch)
tree471b8f3b94efc65f9ef5275b9aa14defebfb14cd
parent0625035e9fb2e2844e33ce6e3dc8c097f3e3d667 (diff)
downloadoslo-policy-9f025d08fff75541e8fb43a45c6b9c81a95718fe.tar.gz
Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: I01d74cb5ff4701ca537dc3ec0f877b45cda7c895
-rw-r--r--babel.cfg2
-rw-r--r--setup.cfg14
2 files changed, 0 insertions, 16 deletions
diff --git a/babel.cfg b/babel.cfg
deleted file mode 100644
index 15cd6cb..0000000
--- a/babel.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-[python: **.py]
-
diff --git a/setup.cfg b/setup.cfg
index b94ba2d..700f8c1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -39,17 +39,3 @@ console_scripts =
oslo.policy.rule_checks =
http = oslo_policy._external:HttpCheck
https = oslo_policy._external:HttpsCheck
-
-[compile_catalog]
-directory = oslo_policy/locale
-domain = oslo_policy
-
-[update_catalog]
-domain = oslo_policy
-output_dir = oslo_policy/locale
-input_file = oslo_policy/locale/oslo_policy.pot
-
-[extract_messages]
-keywords = _ gettext ngettext l_ lazy_gettext
-mapping_file = babel.cfg
-output_file = oslo_policy/locale/oslo_policy.pot