-rw-r--r-- | korganizer/kolistview.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index 0c1ac7a..8f17e6e 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp | |||
@@ -669,3 +669,8 @@ void KOListView::saveDescriptionToFile() | |||
669 | text += "\n************************************\n"; | 669 | text += "\n************************************\n"; |
670 | text += i18n("Journal from: ") +incidence->dtStartDateStr( false ); | 670 | if ( !incidence->summary().isEmpty() ) |
671 | text += i18n("Journal: %1 from ").arg( incidence->summary() ) +incidence->dtStartDateStr( false ); | ||
672 | else | ||
673 | text += i18n("Journal from: ") +incidence->dtStartDateStr( false ); | ||
674 | if ( !incidence->location().isEmpty() ) | ||
675 | text +="\n(" + i18n("Location: ") + incidence->location()+ ")"; | ||
671 | text +="\n" + i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false); | 676 | text +="\n" + i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false); |
@@ -680,2 +685,4 @@ void KOListView::saveDescriptionToFile() | |||
680 | text += incidence->summary(); | 685 | text += incidence->summary(); |
686 | if ( !incidence->location().isEmpty() ) | ||
687 | text +="\n(" + i18n("Location: ") + incidence->location()+ ")"; | ||
681 | if ( incidence->hasStartDate() ) | 688 | if ( incidence->hasStartDate() ) |
@@ -683,4 +690,2 @@ void KOListView::saveDescriptionToFile() | |||
683 | text +="\n"+ i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false); | 690 | text +="\n"+ i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false); |
684 | if ( !incidence->location().isEmpty() ) | ||
685 | text += "\n" +i18n("Location: ") + incidence->location(); | ||
686 | text += "\n" + i18n("Description: ") + "\n" + incidence->description(); | 691 | text += "\n" + i18n("Description: ") + "\n" + incidence->description(); |