maxcountryman/flask-login — pull request #134 by deanishe (2013-12-21 23:41:44+00:00)
Title: Enable localisation of flash messages

Since Flask upgraded to 0.10, it's no longer possible to use
`lazy_gettext` to set `LoginManager.login_message`.

Add an optional `localization_function` argument/attribute to be called
with flash messages if the method is present.