diff --git a/limereport/serializators/lrxmlwriter.cpp b/limereport/serializators/lrxmlwriter.cpp index 84062da..af353f5 100644 --- a/limereport/serializators/lrxmlwriter.cpp +++ b/limereport/serializators/lrxmlwriter.cpp @@ -223,7 +223,7 @@ void XMLWriter::saveTranslation(QString propertyName, QObject* item, QDomElement translationsNode.setAttribute("Type","Translation"); Translations* translations = translationsContainer->translations(); foreach(QLocale::Language language, translations->keys()){ - QDomElement languageNode = m_doc->createElement(QLocale::languageToString(language)); + QDomElement languageNode = m_doc->createElement(QLocale::languageToString(language).replace(' ', '_')); languageNode.setAttribute("Value",QString::number(language)); translationsNode.appendChild(languageNode); ReportTranslation* curTranslation = translations->value(language);