fixed spelling mistakes

This commit is contained in:
Martchus 2015-10-16 21:46:36 +02:00
parent 4b13bac99c
commit eaf2223585
4 changed files with 10 additions and 10 deletions

View File

@ -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.
*/
/*!

View File

@ -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);
}

View File

@ -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

View File

@ -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<TagTarget> &requiredTargets = std::vector<TagTarget>());
bool removeId3v1Tag();
Id3v1Tag *createId3v1Tag();