Skip to content

Commit

Permalink
Use flask_babel in CONTRIBUTING (#869)
Browse files Browse the repository at this point in the history
Instead of deprecated flask.ext.babelpkg
  • Loading branch information
xrmx authored and mistercrunch committed Aug 2, 2016
1 parent 55afda3 commit e36bc24
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 e36bc24

Please sign in to comment.