added macro-definition for translation result messages for main module, moved 'break' statements of 'switch' out the braces