yesodweb/hamlet — pull request #41 by stepcut (2012-02-07 00:08:37+00:00)
Title: added 'mkMessageFor'

I added the 'mkMessageFor' function which is similar to 'mkMessage' but allows you to add translations for datatypes that already exist.

mkMessage and mkMessageFor use a new utility function 'mkMessageCommon' which abstracts out the common aspects of their behavior.

mkMessageFor could also be renamed to 'mkAdditionalMessages' as ending in a preposition is a bit odd.