Fix codechecker issues.

Also remove old translations that are now in AMOS, and add some unit
tests.