From 8805221195a3f6b9e33a791512da9bff27e658f1 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Wed, 19 Jun 2013 12:35:14 -0700 Subject: [PATCH] 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 --- setup.cfg | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/setup.cfg b/setup.cfg index d4d04ffe78..696e1d2c7d 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