]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Restore babel setup config options
authorMatt Riedemann <mriedem@us.ibm.com>
Wed, 19 Jun 2013 19:35:14 +0000 (12:35 -0700)
committerMatt Riedemann <mriedem@us.ibm.com>
Wed, 19 Jun 2013 19:35:14 +0000 (12:35 -0700)
Restore the babel configuration values from setup.cfg before the pbr
change so that you can compile the message catalog using "python
setup.py compile_catalog" again.

Fixes bug 1192685

Change-Id: I6db624940b7b8017700e8d2bc7ba56ba4295f091

setup.cfg

index d4d04ffe78a9b0ee20c76f22a135abc89cc12c45..696e1d2c7d87eef48f7faff74c5479f7f4e34e58 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -37,3 +37,17 @@ scripts =
 [global]
 setup-hooks =
     pbr.hooks.setup_hook
+
+[compile_catalog]
+directory = heat/locale
+domain = heat
+
+[update_catalog]
+domain = heat
+output_dir = heat/locale
+input_file = heat/locale/heat.pot
+
+[extract_messages]
+keywords = _ gettext ngettext l_ lazy_gettext
+mapping_file = babel.cfg
+output_file = heat/locale/heat.pot
\ No newline at end of file