localise settings dialogs (and refactor them a little)