what about reusing messages in another applications ?
can you guarantee that all your coworkers use the same typical
string ?
ex:
error_message = T('warning, you're not authorized to access ...')
another developer could do:
error_message = T('you're not authorized to access this page')

think of how much time and effort could be spent to refactor all
messages to have one style.
this can me easy if messages are in one place

any way this can be easily done and handled for a project
but
messages = Messages(T) should be there in case a team wants to use it
just like auth.messages.blah, we can have an application level
messaging system
and this also could be implemented easily ... I just suggest it could
be there by default to enhance good behaviors.

Reply via email to