Refactor do_command
Translate instead of t