From 11edc920afe4f274c0964436633aa632c8288a40 Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 08 Jun 2007 10:31:01 +0000 Subject: translation fixes --- diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index cb63a5e..71d07e7 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt @@ -1577,6 +1577,17 @@ { "Pi-Sync - selected calendars ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync - ausgewählte Kalender ( direktes Kx/Pi mit Kx/Pi syncen )" }, { "Waiting a second before syncing next resource...","Warte eine Sekunde vor dem Syncen der nächsten resource..." }, { "Multi-resource Pi-sync finished","Multi-Resourcen Pi-sync beendet" }, +{ "Work","Arbeit" }, +{ "Mobile","Handy" }, +{ "Work2","Arbeit2" }, +{ "Mobile2","Handy2" } +{ "Home2","Zuhause2" }, +{ "Other","Sonstige" }, +{ "Meeting ","Treffen " }, +{ "(cancelled)","(aufgehoben)" }, +{ "","" }, +{ "","" }, +{ "","" }, { "","" }, { "","" }, { "","" }, diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp index 92d2a80..c0acf34 100644 --- a/korganizer/koeventviewer.cpp +++ b/korganizer/koeventviewer.cpp @@ -179,7 +179,7 @@ void KOEventViewer::setSource(const QString& n) } else if ( n.mid(7,4) == "RSVP" ) { mailToAttendees( false ); } else { - ExternalAppHandler::instance()->mailToOneContact( n.mid(7) ); + ExternalAppHandler::instance()->mailToOneContact( n.mid(7) ); //QCopEnvelope e("QPE/Application/ompi", "newMail(QString)" ); //e << n.mid(7); } @@ -355,7 +355,7 @@ void KOEventViewer::appendEvent(Event *event, int mode ) } if (!event->location().isEmpty()) { addTag("p",""+i18n("Location: ")+""+ deTag(event->location() ) ); - mMailSubject += i18n(" at ") + event->location(); + mMailSubject += " (" + i18n("Location: ") + event->location() + ")"; } if (event->doesRecur()) { @@ -514,13 +514,14 @@ void KOEventViewer::appendTodo(Todo *event, int mode ) if (event->hasStartDate()) { mText.append(i18n("

Start on: %1

").arg(event->dtStartStr(KOPrefs::instance()->mShortDateInViewer))); } + if (!event->location().isEmpty()) { + mMailSubject += " (" + i18n("Location: ") + event->location() + ")"; + } if (event->hasDueDate()) { mText.append(i18n("

Due on: %1

").arg(event->dtDueStr(KOPrefs::instance()->mShortDateInViewer))); - mMailSubject += i18n(" - " )+event->dtDueStr( true ); } if (!event->location().isEmpty()) { addTag("p",""+i18n("Location: ")+""+ deTag(event->location() ) ); - mMailSubject += i18n(" at ") + event->location(); } mText.append(i18n("

Priority: %2

") .arg(QString::number(event->priority()))); -- cgit v0.9.0.2