These error strings will be hard to translate for translators since they are full of HTML.
Could you make them just plain text and then style them with the 'style' property of QLabel? (I think that's possible to do within Qt Designer)