useCodeAsDefaultMessage property

bool useCodeAsDefaultMessage
getter/setter pair

Whether an unknown code is returned as the message instead of throwing a NoSuchMessageException; false by default. Handy while translations are incomplete: the screen shows the code.

Implementation

bool useCodeAsDefaultMessage = false;