author | zautrix <zautrix> | 2005-07-03 14:15:13 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-03 14:15:13 (UTC) |
commit | 3be76edf08827e1e00206399469904fe69887854 (patch) (unidiff) | |
tree | 02e2d16a6f133afcd3c54be1f4fe9f2bd424b177 /korganizer/koeventviewer.cpp | |
parent | 971bfd3cf502fbbafc96bef70e21beb545e450b5 (diff) | |
download | kdepimpi-3be76edf08827e1e00206399469904fe69887854.zip kdepimpi-3be76edf08827e1e00206399469904fe69887854.tar.gz kdepimpi-3be76edf08827e1e00206399469904fe69887854.tar.bz2 |
fixes
Diffstat (limited to 'korganizer/koeventviewer.cpp') (more/less context) (ignore whitespace changes)
-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 d3b2ccf..f6c252b 100644 --- a/korganizer/koeventviewer.cpp +++ b/korganizer/koeventviewer.cpp | |||
@@ -688,33 +688,33 @@ void KOEventViewer::formatAttendees(Incidence *event) | |||
688 | void KOEventViewer::appendJournal(Journal *jour, int mode ) | 688 | void KOEventViewer::appendJournal(Journal *jour, int mode ) |
689 | { | 689 | { |
690 | bool shortDate = KOPrefs::instance()->mShortDateInViewer; | 690 | bool shortDate = KOPrefs::instance()->mShortDateInViewer; |
691 | QString text_d = i18n("Journal from: "); | 691 | QString text_d = i18n("Journal from: "); |
692 | if ( !jour->summary().isEmpty() ) | 692 | if ( !jour->summary().isEmpty() ) |
693 | text_d = jour->summary(); | 693 | text_d = jour->summary(); |
694 | if (mode == 0 ) { | 694 | if (mode == 0 ) { |
695 | addTag("h2", text_d ); | 695 | addTag("h2", text_d ); |
696 | } | 696 | } |
697 | else { | 697 | else { |
698 | if ( mode == 1 ) { | 698 | if ( mode == 1 ) { |
699 | addTag("h3",i18n( "Local: " ) + text_d ); | 699 | addTag("h3",i18n( "Local: " ) + text_d ); |
700 | } else { | 700 | } else { |
701 | addTag("h3",i18n( "Remote: " ) + text_d ); | 701 | addTag("h3",i18n( "Remote: " ) + text_d ); |
702 | } | 702 | } |
703 | } | 703 | } |
704 | topLevelWidget()->setCaption("Journal Viewer"); | 704 | topLevelWidget()->setCaption(i18n("Journal viewer")); |
705 | mText.append(i18n("<h3> %1 </h3> ").arg(jour->dtStartDateStr(KOPrefs::instance()->mShortDateInViewer))); | 705 | mText.append(i18n("<h3> %1 </h3> ").arg(jour->dtStartDateStr(KOPrefs::instance()->mShortDateInViewer))); |
706 | formatReadOnly(jour); | 706 | formatReadOnly(jour); |
707 | addTag("p","<b>"+i18n( "Last modified: " ) + "</b>"+KGlobal::locale()->formatDateTime(jour->lastModified(),shortDate ) ); | 707 | addTag("p","<b>"+i18n( "Last modified: " ) + "</b>"+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", "<em>("+i18n("Calendar:")+" " + KOPrefs::instance()->getCalendar( id )->mName + ")</em>"); | 719 | addTag("p", "<em>("+i18n("Calendar:")+" " + KOPrefs::instance()->getCalendar( id )->mName + ")</em>"); |
720 | } | 720 | } |