Refactored events.

Translations are now done when rendering, strings are no
longer stored in the database.