Translation of internal messages
claytonaalves opened this issue · comments
Clayton A. Alves commented
Hey @rochacbruno, the function dispatch
of the login_required
decorator has a flash
call with a english message that is hard to translate.
What do you think about making SimpleLogin's message
dictionary a module global dictionary. That way, it would be easier to apply translations.
Bruno Rocha commented
@claytonaalves good idea!
I implemented in e84d5d6
But not as a global, I kept messages inside the instance but added an instance method to get it outside.