author | zautrix <zautrix> | 2005-06-30 08:04:41 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-30 08:04:41 (UTC) |
commit | 00e631189f1dca0d596b6ce5816f2fcde9124bd7 (patch) (unidiff) | |
tree | a6e770eef02b128663b3090ec4b3f9c3ac22715f /korganizer | |
parent | 0bcf4379652b763423d0c1843cb8ab8945b798bd (diff) | |
download | kdepimpi-00e631189f1dca0d596b6ce5816f2fcde9124bd7.zip kdepimpi-00e631189f1dca0d596b6ce5816f2fcde9124bd7.tar.gz kdepimpi-00e631189f1dca0d596b6ce5816f2fcde9124bd7.tar.bz2 |
j fix
-rw-r--r-- | korganizer/journalentry.cpp | 2 | ||||
-rw-r--r-- | korganizer/koeventviewer.cpp | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/journalentry.cpp b/korganizer/journalentry.cpp index 3c01eeb..9e2c902 100644 --- a/korganizer/journalentry.cpp +++ b/korganizer/journalentry.cpp | |||
@@ -68,7 +68,7 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) : | |||
68 | QPushButton * toggleJournal = new QPushButton( vb ); | 68 | QPushButton * toggleJournal = new QPushButton( vb ); |
69 | iconp = SmallIcon("1updownarrow"); | 69 | iconp = SmallIcon("1updownarrow"); |
70 | toggleJournal->setPixmap (iconp ) ; | 70 | toggleJournal->setPixmap (iconp ) ; |
71 | new QLabel(i18n(" Title: "),vb); | 71 | new QLabel(" "+i18n("Title: "),vb); |
72 | mTitle = new KLineEdit ( vb ); | 72 | mTitle = new KLineEdit ( vb ); |
73 | mTitleLabel = new QLabel(i18n("Title"),vb); | 73 | mTitleLabel = new QLabel(i18n("Title"),vb); |
74 | mTitleLabel->setMargin(0); | 74 | mTitleLabel->setMargin(0); |
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp index 52c5247..d3b2ccf 100644 --- a/korganizer/koeventviewer.cpp +++ b/korganizer/koeventviewer.cpp | |||
@@ -688,23 +688,23 @@ 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: "); | ||
692 | if ( !jour->summary().isEmpty() ) | ||
693 | text_d = jour->summary(); | ||
691 | if (mode == 0 ) { | 694 | if (mode == 0 ) { |
692 | addTag("h2",i18n("Journal from: ")); | 695 | addTag("h2", text_d ); |
693 | } | 696 | } |
694 | else { | 697 | else { |
695 | if ( mode == 1 ) { | 698 | if ( mode == 1 ) { |
696 | addTag("h2",i18n( "Local: " ) +i18n("Journal from: ")); | 699 | addTag("h3",i18n( "Local: " ) + text_d ); |
697 | } else { | 700 | } else { |
698 | addTag("h2",i18n( "Remote: " ) +i18n("Journal from: ")); | 701 | addTag("h3",i18n( "Remote: " ) + text_d ); |
699 | } | 702 | } |
700 | } | 703 | } |
701 | topLevelWidget()->setCaption("Journal Viewer"); | 704 | topLevelWidget()->setCaption("Journal Viewer"); |
702 | 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))); |
703 | if (!jour->summary().isEmpty()) { | ||
704 | addTag("b",i18n(" Title: ") + deTag(jour->summary())); | ||
705 | } | ||
706 | formatReadOnly(jour); | 706 | formatReadOnly(jour); |
707 | addTag("b",i18n( "Last modified: " ) + 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())); |