summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2007-06-08 10:31:01 (UTC)
committer zautrix <zautrix>2007-06-08 10:31:01 (UTC)
commit11edc920afe4f274c0964436633aa632c8288a40 (patch) (side-by-side diff)
tree415d63843250f9901d8fdb5b6255e47d46651ac3
parent623b4d4abe87789dacd4c14de88a63b44ca352b7 (diff)
downloadkdepimpi-11edc920afe4f274c0964436633aa632c8288a40.zip
kdepimpi-11edc920afe4f274c0964436633aa632c8288a40.tar.gz
kdepimpi-11edc920afe4f274c0964436633aa632c8288a40.tar.bz2
translation fixes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/korganizer/germantranslation.txt11
-rw-r--r--korganizer/koeventviewer.cpp9
2 files changed, 16 insertions, 4 deletions
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
@@ -1572,14 +1572,25 @@
{ "<br>The calendar contains<br><b>%1 events<br>%2 todos<br>%3 journals</b>","<br>Der Kalender enthält<br><b>%1 Termine<br>%2 Todos<br>%3 Journale</b>" },
{ "Enable alarm in resource settings","Schalte Alarm in Resourcenansicht wieder an" },
{ "The alarm for this calendar\nis currently disabled!\nEnable it in resource settings.","Der Alarm für diesen Kalender\nist abgeschaltet.\nSchalten Sie ihn in der\nResourcenansicht ggf. an." },
{ "Alarm disabled warning","Nichtaktiver Alarm" },
{ "Pi-Sync - all calendars ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync - alle Kalender ( direktes Kx/Pi mit Kx/Pi syncen )" },
{ "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
@@ -174,17 +174,17 @@ void KOEventViewer::setSource(const QString& n)
if ( n.left(6) == "mailto" ) {
// qDebug("KOEventViewer::setSource %s ", n.mid(7).latin1());
//#ifndef DESKTOP_VERSION
if ( n.mid(7,3) == "ALL" ) {
mailToAttendees( true );
} 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);
}
//#endif
}
@@ -350,17 +350,17 @@ void KOEventViewer::appendEvent(Event *event, int mode )
.arg(event->dtStartTimeStr())
.arg(event->dtEndTimeStr()));
mText.append(i18n("<p><b>On:</b> %1</p> ")
.arg(event->dtStartDateStr( shortDate )));
}
}
if (!event->location().isEmpty()) {
addTag("p","<b>"+i18n("Location: ")+"</b>"+ deTag(event->location() ) );
- mMailSubject += i18n(" at ") + event->location();
+ mMailSubject += " (" + i18n("Location: ") + event->location() + ")";
}
if (event->doesRecur()) {
QString recurText = event->recurrenceText();
addTag("p","<em>" + i18n("This is a %1 recurring event.").arg(recurText ) + "</em>");
bool ok;
QDate start = QDate::currentDate();
QDateTime next;
@@ -509,23 +509,24 @@ void KOEventViewer::appendTodo(Todo *event, int mode )
QString recurText = event->recurrence()->recurrenceText();
addTag("p","<em>" + i18n("This is a %1 recurring todo.").arg(recurText ) + "</em>");
}
if (event->hasStartDate()) {
mText.append(i18n("<p><b>Start on:</b> %1</p>").arg(event->dtStartStr(KOPrefs::instance()->mShortDateInViewer)));
}
+ if (!event->location().isEmpty()) {
+ mMailSubject += " (" + i18n("Location: ") + event->location() + ")";
+ }
if (event->hasDueDate()) {
mText.append(i18n("<p><b>Due on:</b> %1</p>").arg(event->dtDueStr(KOPrefs::instance()->mShortDateInViewer)));
- mMailSubject += i18n(" - " )+event->dtDueStr( true );
}
if (!event->location().isEmpty()) {
addTag("p","<b>"+i18n("Location: ")+"</b>"+ deTag(event->location() ) );
- mMailSubject += i18n(" at ") + event->location();
}
mText.append(i18n("<p><b>Priority:</b> %2</p>")
.arg(QString::number(event->priority())));
if (event->isAlarmEnabled()) {
Alarm *alarm =event->alarms().first() ;
QDateTime t = alarm->time();
if (event->doesRecur()) {