Handle empty states for translation panel. Fixes #372.