diff --git a/exceptions.cpp b/exceptions.cpp index 53d37d9..71a3e3b 100644 --- a/exceptions.cpp +++ b/exceptions.cpp @@ -111,7 +111,7 @@ const char *TruncatedDataException::what() const USE_NOTHROW /*! * \class Media::OperationAbortedException * \brief The exception that is thrown when an operation has been stopped - * and thus not sucessfully completed because it has been aborted. + * and thus not successfully completed because it has been aborted. */ /*! diff --git a/id3/id3v2tag.cpp b/id3/id3v2tag.cpp index 9dc913c..96172d0 100644 --- a/id3/id3v2tag.cpp +++ b/id3/id3v2tag.cpp @@ -227,7 +227,7 @@ void Id3v2Tag::parse(istream &stream) try { frame.parse(reader, majorVersion, bytesRemaining); if(frameId) { - // add frame if parsing was sucessfull + // add frame if parsing was successfull if(Id3v2FrameIds::isTextfield(frameId) && fields().count(frame.id()) == 1) { addNotification(NotificationType::Warning, "The text frame " + frame.frameIdString() + " exists more than once.", context); } diff --git a/mediafileinfo.cpp b/mediafileinfo.cpp index 66753ff..b4911a4 100644 --- a/mediafileinfo.cpp +++ b/mediafileinfo.cpp @@ -565,13 +565,13 @@ void MediaFileInfo::applyChanges() { const string context("making file"); addNotification(NotificationType::Information, "Changes are about to be applied.", context); - bool previousParsingSucessful = true; + bool previousParsingSuccessful = true; switch(tagsParsingStatus()) { case ParsingStatus::Ok: case ParsingStatus::NotSupported: break; default: - previousParsingSucessful = false; + previousParsingSuccessful = false; addNotification(NotificationType::Critical, "Tags have to be parsed without critical errors before changes can be applied.", context); } switch(tracksParsingStatus()) { @@ -579,7 +579,7 @@ void MediaFileInfo::applyChanges() case ParsingStatus::NotSupported: break; default: - previousParsingSucessful = false; + previousParsingSuccessful = false; addNotification(NotificationType::Critical, "Tracks have to be parsed without critical errors before changes can be applied.", context); } // switch(chaptersParsingStatus()) { @@ -587,7 +587,7 @@ void MediaFileInfo::applyChanges() // case ParsingStatus::NotSupported: // break; // default: -// previousParsingSucessful = false; +// previousParsingSuccessful = false; // addNotification(NotificationType::Critical, "Chapters have to be parsed without critical errors before changes can be applied.", context); // } // switch(attachmentsParsingStatus()) { @@ -595,10 +595,10 @@ void MediaFileInfo::applyChanges() // case ParsingStatus::NotSupported: // break; // default: -// previousParsingSucessful = false; +// previousParsingSuccessful = false; // addNotification(NotificationType::Critical, "Attachments have to be parsed without critical errors before changes can be applied.", context); // } - if(!previousParsingSucessful) { + if(!previousParsingSuccessful) { throw InvalidDataException(); } if(m_container) { // container object takes care @@ -1236,7 +1236,7 @@ void MediaFileInfo::clearParsingResults() /*! * \brief Merges the assigned ID3v2 tags. * - * Some files I've got contain multiple sucessive ID3v2 tags. If the tags of + * Some files I've got contain multiple successive ID3v2 tags. If the tags of * such an file is parsed by this class, these tags will be kept seperate. * This method merges all assigned ID3v2 tags. All fields from the additional * ID3v2 tags will be inserted to the first tag. All assigned ID3v2 tag instances diff --git a/mediafileinfo.h b/mediafileinfo.h index 3d87cb8..82a62ad 100644 --- a/mediafileinfo.h +++ b/mediafileinfo.h @@ -114,7 +114,7 @@ public: // methods to create/remove tags bool createAppropriateTags(bool treatUnknownFilesAsMp3Files = false, TagUsage id3v1usage = TagUsage::KeepExisting, - TagUsage id3v2usage = TagUsage::Always, bool mergeMultipleSucessiveId3v2Tags = true, + TagUsage id3v2usage = TagUsage::Always, bool mergeMultipleSuccessiveId3v2Tags = true, bool keepExistingId3v2version = true, uint32 id3v2version = 3, const std::vector &requiredTargets = std::vector()); bool removeId3v1Tag(); Id3v1Tag *createId3v1Tag();