[fpc-devel] Question on policy for compiler messages
Jonas Maebe
jonas at freepascal.org
Tue Apr 30 21:35:46 CEST 2019
On 30/04/2019 19:32, J. Gareth Moreton wrote:
> To the administrators in particular, what's the policy when it comes to
> introducing a new message (error, warning etc.) for the compiler? I
> know it's not as simple as simply adding it to the list, because it has
> to be translated into several different languages and I don't know how
> the compiler will react if a language pack doesn't contain a particular
> message (does it display the English message or crash?)
It will show the English message. The English messages are embedded in
the compiler through msgtxt.inc/msgidx.inc, which are automatically
regenerated when building the compiler after changing msg/errore.msg. So
when adding a new message, just adding it to errore.msg is enough.
Jonas
More information about the fpc-devel
mailing list