diff --git a/src/plugins/scxmleditor/plugin_interface/scxmldocument.cpp b/src/plugins/scxmleditor/plugin_interface/scxmldocument.cpp index 22cbdf4d4e7..15dea2d2e1f 100644 --- a/src/plugins/scxmleditor/plugin_interface/scxmldocument.cpp +++ b/src/plugins/scxmleditor/plugin_interface/scxmldocument.cpp @@ -262,16 +262,16 @@ void ScxmlDocument::initErrorMessage(const QXmlStreamReader &xml, QIODevice *io) QString errorString; switch (xml.error()) { case QXmlStreamReader::Error::UnexpectedElementError: - errorString = tr("UnexpectedElementError"); + errorString = tr("Unexpected element"); break; case QXmlStreamReader::Error::NotWellFormedError: - errorString = tr("NotWellFormedError"); + errorString = tr("Not well formed"); break; case QXmlStreamReader::Error::PrematureEndOfDocumentError: - errorString = tr("PrematureEndOfDocumentError"); + errorString = tr("Premature end of document"); break; case QXmlStreamReader::Error::CustomError: - errorString = tr("CustomError"); + errorString = tr("Custom error"); break; default: break;