Skip to content

Commit

Permalink
Grammar fixes in dialog box and logs
Browse files Browse the repository at this point in the history
  • Loading branch information
KenJyn76 authored and JonathanFeenstra committed Oct 5, 2024
1 parent 7e07f37 commit b520b01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/downloadmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ void DownloadManager::queryDownloadListInfo()
{
TimeThis tt("DownloadManager::queryDownloadListInfos()");

log::info("Retrieving infos from every download (if possible)...");
log::info("Retrieving data from every download (if possible)...");

int incompleteInfos = 0;

Expand All @@ -467,8 +467,8 @@ void DownloadManager::queryDownloadListInfo()
} else {

// Warn the user if the number of incomplete infos is over 5
QString message = tr("There %1 incomplete download meta files.\n\n"
"Do you want to fetch metadata for all incomplete downloads?\n"
QString message = tr("There are %1 incomplete download meta files.\n\n"
"Do you want to fetch all incomplete metadata?\n"
"API uses will be consumed, and Mod Organizer may stutter.");
message = message.arg(incompleteInfos);
if (QMessageBox::question(m_ParentWidget, tr("Incomplete Download Infos"), message,
Expand All @@ -485,7 +485,7 @@ void DownloadManager::queryDownloadListInfo()
return;
}

log::info("Files infos have been retrieved successfully!");
log::info("Metadata has been retrieved successfully!");
}

bool DownloadManager::addDownload(const QStringList& URLs, QString gameName, int modID,
Expand Down

0 comments on commit b520b01

Please sign in to comment.