author | zautrix <zautrix> | 2005-06-29 12:54:34 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-29 12:54:34 (UTC) |
commit | f29d4de96b6fd334ff64f11731f5d4899b69f124 (patch) (unidiff) | |
tree | 389555e0e180443d946174b5e97b153047935d16 /korganizer | |
parent | 4c19dcc4e5b45d9cf04c91af82f00b764b01e985 (diff) | |
download | kdepimpi-f29d4de96b6fd334ff64f11731f5d4899b69f124.zip kdepimpi-f29d4de96b6fd334ff64f11731f5d4899b69f124.tar.gz kdepimpi-f29d4de96b6fd334ff64f11731f5d4899b69f124.tar.bz2 |
nf
-rw-r--r-- | korganizer/koeventviewer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp index 8c1e5b2..52c5247 100644 --- a/korganizer/koeventviewer.cpp +++ b/korganizer/koeventviewer.cpp | |||
@@ -703,33 +703,33 @@ void KOEventViewer::appendJournal(Journal *jour, int mode ) | |||
703 | if (!jour->summary().isEmpty()) { | 703 | if (!jour->summary().isEmpty()) { |
704 | addTag("b",i18n(" Title: ") + deTag(jour->summary())); | 704 | addTag("b",i18n(" Title: ") + deTag(jour->summary())); |
705 | } | 705 | } |
706 | formatReadOnly(jour); | 706 | formatReadOnly(jour); |
707 | addTag("b",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(jour->lastModified(),shortDate ) ); | 707 | addTag("b",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(jour->lastModified(),shortDate ) ); |
708 | 708 | ||
709 | if (!jour->description().isEmpty()) { | 709 | if (!jour->description().isEmpty()) { |
710 | addTag("p",deTag(jour->description())); | 710 | addTag("p",deTag(jour->description())); |
711 | } | 711 | } |
712 | setText(mText); | 712 | setText(mText); |
713 | } | 713 | } |
714 | 714 | ||
715 | void KOEventViewer::formatReadOnly(Incidence *event) | 715 | void KOEventViewer::formatReadOnly(Incidence *event) |
716 | { | 716 | { |
717 | int id = event->calID(); | 717 | int id = event->calID(); |
718 | if ( id > 1 ) { | 718 | if ( id > 1 ) { |
719 | addTag("p", i18n("Calendar:")+" " + KOPrefs::instance()->getCalendar( id )->mName ); | 719 | addTag("p", "<em>("+i18n("Calendar:")+" " + KOPrefs::instance()->getCalendar( id )->mName + ")</em>"); |
720 | } | 720 | } |
721 | if (event->isReadOnly()) { | 721 | if (event->isReadOnly()) { |
722 | addTag("p","<em>(" + i18n("read-only") + ")</em>"); | 722 | addTag("p","<em>(" + i18n("read-only") + ")</em>"); |
723 | } | 723 | } |
724 | } | 724 | } |
725 | void KOEventViewer::setSyncMode( bool b ) | 725 | void KOEventViewer::setSyncMode( bool b ) |
726 | { | 726 | { |
727 | mSyncMode = b; | 727 | mSyncMode = b; |
728 | } | 728 | } |
729 | 729 | ||
730 | void KOEventViewer::setTodo(Todo *event, bool clearV ) | 730 | void KOEventViewer::setTodo(Todo *event, bool clearV ) |
731 | { | 731 | { |
732 | if ( clearV ) | 732 | if ( clearV ) |
733 | clearEvents(); | 733 | clearEvents(); |
734 | if ( mSyncMode ) { | 734 | if ( mSyncMode ) { |
735 | if ( clearV ) | 735 | if ( clearV ) |