summaryrefslogtreecommitdiff
path: root/src/nexusinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nexusinterface.cpp')
-rw-r--r--src/nexusinterface.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp
index a4c08f53..c677add0 100644
--- a/src/nexusinterface.cpp
+++ b/src/nexusinterface.cpp
@@ -641,7 +641,7 @@ void NexusInterface::nextRequest()
} else if (getAccessManager()->validateWaiting()) {
return;
} else {
- qCritical("You must authorize MO2 in Settings -> Nexus to use the Nexus API.");
+ qCritical() << tr("You must authorize MO2 in Settings -> Nexus to use the Nexus API.");
}
}
@@ -650,7 +650,7 @@ void NexusInterface::nextRequest()
QTime time = QTime::currentTime();
QTime targetTime;
targetTime.setHMS((time.hour() + 1) % 23, 5, 0);
- QString warning("You've exceeded the Nexus API rate limit and requests are now being throttled. "
+ QString warning = tr("You've exceeded the Nexus API rate limit and requests are now being throttled. "
"Your next batch of requests will be available in approximately %1 minutes and %2 seconds.");
qWarning() << warning.arg(time.secsTo(targetTime) / 60).arg(time.secsTo(targetTime) % 60);
return;
@@ -702,9 +702,8 @@ void NexusInterface::nextRequest()
url = QString("%1/games/%2/mods/%3/files/%4/download_link?key=%5&expires=%6")
.arg(info.m_URL).arg(info.m_GameName).arg(info.m_ModID).arg(info.m_FileID).arg(fileInfo->nexusKey).arg(fileInfo->nexusExpires);
} else {
- QString warning("Aborting download: Either you clicked on a premium-only link and your account is not premium, "
+ qWarning() << tr("Aborting download: Either you clicked on a premium-only link and your account is not premium, "
"or the download link was generated by a different account than the one stored in Mod Organizer.");
- qWarning() << warning;
return;
}
} break;