Commit 4eb49dea authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix EBN issues

parent f69c6e62
......@@ -48,7 +48,7 @@ public:
virtual bool exportToFile(const QUrl &filePath) const = 0;
/**
* @brief store editable course in file and set modified to false
* @return true if no errors occured
* @return true if no errors occurred
*/
virtual bool sync() = 0;
/**
......
......@@ -155,7 +155,7 @@ std::unique_ptr<Unit> CourseParser::parseUnit(QXmlStreamReader &xml, const QUrl
xml.readNext();
}
if (!ok) {
qCWarning(ARTIKULATE_PARSER()) << "Errors occured while parsing unit" << unit->title() << unit->id();
qCWarning(ARTIKULATE_PARSER()) << "Errors occurred while parsing unit" << unit->title() << unit->id();
}
return unit;
}
......@@ -230,7 +230,7 @@ Phrase * CourseParser::parsePhrase(QXmlStreamReader &xml, const QUrl &path, QVec
xml.readNext();
}
if (!ok) {
qCWarning(ARTIKULATE_PARSER()) << "Errors occured while parsing phrase" << phrase->text() << phrase->id();
qCWarning(ARTIKULATE_PARSER()) << "Errors occurred while parsing phrase" << phrase->text() << phrase->id();
}
return phrase;
}
......
......@@ -25,7 +25,6 @@
#include "core/unit.h"
#include "core/phoneme.h"
#include "core/phonemegroup.h"
#include "core/language.h"
#include "core/iresourcerepository.h"
#include <memory>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment