Skip to content

Commit

Permalink
Use Flask-BabelEx extension
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjoes committed Mar 22, 2013
1 parent 6a5f0c1 commit 0d8ed79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/babel/README.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This example show how to translate Flask-Admin into different language using customized version of the `Flask-Babel <https://github.com/mrjoes/flask-babel>`
This example show how to translate Flask-Admin into different language using customized version of the `Flask-Babel <https://github.com/mrjoes/flask-babelex>`
2 changes: 1 addition & 1 deletion examples/babel/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from flask.ext.sqlalchemy import SQLAlchemy

from flask.ext import admin
from flask.ext.babel import Babel
from flask.ext.babelex import Babel

from flask.ext.admin.contrib import sqlamodel

Expand Down
2 changes: 1 addition & 1 deletion flask_admin/babel.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
try:
from .helpers import get_current_view

from flask.ext.babel import Domain
from flask.ext.babelex import Domain

from flask.ext.admin import translations

Expand Down

0 comments on commit 0d8ed79

Please sign in to comment.