Fix return codes.
Use variables.
Add the message catalogue in Japansese.