From: Matt Riedemann Date: Wed, 19 Jun 2013 19:35:14 +0000 (-0700) Subject: Restore babel setup config options X-Git-Tag: 2014.1~459 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=8805221195a3f6b9e33a791512da9bff27e658f1;p=openstack-build%2Fheat-build.git Restore babel setup config options 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 --- diff --git a/setup.cfg b/setup.cfg index d4d04ffe..696e1d2c 100644 --- 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