author | zautrix <zautrix> | 2005-02-09 20:56:06 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-09 20:56:06 (UTC) |
commit | ab7725c4517a1f6c145075edcff0bdafe105f0ea (patch) (unidiff) | |
tree | e1a230bcb5c31ca695bbebc40ff80874f2f13380 | |
parent | a9eff860d8399a198a9fdc04e09ed369097fc745 (diff) | |
download | kdepimpi-ab7725c4517a1f6c145075edcff0bdafe105f0ea.zip kdepimpi-ab7725c4517a1f6c145075edcff0bdafe105f0ea.tar.gz kdepimpi-ab7725c4517a1f6c145075edcff0bdafe105f0ea.tar.bz2 |
fixes
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 4 | ||||
-rw-r--r-- | bin/kdepim/kaddressbook/germantranslation.txt | 29 | ||||
-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 40 | ||||
-rw-r--r-- | kaddressbook/kabcore.cpp | 3 | ||||
-rw-r--r-- | korganizer/calendarview.cpp | 3 | ||||
-rw-r--r-- | libkdepim/ksyncmanager.cpp | 11 | ||||
-rw-r--r-- | microkde/kdecore/klocale.cpp | 2 |
7 files changed, 83 insertions, 9 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 6ccf763..81b0d59 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -2,7 +2,9 @@ Info about the changes in new versions of KDE-Pim/Pi | |||
2 | 2 | ||
3 | ********** VERSION 2.0.6 ************ | 3 | ********** VERSION 2.0.6 ************ |
4 | 4 | ||
5 | Two bugfixes in the pi-sync mode. | 5 | Some bugfixes in the pi-sync mode. |
6 | Added German translation for pi-sync mode. | ||
7 | |||
6 | KO/Pi: | 8 | KO/Pi: |
7 | Made the todolist using alternate background. | 9 | Made the todolist using alternate background. |
8 | 10 | ||
diff --git a/bin/kdepim/kaddressbook/germantranslation.txt b/bin/kdepim/kaddressbook/germantranslation.txt index 57b2fda..5335f47 100644 --- a/bin/kdepim/kaddressbook/germantranslation.txt +++ b/bin/kdepim/kaddressbook/germantranslation.txt | |||
@@ -718,6 +718,35 @@ | |||
718 | { ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, | 718 | { ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, |
719 | { "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, | 719 | { "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, |
720 | { "Warning","Warnung" }, | 720 | { "Warning","Warnung" }, |
721 | { "Select week number","Wähle Wochen Nummer" }, | ||
722 | { "Februar","Februar" }, | ||
723 | { "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " }, | ||
724 | { "Password for remote access:","Passwort für fernen Zugriff:" }, | ||
725 | { "Remote IP address:","Ferne IP Adresse:" }, | ||
726 | { "Remote port number:","Ferne Port Nummer:" }, | ||
727 | { "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, | ||
728 | { "Remote from: ","Fern von: " }, | ||
729 | { "Local from: ","Lokal von: " }, | ||
730 | { "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisationsübersicht:\n\n %d lokal hinzugefügt\n %d fern hinzugefügt\n %d lokal geändert\n %d fern geändert\n %d lokal gelöscht\n %d fern gelöscht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" }, | ||
731 | { "Local calendar changed!\n","Lokaler Kalender geändert!\n" }, | ||
732 | { "Write back","Schreibe zurück" }, | ||
733 | { "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, | ||
734 | { "Received sync request","Sync Anfrage erhalten" }, | ||
735 | { "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschlägt kann\ndieser Dialog geschlossen werden." }, | ||
736 | { "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, | ||
737 | { "Data saved to temp file!","Daten in temp Datei gespeichert!" }, | ||
738 | { "Sending file...","Sende Datei..." }, | ||
739 | { "Waiting for synced file...","Warte auf gesyncte Daten..." }, | ||
740 | { "Receiving synced file...","Gesyncte Daten erhalten..." }, | ||
741 | { "Received %1 bytes","%1 Bytes erhalten" }, | ||
742 | { "Writing file to disk...","Speichere Datei..." }, | ||
743 | { "Pi-Sync successful!","Pi-Sync erfolgreich!" }, | ||
744 | { "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, | ||
745 | { "Synchronize!","Synchronisiere!" }, | ||
746 | { "High clock skew!","Großer Uhrzeitunterschied!" }, | ||
747 | { "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, | ||
748 | { "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" }, | ||
749 | { "","" }, | ||
721 | { "","" }, | 750 | { "","" }, |
722 | { "","" }, | 751 | { "","" }, |
723 | { "","" }, | 752 | { "","" }, |
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index 6587eaa..c85ca35 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt | |||
@@ -1235,6 +1235,46 @@ | |||
1235 | { ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, | 1235 | { ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, |
1236 | { "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, | 1236 | { "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, |
1237 | { "Warning","Warnung" }, | 1237 | { "Warning","Warnung" }, |
1238 | { "Select week number","Wähle Wochen Nummer" }, | ||
1239 | { "Februar","Februar" }, | ||
1240 | { "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" }, | ||
1241 | { "W","W" }, | ||
1242 | { "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" }, | ||
1243 | { "T: %1","T: %1" }, | ||
1244 | { "Start: ","Start: " }, | ||
1245 | { "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " }, | ||
1246 | { "Password for remote access:","Passwort für fernen Zugriff:" }, | ||
1247 | { "Remote IP address:","Ferne IP Adresse:" }, | ||
1248 | { "Remote port number:","Ferne Port Nummer:" }, | ||
1249 | { "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, | ||
1250 | { "Remote from: ","Fern von: " }, | ||
1251 | { "Local from: ","Lokal von: " }, | ||
1252 | { "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisationsübersicht:\n\n %d lokal hinzugefügt\n %d fern hinzugefügt\n %d lokal geändert\n %d fern geändert\n %d lokal gelöscht\n %d fern gelöscht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" }, | ||
1253 | { "Local calendar changed!\n","Lokaler Kalender geändert!\n" }, | ||
1254 | { "Write back","Schreibe zurück" }, | ||
1255 | { "KO/Pi Synchronization","KO/Pi Synchronisation" }, | ||
1256 | { "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, | ||
1257 | { "Received sync request","Sync Anfrage erhalten" }, | ||
1258 | { "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschlägt kann\ndieser Dialog geschlossen werden." }, | ||
1259 | { "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, | ||
1260 | { "Data saved to temp file!","Daten in temp Datei gespeichert!" }, | ||
1261 | { "Sending file...","Sende Datei..." }, | ||
1262 | { "Waiting for synced file...","Warte auf gesyncte Daten..." }, | ||
1263 | { "Receiving synced file...","Gesyncte Daten erhalten..." }, | ||
1264 | { "Received %1 bytes","%1 Bytes erhalten" }, | ||
1265 | { "Writing file to disk...","Speichere Datei..." }, | ||
1266 | { "Pi-Sync successful!","Pi-Sync erfolgreich!" }, | ||
1267 | { "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, | ||
1268 | { "Synchronize!","Synchronisiere!" }, | ||
1269 | { "High clock skew!","Großer Uhrzeitunterschied!" }, | ||
1270 | { "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, | ||
1271 | { "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" }, | ||
1272 | { "","" }, | ||
1273 | { "","" }, | ||
1274 | { "","" }, | ||
1275 | { "","" }, | ||
1276 | { "","" }, | ||
1277 | { "","" }, | ||
1238 | { "","" }, | 1278 | { "","" }, |
1239 | { "","" }, | 1279 | { "","" }, |
1240 | { "","" }, | 1280 | { "","" }, |
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index a8e4de5..1b17665 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -3134,7 +3134,8 @@ bool KABCore::synchronizeAddressbooks( KABC::AddressBook* local, KABC::AddressBo | |||
3134 | if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(this, mes, | 3134 | if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(this, mes, |
3135 | i18n("KA/Pi Synchronization"),i18n("Write back"))) { | 3135 | i18n("KA/Pi Synchronization"),i18n("Write back"))) { |
3136 | qDebug("KA: WB cancelled "); | 3136 | qDebug("KA: WB cancelled "); |
3137 | return false; | 3137 | syncManager->mWriteBackFile = false; |
3138 | return syncOK; | ||
3138 | } | 3139 | } |
3139 | } | 3140 | } |
3140 | return syncOK; | 3141 | return syncOK; |
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index a9de65a..7c8316f 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -1227,7 +1227,8 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int | |||
1227 | if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(this, mes, | 1227 | if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(this, mes, |
1228 | i18n("KO/Pi Synchronization"),i18n("Write back"))) { | 1228 | i18n("KO/Pi Synchronization"),i18n("Write back"))) { |
1229 | qDebug("KO: WB cancelled "); | 1229 | qDebug("KO: WB cancelled "); |
1230 | return false; | 1230 | mSyncManager->mWriteBackFile = false; |
1231 | return syncOK; | ||
1231 | } | 1232 | } |
1232 | } | 1233 | } |
1233 | return syncOK; | 1234 | return syncOK; |
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp index c8d0e0d..02e5587 100644 --- a/libkdepim/ksyncmanager.cpp +++ b/libkdepim/ksyncmanager.cpp | |||
@@ -1087,7 +1087,7 @@ void KSyncManager::deleteCommandSocket(KCommandSocket*s, int state) | |||
1087 | QTimer::singleShot( 1, this , SLOT ( readFileFromSocket())); | 1087 | QTimer::singleShot( 1, this , SLOT ( readFileFromSocket())); |
1088 | 1088 | ||
1089 | } else if ( state == KCommandSocket::successW ) { | 1089 | } else if ( state == KCommandSocket::successW ) { |
1090 | mParent->topLevelWidget()->setCaption( i18n("Pi-Sync succesful!") ); | 1090 | mParent->topLevelWidget()->setCaption( i18n("Pi-Sync successful!") ); |
1091 | mPisyncFinished = true; | 1091 | mPisyncFinished = true; |
1092 | } | 1092 | } |
1093 | 1093 | ||
@@ -1097,18 +1097,19 @@ void KSyncManager::deleteCommandSocket(KCommandSocket*s, int state) | |||
1097 | void KSyncManager::readFileFromSocket() | 1097 | void KSyncManager::readFileFromSocket() |
1098 | { | 1098 | { |
1099 | QString fileName = syncFileName(); | 1099 | QString fileName = syncFileName(); |
1100 | bool syncOK = true; | ||
1100 | mParent->topLevelWidget()->setCaption( i18n("Remote file saved to temp file.") ); | 1101 | mParent->topLevelWidget()->setCaption( i18n("Remote file saved to temp file.") ); |
1101 | if ( ! syncWithFile( fileName , true ) ) { | 1102 | if ( ! syncWithFile( fileName , true ) ) { |
1102 | mParent->topLevelWidget()->setCaption( i18n("Syncing failed.") ); | 1103 | mParent->topLevelWidget()->setCaption( i18n("Syncing failed.") ); |
1103 | mPisyncFinished = true; | 1104 | syncOK = false; |
1104 | return; | ||
1105 | } | 1105 | } |
1106 | KCommandSocket* commandSocket = new KCommandSocket( mPassWordPiSync, mActiveSyncPort.toUInt(), mActiveSyncIP, this, mParent->topLevelWidget() ); | 1106 | KCommandSocket* commandSocket = new KCommandSocket( mPassWordPiSync, mActiveSyncPort.toUInt(), mActiveSyncIP, this, mParent->topLevelWidget() ); |
1107 | connect( commandSocket, SIGNAL(commandFinished( KCommandSocket*, int)), this, SLOT(deleteCommandSocket(KCommandSocket*, int )) ); | 1107 | connect( commandSocket, SIGNAL(commandFinished( KCommandSocket*, int)), this, SLOT(deleteCommandSocket(KCommandSocket*, int )) ); |
1108 | if ( mWriteBackFile ) | 1108 | if ( mWriteBackFile && syncOK ) |
1109 | commandSocket->writeFile( fileName ); | 1109 | commandSocket->writeFile( fileName ); |
1110 | else { | 1110 | else { |
1111 | commandSocket->sendStop(); | 1111 | commandSocket->sendStop(); |
1112 | if ( syncOK ) | ||
1112 | mParent->topLevelWidget()->setCaption( i18n("Pi-Sync succesful!") ); | 1113 | mParent->topLevelWidget()->setCaption( i18n("Pi-Sync succesful!") ); |
1113 | mPisyncFinished = true; | 1114 | mPisyncFinished = true; |
1114 | } | 1115 | } |
@@ -1224,7 +1225,7 @@ void KServerSocket::send_file() | |||
1224 | if ( secs > 180 ) | 1225 | if ( secs > 180 ) |
1225 | { | 1226 | { |
1226 | if ( secs > 300 ) { | 1227 | if ( secs > 300 ) { |
1227 | if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(0, i18n("The clocks of the syncing\ndevices have a difference\n of more than 5 minutes.\nPlease adjust your clocks.\n<b>You may get wrong syncing results!<\b>\nPlease confirm synchronization!"), i18n("High clock skew!"),i18n("Synchronize!"))) { | 1228 | if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(0, i18n("The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!"), i18n("High clock skew!"),i18n("Synchronize!"))) { |
1228 | qDebug("KSS::Sync cancelled ,cs"); | 1229 | qDebug("KSS::Sync cancelled ,cs"); |
1229 | return ; | 1230 | return ; |
1230 | } | 1231 | } |
diff --git a/microkde/kdecore/klocale.cpp b/microkde/kdecore/klocale.cpp index 7f31ab1..aec74fa 100644 --- a/microkde/kdecore/klocale.cpp +++ b/microkde/kdecore/klocale.cpp | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | #include <qstringlist.h> | 9 | #include <qstringlist.h> |
10 | 10 | ||
11 | //#define COLLECT_TRANSLATION | 11 | #define COLLECT_TRANSLATION |
12 | 12 | ||
13 | 13 | ||
14 | QDict<QString> *mLocaleDict = 0; | 14 | QDict<QString> *mLocaleDict = 0; |