Messages is a unit with all the resourcestrings.
If you do CTRL+Click on the unit in the uses you jump to the unit. See what is in there.
And I find dialogs the logic place, since it's a dialog with a message which is shown to you. But that's a different discussion ;-)