Fix category settings dialog for existing categories
Remove some trailing spaces
Disable “Edit Categories” menu entry if no project is loaded
Fix localisation of category settings dialog