KMessageBox::sorry(this,i18n("The date/time in the Alarm tab does not "
"match the recurrence settings specified in the Recurrence tab."));
return;
}
TQDateTimenow=TQDateTime::currentDateTime();
TQDateTimenow=TQDateTime::currentDateTime();
if(mAlarmDateTime.date()<now.date()
if(mAlarmDateTime.date()<now.date()
||mAlarmDateTime.date()==now.date()
||mAlarmDateTime.date()==now.date()
@ -1423,8 +1430,7 @@ void EditAlarmDlg::slotOk()
{
{
mTabs->setCurrentPage(mMainPageIndex);
mTabs->setCurrentPage(mMainPageIndex);
mReminder->setFocusOnCount();
mReminder->setFocusOnCount();
KMessageBox::sorry(this,i18n("Reminder period must be less than the recurrence interval, unless '%1' is checked."
KMessageBox::sorry(this,i18n("Reminder period must be less than the recurrence interval, unless '%1' is checked.").arg(Reminder::i18n_first_recurrence_only()));