Skip to content

Commit

Permalink
Update utils.cpp
Browse files Browse the repository at this point in the history
Fixing a grammar error in several instances: "founded" -> "found"
  • Loading branch information
tuplasuhveli authored Mar 27, 2024
1 parent 8d6fde5 commit 0057bd5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void Utils::readLyrics(QString artist, QString song)
}
else
{
currentLyrics = tr("No lyrics founded");
currentLyrics = tr("No lyrics found");
m_noLyrics = true;
}
}
Expand Down Expand Up @@ -230,9 +230,9 @@ void Utils::downloaded(QNetworkReply *respuesta)
x = tmp.indexOf("<");
tmp.remove(x,tmp.length()-x);
tmp = tmp.trimmed();
//qDebug() << "Image founded... downloading... " << tmp;
//qDebug() << "Image found... downloading... " << tmp;
if (tmp=="") {
banner = tr("Album cover not founded");
banner = tr("Album cover not found");
emit bannerChanged();
return;
}
Expand All @@ -253,7 +253,7 @@ void Utils::downloaded(QNetworkReply *respuesta)
qDebug() << str;
if ( str.contains("was not found on this server") )
{
currentLyrics = tr("No lyrics founded");
currentLyrics = tr("No lyrics found");
m_noLyrics = true;
}
else
Expand All @@ -280,15 +280,15 @@ void Utils::downloaded(QNetworkReply *respuesta)
currentLyrics = tmp.replace("\n", "<br>");

if (currentLyrics.contains("<div ")) {
currentLyrics = tr("No lyrics founded");
currentLyrics = tr("No lyrics found");
m_noLyrics = true;
} else {
m_noLyrics = false;
}
}
else
{
currentLyrics = tr("No lyrics founded");
currentLyrics = tr("No lyrics found");
m_noLyrics = true;
}
m_lyricsonline = true;
Expand Down Expand Up @@ -317,7 +317,7 @@ void Utils::downloaded(QNetworkReply *respuesta)
}
else
{
currentLyrics = tr("No lyrics founded");
currentLyrics = tr("No lyrics found");
m_noLyrics = true;
}
m_lyricsonline = true;
Expand All @@ -341,7 +341,7 @@ void Utils::downloaded(QNetworkReply *respuesta)
}
else
{
currentLyrics = tr("No lyrics founded");
currentLyrics = tr("No lyrics found");
m_noLyrics = true;
}
m_lyricsonline = true;
Expand Down

0 comments on commit 0057bd5

Please sign in to comment.