-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 4 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index 6ddfc5f..047df7c 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt | |||
@@ -1430,12 +1430,12 @@ | |||
1430 | { "Continue running","Weiter laufen lassen" }, | 1430 | { "Continue running","Weiter laufen lassen" }, |
1431 | { "Stop - do not save","Stopp - nicht Speichern" }, | 1431 | { "Stop - do not save","Stopp - nicht Speichern" }, |
1432 | { "Do you really want to set\nthe state to stopped\nwithout saving the data?","Möchten sie den Zustand\nwirklich auf gestoppt setzen\nohne die Daten abzuspeichern?" }, | 1432 | { "Do you really want to set\nthe state to stopped\nwithout saving the data?","Möchten sie den Zustand\nwirklich auf gestoppt setzen\nohne die Daten abzuspeichern?" }, |
1433 | { "Time mismatch!","Zeiten stimmen nicht!" }, | 1433 | { "Time mismatch!","Zeiten stimmen nicht!" }, |
1434 | { "The start time is\nafter the end time!","Die Startzeit ist\nhinter der Endzeit!" }, | 1434 | { "The start time is\nafter the end time!","Die Startzeit ist\nhinter der Endzeit!" }, |
1435 | { "Yes, stop todo","Ja, stoppe Todo" }, | 1435 | { "Yes, stop todo","Ja, stoppe Todo" }, |
1436 | { "","" }, | 1436 | { "Todo stopped - no data saved because runtime was < 15 sec!","Todo gestoppt - nichts gespeichert da Laufzeit < 15 sec!" }, |
1437 | { "","" }, | 1437 | { "Todo started! Double click again to stop!","Todo gestartet! Doppelklicke um es zu stoppen!" }, |
1438 | { "","" }, | 1438 | { "","" }, |
1439 | { "","" }, | 1439 | { "","" }, |
1440 | { "","" }, | 1440 | { "","" }, |
1441 | { "","" }, \ No newline at end of file | 1441 | { "","" }, \ No newline at end of file |
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 8d957eb..7349d20 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp | |||
@@ -1189,20 +1189,22 @@ void KOTodoView::itemDoubleClicked(QListViewItem *item) | |||
1189 | mActiveItem = (KOTodoViewItem *) item; | 1189 | mActiveItem = (KOTodoViewItem *) item; |
1190 | Todo * t = mActiveItem->todo(); | 1190 | Todo * t = mActiveItem->todo(); |
1191 | if ( t->isRunning() ) { | 1191 | if ( t->isRunning() ) { |
1192 | if ( t->runTime() < 15) { | 1192 | if ( t->runTime() < 15) { |
1193 | t->stopRunning(); | 1193 | t->stopRunning(); |
1194 | mActiveItem->construct(); | 1194 | mActiveItem->construct(); |
1195 | topLevelWidget()->setCaption(i18n("Todo stopped - no data saved because runtime was < 15 sec!")); | ||
1195 | return; | 1196 | return; |
1196 | } | 1197 | } |
1197 | else | 1198 | else |
1198 | toggleRunningItem(); | 1199 | toggleRunningItem(); |
1199 | return; | 1200 | return; |
1200 | } else { | 1201 | } else { |
1201 | t->setRunning( true ); | 1202 | t->setRunning( true ); |
1202 | mActiveItem->construct(); | 1203 | mActiveItem->construct(); |
1204 | topLevelWidget()->setCaption(i18n("Todo started! Double click again to stop!")); | ||
1203 | return; | 1205 | return; |
1204 | } | 1206 | } |
1205 | } | 1207 | } |
1206 | } | 1208 | } |
1207 | if ( KOPrefs::instance()->mEditOnDoubleClick ) | 1209 | if ( KOPrefs::instance()->mEditOnDoubleClick ) |
1208 | editItem( item ); | 1210 | editItem( item ); |