If there isn't any functional documentation, the message text would be in the source code. It might be built from variable elements, complicating its detection. If you don't have the source or any documentation, you might be able to determine this by searching the executable code, although...