From e36bc2477a422ae71a9661da29241528e5246070 Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Tue, 2 Aug 2016 08:02:41 +0200 Subject: [PATCH] Use flask_babel in CONTRIBUTING (#869) Instead of deprecated flask.ext.babelpkg --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index addf087bd..79f86ae4f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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".