Commit edd863f8 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Fix typos in comments or log messages

parent e80527fd
......@@ -23,7 +23,7 @@
#include <Plasma/DataEngine>
/**
* This class searches for the newest comic strips of predefined comics in a defined intervall.
* This class searches for the newest comic strips of predefined comics in a defined interval.
* Once found it emits lastStrip
*/
class CheckNewStrips : public QObject
......
......@@ -73,7 +73,7 @@ bool ComicArchiveJob::isValid() const
switch ( mType ) {
case ArchiveFromTo:
if ( mToIdentifier.isEmpty() || mFromIdentifier.isEmpty() ) {
qWarning() << "Not enought data provided to archive a range.";
qWarning() << "Not enough data provided to archive a range.";
return false;
}
break;
......@@ -157,7 +157,7 @@ void ComicArchiveJob::dataUpdated( const QString &source, const Plasma::DataEngi
}
if ( hasError ) {
qWarning() << "An error occured at" << source << "stopping.";
qWarning() << "An error occurred at" << source << "stopping.";
setErrorText( i18n( "An error happened for identifier %1.", source ) );
setError( KilledJobError );
copyZipFileToDestination();
......
......@@ -397,7 +397,7 @@ void MediaFrame::slotFinished(KJob *job)
}
}
else {
errorMessage = QStringLiteral("Unknown error occured");
errorMessage = QStringLiteral("Unknown error occurred");
qCritical() << errorMessage;
......
......@@ -111,12 +111,12 @@ class CachedProvider : public ComicProvider
QString name() const override;
/**
* Returns wether the comic is leftToRight or not
* Returns whether the comic is leftToRight or not
*/
bool isLeftToRight() const override;
/**
* Returns wether the comic is topToBottom or not
* Returns whether the comic is topToBottom or not
*/
bool isTopToBottom() const override;
......
......@@ -151,12 +151,12 @@ class PLASMA_COMIC_EXPORT ComicProvider : public QObject
virtual QString name() const;
/**
* Returns wether the comic is leftToRight or not
* Returns whether the comic is leftToRight or not
*/
virtual bool isLeftToRight() const;
/**
* Returns wether the comic is topToBottom or not
* Returns whether the comic is topToBottom or not
*/
virtual bool isTopToBottom() const;
......
Supports Markdown
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