From fbeeacd7aee5646418849d2ef732fc76e6caa3c1 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 6 Aug 2011 22:00:49 -0500 Subject: [PATCH] Tools to extract translation from python files and templates - Added pybabel script to entry points - Added babel.ini, which we'll use to extract stuff --- babel.ini | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/babel.ini b/babel.ini index 666270df..a4e3267a 100644 --- a/babel.ini +++ b/babel.ini @@ -10,4 +10,4 @@ encoding = utf-8 # # Extraction from JavaScript files # [javascript: mediagoblin/static/js/**.js] -# extract_messages = $._, jQuery._ \ No newline at end of file +# extract_messages = $._, jQuery._ diff --git a/setup.py b/setup.py index 6043ad41..40715dd0 100644 --- a/setup.py +++ b/setup.py @@ -53,6 +53,7 @@ setup( entry_points = """\ [console_scripts] gmg = mediagoblin.gmg_commands:main_cli + pybabel = mediagoblin.babel.messages.frontend:main [paste.app_factory] app = mediagoblin.app:paste_app_factory -- 2.25.1