Skip to content

Commit

Permalink
Use flask_babel in CONTRIBUTING
Browse files Browse the repository at this point in the history
Instead of deprecated flask.ext.babelpkg
  • Loading branch information
xrmx committed Jul 31, 2016
1 parent ee9141a commit a48b31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ meets these guidelines:

We use [Babel](http://babel.pocoo.org/en/latest/) to translate Caravel. The
key is to instrument the strings that need translation using
`from flask.ext.babelpkg import lazy_gettext as _`. Once this is imported in
`from flask_babel import lazy_gettext as _`. Once this is imported in
a module, all you have to do is to `_("Wrap your strings")` using the
underscore `_` "function".

Expand Down

0 comments on commit a48b31d

Please sign in to comment.