val > proj->getEnd())
{
errorMessage(i18n("Date %1 is outside of project time frame "
- "(%2 - %3")
+ "(%2 - %3)")
.arg(time2tjp(val))
.arg(time2tjp(proj->getStart()))
.arg(time2tjp(proj->getEnd())));
{
#ifndef HAVE_KDE
errorMessage(i18n("The program was compiled without KDE support. "
- "Therefor ICal support has been disabled."));
+ "Therefore ICal support has been disabled."));
return false;
#else
QString fileName;
}
if (!tab->isSupportedColumn(token))
{
- errorMessage(i18n("Unknown colon ID '%1'. Supported IDs are: %2.")
+ errorMessage(i18n("Unknown column ID '%1'. Supported IDs are: %2.")
.arg(token).arg(tab->getSupportedColumnList().join(", ")));
return 0;
}
errorMessage(i18n("Date must be larger than 1971-01-01"));
return false;
}
- if (year > 2035)
+ if (year >= 2035)
{
errorMessage(i18n("Date must be smaller than 2035-01-01"));
return false;
if ((duration > 0.0) || (length > 0.0))
{
/* Length specifies the number of working days (as daily load)
- * and duration specifies the number of calender days. */
+ * and duration specifies the number of calendar days. */
if (!allocations.isEmpty())
bookResources(sc, date, slotDuration);