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
This commit is contained in:
Christopher Allan Webber 2011-08-06 22:00:49 -05:00
parent f40d79714a
commit fbeeacd7ae
2 changed files with 2 additions and 1 deletions

View File

@ -10,4 +10,4 @@ encoding = utf-8
# # Extraction from JavaScript files
# [javascript: mediagoblin/static/js/**.js]
# extract_messages = $._, jQuery._
# extract_messages = $._, jQuery._

View File

@ -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