Fix minor code issues.
Add missing translations.