Commit b455bd58 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor EBN issues


Signed-off-by: Yuri Chornoivan's avatarYuri Chornoivan <yurchor@ukr.net>
parent 9816f352
......@@ -565,12 +565,12 @@ void Scheduler::saveJob()
{
/* Warn if appending a job which startup time doesn't allow proper score */
if (calculateJobScore(job, job->getStartupTime()) < 0)
appendLogText(i18n("Warning: job '%1' has startup time %1 resulting in a negative score, and will be marked invalid when processed.",
appendLogText(i18n("Warning: job '%1' has startup time %2 resulting in a negative score, and will be marked invalid when processed.",
job->getName(), job->getStartupTime().toString(job->getDateTimeDisplayFormat())));
/* Warn if appending a job with a startup time that is in the past */
if (job->getStartupTime() < KStarsData::Instance()->lt())
appendLogText(i18n("Warning: job '%1' has fixed startup time %1 set in the past, and will be marked invalid when evaluated.",
appendLogText(i18n("Warning: job '%1' has fixed startup time %2 set in the past, and will be marked invalid when evaluated.",
job->getName(), job->getStartupTime().toString(job->getDateTimeDisplayFormat())));
}
......
......@@ -185,7 +185,7 @@ bool FITSData::loadFITS(const QString &inFilename, bool silent)
{
fits_report_error(stderr, status);
fits_get_errstatus(status, error_status);
errMessage = i18n("Could not locate image HDU. Error %2", QString::fromUtf8(error_status));
errMessage = i18n("Could not locate image HDU. Error %1", QString::fromUtf8(error_status));
if (!silent)
KSNotification::error(errMessage, i18n("FITS Open"));
qCCritical(KSTARS_FITS) << errMessage;
......
Markdown is supported
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