author | zautrix <zautrix> | 2004-10-08 15:50:30 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-08 15:50:30 (UTC) |
commit | 13bd085e06b76228321f5a004759fcdf19cca711 (patch) (unidiff) | |
tree | 66edb5db035dc88a13ff1ec9b840c549a7e81104 | |
parent | d46e6bd77c336ce98bafe884a3f7ee5b0d884f1f (diff) | |
download | kdepimpi-13bd085e06b76228321f5a004759fcdf19cca711.zip kdepimpi-13bd085e06b76228321f5a004759fcdf19cca711.tar.gz kdepimpi-13bd085e06b76228321f5a004759fcdf19cca711.tar.bz2 |
fix loading translation
-rw-r--r-- | bin/kdepim/korganizer/usertranslation.txt | 2 | ||||
-rw-r--r-- | korganizer/koprefs.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/kdepim/korganizer/usertranslation.txt b/bin/kdepim/korganizer/usertranslation.txt index c9107e2..13ed7b8 100644 --- a/bin/kdepim/korganizer/usertranslation.txt +++ b/bin/kdepim/korganizer/usertranslation.txt | |||
@@ -427,423 +427,423 @@ | |||
427 | { "Unknown","Unbekannt" }, | 427 | { "Unknown","Unbekannt" }, |
428 | { "Up","Hinauf" }, | 428 | { "Up","Hinauf" }, |
429 | { "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" }, | 429 | { "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" }, |
430 | { "User defined","Benutzerdefiniert" }, | 430 | { "User defined","Benutzerdefiniert" }, |
431 | { "User long date:","Format langes Datum:" }, | 431 | { "User long date:","Format langes Datum:" }, |
432 | { "User short date:","Forma kurzes Datum:" }, | 432 | { "User short date:","Forma kurzes Datum:" }, |
433 | { "View","Ansicht" }, | 433 | { "View","Ansicht" }, |
434 | { "View Fonts","Schriftarten Ansichten" }, | 434 | { "View Fonts","Schriftarten Ansichten" }, |
435 | { "Views","Ansichten" }, | 435 | { "Views","Ansichten" }, |
436 | { "Wed","Mi" }, | 436 | { "Wed","Mi" }, |
437 | { "Wednesday","Mittwoch" }, | 437 | { "Wednesday","Mittwoch" }, |
438 | { "Week %1","Woche %1" }, | 438 | { "Week %1","Woche %1" }, |
439 | { "Weekly","Wöchentlich" }, | 439 | { "Weekly","Wöchentlich" }, |
440 | { "Week starts on Sunday","Woche beginnt Sonntags" }, | 440 | { "Week starts on Sunday","Woche beginnt Sonntags" }, |
441 | { "What's Next View:","What's Next Anz." }, | 441 | { "What's Next View:","What's Next Anz." }, |
442 | { "What's next ?","Was kommt als nächstes?(What's Next)" }, | 442 | { "What's next ?","Was kommt als nächstes?(What's Next)" }, |
443 | { "Working Hours","Tägliche Arbeitszeit" }, | 443 | { "Working Hours","Tägliche Arbeitszeit" }, |
444 | { "Working hours color:","Arbeitszeit in der Agenda Ansicht:" }, | 444 | { "Working hours color:","Arbeitszeit in der Agenda Ansicht:" }, |
445 | { "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" }, | 445 | { "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" }, |
446 | { "Write back synced file","Syncronisierte Datei zurückschreiben" }, | 446 | { "Write back synced file","Syncronisierte Datei zurückschreiben" }, |
447 | { "Yearly","Jährlich" }, | 447 | { "Yearly","Jährlich" }, |
448 | { "year(s)","Jahr(e)" }, | 448 | { "year(s)","Jahr(e)" }, |
449 | { "Yes","Ja" }, | 449 | { "Yes","Ja" }, |
450 | { "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" }, | 450 | { "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" }, |
451 | { "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." }, | 451 | { "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." }, |
452 | { "week(s) on:","Woche(n) am: " }, | 452 | { "week(s) on:","Woche(n) am: " }, |
453 | { "Full menu bar(nr)","Volle Menuleiste(bn)" }, | 453 | { "Full menu bar(nr)","Volle Menuleiste(bn)" }, |
454 | { "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, | 454 | { "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, |
455 | { "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der Sonntag\nvor diesem Datum!" }, | 455 | { "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der Sonntag\nvor diesem Datum!" }, |
456 | { "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, | 456 | { "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, |
457 | { "Daylight start:","Sommerzeit Beginn:" }, | 457 | { "Daylight start:","Sommerzeit Beginn:" }, |
458 | { "Daylight end:","Sommerzeit Ende:" }, | 458 | { "Daylight end:","Sommerzeit Ende:" }, |
459 | { "Time Zone","Zeitzone" }, | 459 | { "Time Zone","Zeitzone" }, |
460 | { "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, | 460 | { "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, |
461 | { "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" }, | 461 | { "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" }, |
462 | { "minutely","minütlich" }, | 462 | { "minutely","minütlich" }, |
463 | { "hourly","stündlich" }, | 463 | { "hourly","stündlich" }, |
464 | { "daily","täglich" }, | 464 | { "daily","täglich" }, |
465 | { "weekly","wöchentlich" }, | 465 | { "weekly","wöchentlich" }, |
466 | { "monthly","monatlich" }, | 466 | { "monthly","monatlich" }, |
467 | { "day-monthly","tag-monatlich" }, | 467 | { "day-monthly","tag-monatlich" }, |
468 | { "month-yearly","monat-jährlich" }, | 468 | { "month-yearly","monat-jährlich" }, |
469 | { "day-yearly","tag-jährlich" }, | 469 | { "day-yearly","tag-jährlich" }, |
470 | { "position-yearly","pos-jährlich" }, | 470 | { "position-yearly","pos-jährlich" }, |
471 | { "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" }, | 471 | { "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" }, |
472 | { "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" }, | 472 | { "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" }, |
473 | { "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" }, | 473 | { "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" }, |
474 | { "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" }, | 474 | { "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" }, |
475 | { "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" }, | 475 | { "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" }, |
476 | { "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." }, | 476 | { "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." }, |
477 | { "Event list view uses full window","Listenansicht nutzt Vollbild" }, | 477 | { "Event list view uses full window","Listenansicht nutzt Vollbild" }, |
478 | { "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" }, | 478 | { "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" }, |
479 | { "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" }, | 479 | { "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" }, |
480 | { "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" }, | 480 | { "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" }, |
481 | { "ViewChange","Ansichtswechsel" }, | 481 | { "ViewChange","Ansichtswechsel" }, |
482 | { "Default alarm *.wav file:","Standard Alarm *.wav Datei:" }, | 482 | { "Default alarm *.wav file:","Standard Alarm *.wav Datei:" }, |
483 | { "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" }, | 483 | { "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" }, |
484 | { "File","Datei" }, | 484 | { "File","Datei" }, |
485 | { "Clone...","Dupliziere.." }, | 485 | { "Clone...","Dupliziere.." }, |
486 | { "Move...","Bewege..." }, | 486 | { "Move...","Bewege..." }, |
487 | { "Beam...","Sende via IR..." }, | 487 | { "Beam...","Sende via IR..." }, |
488 | { "&Clone...","Dupliziere.." }, | 488 | { "&Clone...","Dupliziere.." }, |
489 | { "&Move...","Bewege..." }, | 489 | { "&Move...","Bewege..." }, |
490 | { "&Beam...","Sende via IR..." }, | 490 | { "&Beam...","Sende via IR..." }, |
491 | { "Show Completed","Zeige erledigte Todos" }, | 491 | { "Show Completed","Zeige erledigte Todos" }, |
492 | { "Show Quick Todo","Zeige Quick Todo" }, | 492 | { "Show Quick Todo","Zeige Quick Todo" }, |
493 | { "Unparent Todo","Un-sub Todo" }, | 493 | { "Unparent Todo","Un-sub Todo" }, |
494 | { "Save selected to file...","Speichere Selektierte..." }, | 494 | { "Save selected to file...","Speichere Selektierte..." }, |
495 | { "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." }, | 495 | { "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." }, |
496 | { "Set Categ. for selected...","Setze Kateg. für Selekt." }, | 496 | { "Set Categ. for selected...","Setze Kateg. für Selekt." }, |
497 | { "Beam selected via IR","Sende Selekt. via IR..." }, | 497 | { "Beam selected via IR","Sende Selekt. via IR..." }, |
498 | { "Search","Suchen" }, | 498 | { "Search","Suchen" }, |
499 | { "Date Picker","Datum auswählen" }, | 499 | { "Date Picker","Datum auswählen" }, |
500 | { "Day View","Tagesansicht" }, | 500 | { "Day View","Tagesansicht" }, |
501 | { "Work Week","Arbeitswoche" }, | 501 | { "Work Week","Arbeitswoche" }, |
502 | { "Week","Wochenansicht" }, | 502 | { "Week","Wochenansicht" }, |
503 | { "Month","Monatsansicht" }, | 503 | { "Month","Monatsansicht" }, |
504 | { "Todo View","Todo Liste" }, | 504 | { "Todo View","Todo Liste" }, |
505 | { "Journal","Journal Ansicht" }, | 505 | { "Journal","Journal Ansicht" }, |
506 | { "Next days","Nächste Tage" }, | 506 | { "Next days","Nächste Tage" }, |
507 | { "Print agenda selection...","Drucke Agendaselektion..." }, | 507 | { "Print agenda selection...","Drucke Agendaselektion..." }, |
508 | { "Toggle DateNavigator","Navigator umschalten" }, | 508 | { "Toggle DateNavigator","Navigator umschalten" }, |
509 | { "Toggle FilterView","Filteransicht umschalten" }, | 509 | { "Toggle FilterView","Filteransicht umschalten" }, |
510 | { "Prev. month","Vorheriger Monat" }, | 510 | { "Prev. month","Vorheriger Monat" }, |
511 | { "Go backward","Gehe zurück" }, | 511 | { "Go backward","Gehe zurück" }, |
512 | { "Go forward","Gehe weiter" }, | 512 | { "Go forward","Gehe weiter" }, |
513 | { "Synchronize","Synchronisieren" }, | 513 | { "Synchronize","Synchronisieren" }, |
514 | { "AgendaSize","Agendagröße" }, | 514 | { "AgendaSize","Agendagröße" }, |
515 | { "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" }, | 515 | { "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" }, |
516 | { "Import last file","Importiere letzte Datei" }, | 516 | { "Import last file","Importiere letzte Datei" }, |
517 | { "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." }, | 517 | { "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." }, |
518 | { "Load Calendar Backup","Lade Kalender Backup" }, | 518 | { "Load Calendar Backup","Lade Kalender Backup" }, |
519 | { "Save Calendar Backup","Speichere Kalender Backup" }, | 519 | { "Save Calendar Backup","Speichere Kalender Backup" }, |
520 | { "Export VCalendar","Exportiere VCalendar" }, | 520 | { "Export VCalendar","Exportiere VCalendar" }, |
521 | { "Manage new categories...","Verwalte neue Kategorien..." }, | 521 | { "Manage new categories...","Verwalte neue Kategorien..." }, |
522 | { "Beam complete calendar...","Sende kompletten Kalender via IR" }, | 522 | { "Beam complete calendar...","Sende kompletten Kalender via IR" }, |
523 | { "Beam filtered calendar...","Sende gefilterten Kalender via IR" }, | 523 | { "Beam filtered calendar...","Sende gefilterten Kalender via IR" }, |
524 | { "Remote via ssh","Über Netzwerk via ssh" }, | 524 | { "Remote via ssh","Über Netzwerk via ssh" }, |
525 | { "With local file","Mit lokaler Datei" }, | 525 | { "With local file","Mit lokaler Datei" }, |
526 | { "With last file","Mit letzter Datei" }, | 526 | { "With last file","Mit letzter Datei" }, |
527 | { "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" }, | 527 | { "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" }, |
528 | { "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" }, | 528 | { "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" }, |
529 | { "Save filename","Speichern: Dateinamen wählen" }, | 529 | { "Save filename","Speichern: Dateinamen wählen" }, |
530 | { "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" }, | 530 | { "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" }, |
531 | { "KO/Pi: Warning!","KO/Pi: Warnung!" }, | 531 | { "KO/Pi: Warning!","KO/Pi: Warnung!" }, |
532 | { "Overwrite!","Überschreibe!" }, | 532 | { "Overwrite!","Überschreibe!" }, |
533 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, | 533 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, |
534 | { "All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n","Alle selektierten Einträge werden\nunwiederbringlich gelöscht.\n(Löschen kann auf dem\nPDA einige Zeit dauern)\n" }, | 534 | { "All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n","Alle selektierten Einträge werden\nunwiederbringlich gelöscht.\n(Löschen kann auf dem\nPDA einige Zeit dauern)\n" }, |
535 | { "KO/Pi Confirmation","KO/Pi Bestätigung" }, | 535 | { "KO/Pi Confirmation","KO/Pi Bestätigung" }, |
536 | { "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" }, | 536 | { "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" }, |
537 | { "Deleting item %d ...","Lösche Eintrag %d ..." }, | 537 | { "Deleting item %d ...","Lösche Eintrag %d ..." }, |
538 | { "%d items remaining in list.","%d Einträge sind in der Liste verblieben." }, | 538 | { "%d items remaining in list.","%d Einträge sind in der Liste verblieben." }, |
539 | { "Size","Größe" }, | 539 | { "Size","Größe" }, |
540 | { "Date","Datum" }, | 540 | { "Date","Datum" }, |
541 | { "Mime Type","Datei Typ" }, | 541 | { "Mime Type","Datei Typ" }, |
542 | { "All Files","Alle Dateien" }, | 542 | { "All Files","Alle Dateien" }, |
543 | { "Files","Dateien" }, | 543 | { "Files","Dateien" }, |
544 | { "Documents","DoKumente" }, | 544 | { "Documents","DoKumente" }, |
545 | { "Select Categories","Selektiere Kategorien" }, | 545 | { "Select Categories","Selektiere Kategorien" }, |
546 | { " &Deselect All "," Auswahl aufheben " }, | 546 | { " &Deselect All "," Auswahl aufheben " }, |
547 | { "A&dd","Hinzu" }, | 547 | { "A&dd","Hinzu" }, |
548 | { "&Modify","Ändern" }, | 548 | { "&Modify","Ändern" }, |
549 | { "Edit Categories","Editiere Kategorien" }, | 549 | { "Edit Categories","Editiere Kategorien" }, |
550 | { " &Edit Categories "," &Editiere Kategorien " }, | 550 | { " &Edit Categories "," &Editiere Kategorien " }, |
551 | { "Beam Options","Beam Einstellungen" }, | 551 | { "Beam Options","Beam Einstellungen" }, |
552 | { " With timezone "," Mit Zeitzone " }, | 552 | { " With timezone "," Mit Zeitzone " }, |
553 | { " Local time ", " Lokale Zeit " }, | 553 | { " Local time ", " Lokale Zeit " }, |
554 | { "Manage new Categories","Verwalte neue Kategorien" }, | 554 | { "Manage new Categories","Verwalte neue Kategorien" }, |
555 | { "Add to category list","Füge zur Kategorieliste hinzu" }, | 555 | { "Add to category list","Füge zur Kategorieliste hinzu" }, |
556 | { "Remove from Events/Todos","Entferne von Terminen/Todos" }, | 556 | { "Remove from Events/Todos","Entferne von Terminen/Todos" }, |
557 | { "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " }, | 557 | { "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " }, |
558 | { "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, | 558 | { "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, |
559 | { "File format","Datei Format" }, | 559 | { "File format","Datei Format" }, |
560 | { "Time format","Zeit Format" }, | 560 | { "Time format","Zeit Format" }, |
561 | { "Delete all\ncompleted To-Dos?","Lösche alle\nerledigten To-Dos?" }, | 561 | { "Delete all\ncompleted To-Dos?","Lösche alle\nerledigten To-Dos?" }, |
562 | { "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." }, | 562 | { "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." }, |
563 | { "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" }, | 563 | { "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" }, |
564 | { "h","Std" }, | 564 | { "h","Std" }, |
565 | { "min","Min" }, | 565 | { "min","Min" }, |
566 | { "hou","Std" }, | 566 | { "hou","Std" }, |
567 | { "day","Tag" }, | 567 | { "day","Tag" }, |
568 | { "French(nyi)","Französich (noch nicht implementiert)" }, | 568 | { "French(nyi)","Französich (noch nicht implementiert)" }, |
569 | { "Time","Zeit" }, | 569 | { "Time","Zeit" }, |
570 | { "Event Viewer","Termin Ansicht" }, | 570 | { "Event Viewer","Termin Ansicht" }, |
571 | { "Cancel Sync","Sync Abbrechen" }, | 571 | { "Cancel Sync","Sync Abbrechen" }, |
572 | { "Remote","Fern" }, | 572 | { "Remote","Fern" }, |
573 | { "Local","Lokal" }, | 573 | { "Local","Lokal" }, |
574 | { "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" }, | 574 | { "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" }, |
575 | { "Local: ","Lokal: " }, | 575 | { "Local: ","Lokal: " }, |
576 | { "Remote: ","Fern: " }, | 576 | { "Remote: ","Fern: " }, |
577 | { "Last modified: ","Zuletzt geändert: " }, | 577 | { "Last modified: ","Zuletzt geändert: " }, |
578 | { "Location: ","Ort: " }, | 578 | { "Location: ","Ort: " }, |
579 | { "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" }, | 579 | { "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" }, |
580 | { "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" }, | 580 | { "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" }, |
581 | { "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " }, | 581 | { "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " }, |
582 | { "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" }, | 582 | { "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" }, |
583 | { "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " }, | 583 | { "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " }, |
584 | { "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" }, | 584 | { "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" }, |
585 | { "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." }, | 585 | { "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." }, |
586 | { "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" }, | 586 | { "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" }, |
587 | { "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" }, | 587 | { "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" }, |
588 | { "( %1 min before )","( %1 min vorher )" }, | 588 | { "( %1 min before )","( %1 min vorher )" }, |
589 | { "<b>Alarm on: ","<b>Alarm am: " }, | 589 | { "<b>Alarm on: ","<b>Alarm am: " }, |
590 | { "<b>Details: </b>","<b>Details: </b>" }, | 590 | { "<b>Details: </b>","<b>Details: </b>" }, |
591 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, | 591 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, |
592 | { "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" }, | 592 | { "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" }, |
593 | { "Organizer","Organisator" }, | 593 | { "Organizer","Organisator" }, |
594 | { "Save","Speichern" }, | 594 | { "Save","Speichern" }, |
595 | { "Exit (+save)","Beenden (+ speichern)" }, | 595 | { "Exit (+save)","Beenden (+ speichern)" }, |
596 | { "Home","Zuhause" }, | 596 | { "Home","Zuhause" }, |
597 | { "Office","Büro" }, | 597 | { "Office","Büro" }, |
598 | { "Libary","Bücherei" }, | 598 | { "Libary","Bücherei" }, |
599 | { "Doctor","Arzt" }, | 599 | { "Doctor","Arzt" }, |
600 | { "Beach","Strand" }, | 600 | { "Beach","Strand" }, |
601 | { "Conference room","Konferenzraum" }, | 601 | { "Conference room","Konferenzraum" }, |
602 | { "Drive Home","Heimfahrt" }, | 602 | { "Drive Home","Heimfahrt" }, |
603 | { "Watch TV","Tv gucken" }, | 603 | { "Watch TV","Tv gucken" }, |
604 | { "Phone call","Telefonanruf" }, | 604 | { "Phone call","Telefonanruf" }, |
605 | { "Pay bill","Rechnung bezahlen" }, | 605 | { "Pay bill","Rechnung bezahlen" }, |
606 | { "Read book","Buch lesen" }, | 606 | { "Read book","Buch lesen" }, |
607 | { "Watering plants","Pflanzen giessen" }, | 607 | { "Watering plants","Pflanzen giessen" }, |
608 | {"Appointment","Verabredung" }, | 608 | {"Appointment","Verabredung" }, |
609 | {"Birthday","Geburtstag" }, | 609 | {"Birthday","Geburtstag" }, |
610 | {"Business","Geschäft" }, | 610 | {"Business","Geschäft" }, |
611 | {"Business Travel","Geschäftsreise" }, | 611 | {"Business Travel","Geschäftsreise" }, |
612 | {"Cinema","Kino" }, | 612 | {"Cinema","Kino" }, |
613 | {"Customer","Kunde" }, | 613 | {"Customer","Kunde" }, |
614 | {"Break","Pause" }, | 614 | {"Break","Pause" }, |
615 | {"Breakfast","Frühstück" }, | 615 | {"Breakfast","Frühstück" }, |
616 | {"Competition","Wettkampf" }, | 616 | {"Competition","Wettkampf" }, |
617 | {"Dinner","Abendessen" }, | 617 | {"Dinner","Abendessen" }, |
618 | {"Education","Erziehung" }, | 618 | {"Education","Erziehung" }, |
619 | {"Family","Familie" }, | 619 | {"Family","Familie" }, |
620 | {"Favorites","Favoriten" }, | 620 | {"Favorites","Favoriten" }, |
621 | {"Festival","Festival" }, | 621 | {"Festival","Festival" }, |
622 | {"Fishing","Angeln" }, | 622 | {"Fishing","Angeln" }, |
623 | {"Flight","Flug" }, | 623 | {"Flight","Flug" }, |
624 | {"Gifts","Geschenk" }, | 624 | {"Gifts","Geschenk" }, |
625 | {"Holiday","Feiertag" }, | 625 | {"Holiday","Feiertag" }, |
626 | {"Holiday Cards","Ansichtskarten" }, | 626 | {"Holiday Cards","Ansichtskarten" }, |
627 | {"Hot Contacts","Heisse Kontakte" }, | 627 | {"Hot Contacts","Heisse Kontakte" }, |
628 | {"Hiking","Wandern" }, | 628 | {"Hiking","Wandern" }, |
629 | {"Hunting","Jagen" }, | 629 | {"Hunting","Jagen" }, |
630 | {"Key Customer","Wichtiger Kunde" }, | 630 | {"Key Customer","Wichtiger Kunde" }, |
631 | {"Kids","Kinder" }, | 631 | {"Kids","Kinder" }, |
632 | {"Lunch","Mittagessen" }, | 632 | {"Lunch","Mittagessen" }, |
633 | {"Meeting","Treffen" }, | 633 | {"Meeting","Treffen" }, |
634 | {"Miscellaneous","Verschiedenes" }, | 634 | {"Miscellaneous","Verschiedenes" }, |
635 | {"Partner","Partner" }, | 635 | {"Partner","Partner" }, |
636 | {"Party","Partie" }, | 636 | {"Party","Partie" }, |
637 | {"Personal","Privat" }, | 637 | {"Personal","Privat" }, |
638 | {"Personal Travel","Privatreise"}, | 638 | {"Personal Travel","Privatreise"}, |
639 | {"PHB","PHB" }, | 639 | {"PHB","PHB" }, |
640 | {"Phone Calls","Telefonanruf" }, | 640 | {"Phone Calls","Telefonanruf" }, |
641 | {"Projects","Projekt" }, | 641 | {"Projects","Projekt" }, |
642 | {"Recurring","Wiederholend" }, | 642 | {"Recurring","Wiederholend" }, |
643 | {"School","Schule" }, | 643 | {"School","Schule" }, |
644 | {"Shopping","Einkaufen" }, | 644 | {"Shopping","Einkaufen" }, |
645 | {"Speach","Rede" }, | 645 | {"Speach","Rede" }, |
646 | {"Special Occasion","Spez.Gelegenheit" }, | 646 | {"Special Occasion","Spez.Gelegenheit" }, |
647 | {"Sports","Sport" }, | 647 | {"Sports","Sport" }, |
648 | {"Talk","Vortrag" }, | 648 | {"Talk","Vortrag" }, |
649 | {"Travel","Reise" }, | 649 | {"Travel","Reise" }, |
650 | {"TV","TV" }, | 650 | {"TV","TV" }, |
651 | {"Germany","Deutschland" }, | 651 | {"Germany","Deutschland" }, |
652 | {"Sweden","Schweden" }, | 652 | {"Sweden","Schweden" }, |
653 | {"Forest","Wald" }, | 653 | {"Forest","Wald" }, |
654 | { "Desert","Wüste" }, | 654 | { "Desert","Wüste" }, |
655 | { "Kitchen","Küche" }, | 655 | { "Kitchen","Küche" }, |
656 | { "Lake","See" }, | 656 | { "Lake","See" }, |
657 | {"University","Universität"}, | 657 | {"University","Universität"}, |
658 | {"Vacation","Urlaub" }, | 658 | {"Vacation","Urlaub" }, |
659 | {"VIP","VIP" }, | 659 | {"VIP","VIP" }, |
660 | { "Import Sharp Calendar","Importiere Sharp Kalender" }, | 660 | { "Import Sharp Calendar","Importiere Sharp Kalender" }, |
661 | { "This todo has been cancelled!","Dieses Todo wurde gecancelt!" }, | 661 | { "This todo has been cancelled!","Dieses Todo wurde gecancelt!" }, |
662 | { "This event has been cancelled!","Dieser Termin wurde gecancelt!" }, | 662 | { "This event has been cancelled!","Dieser Termin wurde gecancelt!" }, |
663 | { "Cancelled","Gecancelt" }, | 663 | { "Cancelled","Gecancelt" }, |
664 | { "Multiple sync","Mehrfach Sync" }, | 664 | { "Multiple sync","Mehrfach Sync" }, |
665 | { "Local file","Lokale Datei" }, | 665 | { "Local file","Lokale Datei" }, |
666 | { "Last file","Letzte Datei" }, | 666 | { "Last file","Letzte Datei" }, |
667 | { "Keys + Colors...","Tasten + Farben..." }, | 667 | { "Keys + Colors...","Tasten + Farben..." }, |
668 | { "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" }, | 668 | { "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" }, |
669 | { "Quick save(w/o Unicode)","Schnelles Speichern (o Unicode)" }, | 669 | { "Quick save(w/o Unicode)","Schnelles Speichern (o Unicode)" }, |
670 | { "Choose...","Wähle..." }, | 670 | { "Choose...","Wähle..." }, |
671 | { "Use colors for application:","Setze Farben für Programm:" }, | 671 | { "Use colors for application:","Setze Farben für Programm:" }, |
672 | { "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" }, | 672 | { "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" }, |
673 | { "Frames, labels, etc.:","Rahmen, Label, etc.:" }, | 673 | { "Frames, labels, etc.:","Rahmen, Label, etc.:" }, |
674 | { "Show parent To-Do's in What's Next view","Zeige Ober-Todo in What's Next Anz." }, | 674 | { "Show parent To-Do's in What's Next view","Zeige Ober-Todo in What's Next Anz." }, |
675 | { "Show location in What's Next view","Zeige Ort in What's Next Anz." }, | 675 | { "Show location in What's Next view","Zeige Ort in What's Next Anz." }, |
676 | { "Show events that recur ","Zeige Termine, die sich wiederholen:" }, | 676 | { "Show events that recur ","Zeige Termine, die sich wiederholen:" }, |
677 | { "Show in every cell ","Zeige in jeder Zelle " }, | 677 | { "Show in every cell ","Zeige in jeder Zelle " }, |
678 | { "short month","kurzen Monat" }, | 678 | { "short month","kurzen Monat" }, |
679 | { "icons","Icons" }, | 679 | { "icons","Icons" }, |
680 | { "Show Sat/Sun together","Zeige Sam/Son zusammen" }, | 680 | { "Show Sat/Sun together","Zeige Sam/Son zusammen" }, |
681 | { "Categorie colors are applied to text","Kategorie Farben färben Text" }, | 681 | { "Categorie colors are applied to text","Kategorie Farben färben Text" }, |
682 | { "Month view uses day colors","Monatsansicht zeigt Tagesfarben" }, | 682 | { "Month view uses day colors","Monatsansicht zeigt Tagesfarben" }, |
683 | { "Day color odd months","Tagesfarbe ungerade Monate" }, | 683 | { "Day color odd months","Tagesfarbe ungerade Monate" }, |
684 | { "Day color even months","Tagesfarbe gerade Monate" }, | 684 | { "Day color even months","Tagesfarbe gerade Monate" }, |
685 | { "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" }, | 685 | { "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" }, |
686 | { "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" }, | 686 | { "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" }, |
687 | { "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" }, | 687 | { "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" }, |
688 | { "Colors are applied to text","Farben werden auf Text angewendet" }, | 688 | { "Colors are applied to text","Farben werden auf Text angewendet" }, |
689 | { "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" }, | 689 | { "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" }, |
690 | { "Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n","Achtung: KO/Pi muß ausgeführt werden damit die Benachrichtigung funktioniert. Empfehlung für Zaurus: Diese Option nicht wählen und KO/Pi Alarm Applet installieren.\n" }, | 690 | { "Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n","Achtung: KO/Pi muß ausgeführt werden damit die Benachrichtigung funktioniert. Empfehlung für Zaurus: Diese Option nicht wählen und KO/Pi Alarm Applet installieren.\n" }, |
691 | { "Play beeps count:","Anzahl der Alarmpiepse: " }, | 691 | { "Play beeps count:","Anzahl der Alarmpiepse: " }, |
692 | { "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " }, | 692 | { "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " }, |
693 | { "Default suspend time in min:","Standard Supendierungs Zeit: " }, | 693 | { "Default suspend time in min:","Standard Supendierungs Zeit: " }, |
694 | { "Auto suspend count:","Anzahl der auto Suspendierungen" }, | 694 | { "Auto suspend count:","Anzahl der auto Suspendierungen" }, |
695 | { "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" }, | 695 | { "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" }, |
696 | { "New profile","Neues Profil" }, | 696 | { "New profile","Neues Profil" }, |
697 | { "Clone profile","Klone Profil" }, | 697 | { "Clone profile","Klone Profil" }, |
698 | { "Delete profile","Lösche Profil" }, | 698 | { "Delete profile","Lösche Profil" }, |
699 | { "Profile:","Profil:" }, | 699 | { "Profile:","Profil:" }, |
700 | { "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" }, | 700 | { "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" }, |
701 | { "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, | 701 | { "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, |
702 | { "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, | 702 | { "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, |
703 | { "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, | 703 | { "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, |
704 | { "Write back file","Schreibe Datei zurück" }, | 704 | { "Write back file","Schreibe Datei zurück" }, |
705 | { "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, | 705 | { "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, |
706 | { "Pre sync (download) command:","Bevor Sync (download) Kommando:" }, | 706 | { "Pre sync (download) command:","Bevor Sync (download) Kommando:" }, |
707 | { "Local device name:","Name dieses Gerätes:" }, | 707 | { "Local device name:","Name dieses Gerätes:" }, |
708 | { "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" }, | 708 | { "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" }, |
709 | { "Sync preferences","Synchronisations Einstellungen" }, | 709 | { "Sync preferences","Synchronisations Einstellungen" }, |
710 | { "Profile kind","Profil Art" }, | 710 | { "Profile kind","Profil Art" }, |
711 | { "Local file","Lokale Datei" }, | 711 | { "Local file","Lokale Datei" }, |
712 | { "Local file:","Lokale Datei:" }, | 712 | { "Local file:","Lokale Datei:" }, |
713 | { "Post sync (upload) command:","Nach Sync (upload) Kommando:" }, | 713 | { "Post sync (upload) command:","Nach Sync (upload) Kommando:" }, |
714 | { "Fill in default values for:","Setze Beispiel Werte ein für:" }, | 714 | { "Fill in default values for:","Setze Beispiel Werte ein für:" }, |
715 | { "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" }, | 715 | { "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" }, |
716 | { "Synchronization Preferences","Einstellungen der Synchronisationsprofile"}, | 716 | { "Synchronization Preferences","Einstellungen der Synchronisationsprofile"}, |
717 | { "Device","Gerät:" }, | 717 | { "Device","Gerät:" }, |
718 | { "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" }, | 718 | { "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" }, |
719 | { "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","Synchronisationsübersicht:\n\n %d items lokal hinzugefügt\n %d items entfernt hinzugefügt\n %d items lokal geändert\n %d items entfernt geändert\n %d items lokal gelöscht\n %d items entfernt gelöscht\n" }, | 719 | { "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","Synchronisationsübersicht:\n\n %d items lokal hinzugefügt\n %d items entfernt hinzugefügt\n %d items lokal geändert\n %d items entfernt geändert\n %d items lokal gelöscht\n %d items entfernt gelöscht\n" }, |
720 | { "Synchronization successful","Synchronisation erfolgreich" }, | 720 | { "Synchronization successful","Synchronisation erfolgreich" }, |
721 | { "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." }, | 721 | { "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." }, |
722 | { "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" }, | 722 | { "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" }, |
723 | { "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" }, | 723 | { "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" }, |
724 | { "Enter password","Passwort eingeben" }, | 724 | { "Enter password","Passwort eingeben" }, |
725 | { "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" }, | 725 | { "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" }, |
726 | { "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." }, | 726 | { "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." }, |
727 | { "Sorry, the copy command failed!\nCommand was:\n%1\n \nTry command on console to get more\ndetailed info about the reason.\n","Sorry, das Kopierkommando schlug fehl!\nKommando war:\n%1\n \nVersuche Kommando von Kosole um\nDetails für das Fehlschlagen\nzu erfahren.\n" }, | 727 | { "Sorry, the copy command failed!\nCommand was:\n%1\n \nTry command on console to get more\ndetailed info about the reason.\n","Sorry, das Kopierkommando schlug fehl!\nKommando war:\n%1\n \nVersuche Kommando von Kosole um\nDetails für das Fehlschlagen\nzu erfahren.\n" }, |
728 | { "Writing back file result: ","Resultat des Dateizurückschreibens: " }, | 728 | { "Writing back file result: ","Resultat des Dateizurückschreibens: " }, |
729 | { "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" }, | 729 | { "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" }, |
730 | { "Edit Calendar Filters","Editiere Kalendar Filter" }, | 730 | { "Edit Calendar Filters","Editiere Kalendar Filter" }, |
731 | { "Enter filter name:","Neuer Filter Name:" }, | 731 | { "Enter filter name:","Neuer Filter Name:" }, |
732 | { "Add Filter","Filter hinzufügen" }, | 732 | { "Add Filter","Filter hinzufügen" }, |
733 | { "Question","Frage" }, | 733 | { "Question","Frage" }, |
734 | { "Filter position: ","Filter Position: " }, | 734 | { "Filter position: ","Filter Position: " }, |
735 | { "Month View","Monatsansicht" }, | 735 | { "Month View","Monatsansicht" }, |
736 | { "This profil cannot be deleted!\n","Dieses Profil kann\nnicht gelöscht werden!" }, | 736 | { "This profil cannot be deleted!\n","Dieses Profil kann\nnicht gelöscht werden!" }, |
737 | { "KO/Pi config error","KO/Pi Konfig. Fehler" }, | 737 | { "KO/Pi config error","KO/Pi Konfig. Fehler" }, |
738 | { "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" }, | 738 | { "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" }, |
739 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile haben denselben Namen!\nBitte unterschiedliche Namen wählen!" }, | 739 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile haben denselben Namen!\nBitte unterschiedliche Namen wählen!" }, |
740 | { "Access: ","Zugriff: " }, | 740 | { "Access: ","Zugriff: " }, |
741 | { "Needs Action","Aktion notwendig" }, | 741 | { "Needs Action","Aktion notwendig" }, |
742 | { "Accepted","Akzeptiert" }, | 742 | { "Accepted","Akzeptiert" }, |
743 | { "Declined","Abgelehnt" }, | 743 | { "Declined","Abgelehnt" }, |
744 | { "Tentative","Vorläufig" }, | 744 | { "Tentative","Vorläufig" }, |
745 | { "Delegated","Beauftragt" }, | 745 | { "Delegated","Beauftragt" }, |
746 | { "Completed","Vollständig" }, | 746 | { "Completed","Vollständig" }, |
747 | { "In Process","In Bearbeitung" }, | 747 | { "In Process","In Bearbeitung" }, |
748 | { "Participant","Teilnehmer" }, | 748 | { "Participant","Teilnehmer" }, |
749 | { "Optional Participant","Möglicher Teilnehmer" }, | 749 | { "Optional Participant","Möglicher Teilnehmer" }, |
750 | { "Observer","Beobachter" }, | 750 | { "Observer","Beobachter" }, |
751 | { "Chair","Vorsitzender" }, | 751 | { "Chair","Vorsitzender" }, |
752 | { "Not supported \non desktop!\n","" }, | 752 | { "Not supported \non desktop!\n","" }, |
753 | { "Nothing selected!\n\nThis prints the full width of the Agenda view as you see it!\n\nTo determine the vertical range of the printing, please select\na vertical range (with the left mouse button down) in one column. ","Es ist nichts selektiert!\nDieses druckt die volle Breite der Agenda View, so wie man sie sieht.\nUm die verticale Auswahl zum Drucken zu bestimmen,\nbitte einen verticalen Zeitraum (mit gedrückter linker Maustaste)\nin einer Spalte auswählen. " }, | 753 | { "Nothing selected!\n\nThis prints the full width of the Agenda view as you see it!\n\nTo determine the vertical range of the printing, please select\na vertical range (with the left mouse button down) in one column. ","Es ist nichts selektiert!\nDieses druckt die volle Breite der Agenda View, so wie man sie sieht.\nUm die verticale Auswahl zum Drucken zu bestimmen,\nbitte einen verticalen Zeitraum (mit gedrückter linker Maustaste)\nin einer Spalte auswählen. " }, |
754 | { "Date range: ","Datums Zeitspanne: " }, | 754 | { "Date range: ","Datums Zeitspanne: " }, |
755 | { "Not supported \non PDA!\n","Nicht verfügbar\nauf dem PDA. " }, | 755 | { "Not supported \non PDA!\n","Nicht verfügbar\nauf dem PDA. " }, |
756 | { "Syncing - close to abort!","Syncing-schließe um abzubrechen." }, | 756 | { "Syncing - close to abort!","Syncing-schließe um abzubrechen." }, |
757 | { "Add / remove events","Add./entferne Termine" }, | 757 | { "Add / remove events","Add./entferne Termine" }, |
758 | { "File does not exist:\n '%1'.","Datei existiert nicht:\n '%1'." }, | 758 | { "File does not exist:\n '%1'.","Datei existiert nicht:\n '%1'." }, |
759 | { "Couldn't load calendar\n '%1'.","Kann Kalender nicht laden:\n '%1'." }, | 759 | { "Couldn't load calendar\n '%1'.","Kann Kalender nicht laden:\n '%1'." }, |
760 | { "\nThe file on disk has changed!\nFile size: %1 bytes.\nLast modified: %2\nDo you want to:\n\n - Save and overwrite file?\n - Sync with file, then save?\n - Cancel without saving? \n","\nDie gepeicherte Datei wurde verändert!\nDatei Grösse: %1 Bytes.\nZuletzt geändert: %2\nMöchten Sie:\n\n - Speichern und die Datei überschreiben?\n - Mit Datei Synchronisieren, dann speichern?\n - Abbrechen ohne zu speichern? \n" }, | 760 | { "\nThe file on disk has changed!\nFile size: %1 bytes.\nLast modified: %2\nDo you want to:\n\n - Save and overwrite file?\n - Sync with file, then save?\n - Cancel without saving? \n","\nDie gepeicherte Datei wurde verändert!\nDatei Grösse: %1 Bytes.\nZuletzt geändert: %2\nMöchten Sie:\n\n - Speichern und die Datei überschreiben?\n - Mit Datei Synchronisieren, dann speichern?\n - Abbrechen ohne zu speichern? \n" }, |
761 | { "Overwrite","Überschreiben" }, | 761 | { "Overwrite","Überschreiben" }, |
762 | { "Sync+save","Syncen+speichern" }, | 762 | { "Sync+save","Syncen+speichern" }, |
763 | { "Default","Standard" }, | 763 | { "Default","Standard" }, |
764 | { " Categories added to list! "," Kategorien zur Liste hinzugefügt! " }, | 764 | { " Categories added to list! "," Kategorien zur Liste hinzugefügt! " }, |
765 | { " %d items?"," %d Einträge?" }, | 765 | { " %d items?"," %d Einträge?" }, |
766 | { "\nThis event recurs\nover multiple dates.\nAre you sure you want\nto delete this event\nand all its recurrences?","\nDieses ist ein\nwiederholender Termin!.\nSind Sie sicher, dass Sie\ndiesen Termin und alle\nWiederholungen löschen möchten?" }, | 766 | { "\nThis event recurs\nover multiple dates.\nAre you sure you want\nto delete this event\nand all its recurrences?","\nDieses ist ein\nwiederholender Termin!.\nSind Sie sicher, dass Sie\ndiesen Termin und alle\nWiederholungen löschen möchten?" }, |
767 | { " ?\n\nDelete:\n"," ?\n\nLösche:\n" }, | 767 | { " ?\n\nDelete:\n"," ?\n\nLösche:\n" }, |
768 | { "Current","Aktuelle" }, | 768 | { "Current","Aktuelle" }, |
769 | { "\nThis event recurs\nover multiple dates.\nDo you want to delete\nall it's recurrences,\nor only the current one on:\n","\nDieses ist ein\nwiederholender Termin!\nMöchten sie alle Wiederholungen\nlöschen, oder nur die aktuelle am:\n" }, | 769 | { "\nThis event recurs\nover multiple dates.\nDo you want to delete\nall it's recurrences,\nor only the current one on:\n","\nDieses ist ein\nwiederholender Termin!\nMöchten sie alle Wiederholungen\nlöschen, oder nur die aktuelle am:\n" }, |
770 | { "All","Alle" }, | 770 | { "All","Alle" }, |
771 | { "Data Loss Warning","Datenverlust Warnung" }, | 771 | { "Data Loss Warning","Datenverlust Warnung" }, |
772 | { "Proceed","Weitermachen" }, | 772 | { "Proceed","Weitermachen" }, |
773 | { "The journal entries can not be\nexported to a vCalendar file.","Die Journal Einträge können\nnicht in eine vCalendar\nDatei exportiert werden!" }, | 773 | { "The journal entries can not be\nexported to a vCalendar file.","Die Journal Einträge können\nnicht in eine vCalendar\nDatei exportiert werden!" }, |
774 | { "Filter disabled ","Filter abgeschaltet" }, | 774 | { "Filter disabled ","Filter abgeschaltet" }, |
775 | { "Filter selected: ","Gewählter Filter: " }, | 775 | { "Filter selected: ","Gewählter Filter: " }, |
776 | { "Toggle Cancel","Gecancelt ändern" }, | 776 | { "Toggle Cancel","Gecancelt ändern" }, |
777 | { "&Toggle Cancel","Gecancel&t ändern" }, | 777 | { "&Toggle Cancel","Gecancel&t ändern" }, |
778 | { "Configure Toolbar","Konfiguriere Toolbar" }, | 778 | { "Configure Toolbar","Konfiguriere Toolbar" }, |
779 | { "Stretched TB","Gedehnte TB" }, | 779 | { "Stretched TB","Gedehnte TB" }, |
780 | { "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" }, | 780 | { "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" }, |
781 | { "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" }, | 781 | { "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" }, |
782 | { "When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing","Wenn ein Kalender doppelt importiert\nwird, werden doppelte Einträge ignoriert!\nSie können eine Backup Datei anlegen unter\nDatei - Speichere Kalender Backup\num den Import rückgängig machen zu können.\n" }, | 782 | { "When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing","Wenn ein Kalender doppelt importiert\nwird, werden doppelte Einträge ignoriert!\nSie können eine Backup Datei anlegen unter\nDatei - Speichere Kalender Backup\num den Import rückgängig machen zu können.\n" }, |
783 | { "Not supported \non desktop!\n","Nur verfügbar auf PDA!" }, | 783 | { "Not supported \non desktop!\n","Nur verfügbar auf PDA!" }, |
784 | { "Imported file successfully","Datei erfolgreich importiert" }, | 784 | { "Imported file successfully","Datei erfolgreich importiert" }, |
785 | { "Error importing file","Fehler beim Importieren der Datei" }, | 785 | { "Error importing file","Fehler beim Importieren der Datei" }, |
786 | { "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" }, | 786 | { "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" }, |
787 | { "Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n","Zu speichernde Datei\existiert bereits!\nExist. Datei vom:\n%1\nÜberschreiben?\n" }, | 787 | { "Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n","Zu speichernde Datei\existiert bereits!\nExist. Datei vom:\n%1\nÜberschreiben?\n" }, |
788 | { "Overwrite!","Überschreiben!" }, | 788 | { "Overwrite!","Überschreiben!" }, |
789 | { "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n","Import Datei \n...%1\nvom:\n%2\nDuplizierte Einträge\nwerden nicht importiert!\n" }, | 789 | { "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n","Import Datei \n...%1\nvom:\n%2\nDuplizierte Einträge\nwerden nicht importiert!\n" }, |
790 | { "Load backup filename","Lade Backup Dateiname" }, | 790 | { "Load backup filename","Lade Backup Dateiname" }, |
791 | { "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" }, | 791 | { "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" }, |
792 | { "KO/Pi:Loaded %1","KO/Pi:Geladen %1" }, | 792 | { "KO/Pi:Loaded %1","KO/Pi:Geladen %1" }, |
793 | { "Save backup filename","Speichere Backup Dateiname" }, | 793 | { "Save backup filename","Speichere Backup Dateiname" }, |
794 | { "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" }, | 794 | { "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" }, |
795 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, | 795 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, |
796 | { "Details of attendee","Teilnehmerdetails" }, | 796 | { "Details of attendee","Teilnehmerdetails" }, |
797 | { "Work phone:\n","Telefon Arbeit:\n" }, | 797 | { "Work phone:\n","Telefon Arbeit:\n" }, |
798 | { "Work mobile phone:\n","Mobiltelefon Arbeit:\n" }, | 798 | { "Work mobile phone:\n","Mobiltelefon Arbeit:\n" }, |
799 | { "Home phone:\n","Telefon privat:\n" }, | 799 | { "Home phone:\n","Telefon privat:\n" }, |
800 | { "Mobile home phone:\n","Mobiltelefon privat:\n" }, | 800 | { "Mobile home phone:\n","Mobiltelefon privat:\n" }, |
801 | { "Email:\n","Email:\n" }, | 801 | { "Email:\n","Email:\n" }, |
802 | { "Alarm disabled","Alarm deaktiviert" }, | 802 | { "Alarm disabled","Alarm deaktiviert" }, |
803 | { "Audio.Al.: ","Audio Al.: " }, | 803 | { "Audio.Al.: ","Audio Al.: " }, |
804 | { "Proc.Al.: ","Proc.Al.: " }, | 804 | { "Proc.Al.: ","Proc.Al.: " }, |
805 | { "No sound set","Kein Sound definiert" }, | 805 | { "No sound set","Kein Sound definiert" }, |
806 | { "*.wav|Wav Files","*.wav|Wav Dateien" }, | 806 | { "*.wav|Wav Files","*.wav|Wav Dateien" }, |
807 | { "No program set","Kein Programm definiert" }, | 807 | { "No program set","Kein Programm definiert" }, |
808 | { "Running '%1'","Ausführen '%1'" }, | 808 | { "Running '%1'","Ausführen '%1'" }, |
809 | { "Playing '%1'","Abspielen '%1'" }, | 809 | { "Playing '%1'","Abspielen '%1'" }, |
810 | { "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" }, | 810 | { "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" }, |
811 | { "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" }, | 811 | { "User defined (usertranslation.txt)","File usertranslation.txt loaded" }, |
812 | { "Load!","Laden!" }, | 812 | { "Load!","Laden!" }, |
813 | { "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" }, | 813 | { "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" }, |
814 | { "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" }, | 814 | { "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" }, |
815 | { "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" }, | 815 | { "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" }, |
816 | { "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" }, | 816 | { "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" }, |
817 | { "Features + hints...","Eigenschaften + Tipps..." }, | 817 | { "Features + hints...","Eigenschaften + Tipps..." }, |
818 | { "User translation...","Benutzer Übersetzung..." }, | 818 | { "User translation...","Benutzer Übersetzung..." }, |
819 | { "Sync HowTo...","Synchronisation HowTo..." }, | 819 | { "Sync HowTo...","Synchronisation HowTo..." }, |
820 | { "Print calendar...","Drucke Kalender..." }, | 820 | { "Print calendar...","Drucke Kalender..." }, |
821 | { "Anniversary","Jahrestag" }, | 821 | { "Anniversary","Jahrestag" }, |
822 | { "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" }, | 822 | { "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" }, |
823 | { "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" }, | 823 | { "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" }, |
824 | { "Next recurrence is on: ","Nächste Wiederholung ist am:" }, | 824 | { "Next recurrence is on: ","Nächste Wiederholung ist am:" }, |
825 | { "<b>Alarm on: </b>","<b>Alarm am: </b>" }, | 825 | { "<b>Alarm on: </b>","<b>Alarm am: </b>" }, |
826 | { "<b>Access: </b>","<b>Zugriff: </b>" }, | 826 | { "<b>Access: </b>","<b>Zugriff: </b>" }, |
827 | { "(%1 min before)","(%1 min vorher)" }, | 827 | { "(%1 min before)","(%1 min vorher)" }, |
828 | { "<b>Categories: </b>","<b>Kategorien: </b>" }, | 828 | { "<b>Categories: </b>","<b>Kategorien: </b>" }, |
829 | { "Save Journal/Description...","Speichere Journal/Details..." }, | 829 | { "Save Journal/Description...","Speichere Journal/Details..." }, |
830 | { "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." }, | 830 | { "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." }, |
831 | { "Continue","Weitermachen" }, | 831 | { "Continue","Weitermachen" }, |
832 | { " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" }, | 832 | { " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" }, |
833 | { "Attendee:","Teilnehmer:" }, | 833 | { "Attendee:","Teilnehmer:" }, |
834 | { "Click OK to search ->","Klicke zum Suchen auf OK ->" }, | 834 | { "Click OK to search ->","Klicke zum Suchen auf OK ->" }, |
835 | { "On day ","Am Tag " }, | 835 | { "On day ","Am Tag " }, |
836 | { "%1 of ","%1 des Monats" }, | 836 | { "%1 of ","%1 des Monats" }, |
837 | { "%1 of the year","%1 des Jahres" }, | 837 | { "%1 of the year","%1 des Jahres" }, |
838 | { "","" }, | 838 | { "","" }, |
839 | { "","" }, | 839 | { "","" }, |
840 | { "","" }, | 840 | { "","" }, |
841 | { "","" }, | 841 | { "","" }, |
842 | { "","" }, | 842 | { "","" }, |
843 | { "","" }, | 843 | { "","" }, |
844 | { "","" }, | 844 | { "","" }, |
845 | { "","" }, | 845 | { "","" }, |
846 | { "","" }, | 846 | { "","" }, |
847 | { "","" }, | 847 | { "","" }, |
848 | { "","" }, | 848 | { "","" }, |
849 | 849 | ||
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index 2cfb382..651442b 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp | |||
@@ -14,559 +14,559 @@ | |||
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include <time.h> | 24 | #include <time.h> |
25 | #ifndef _WIN32_ | 25 | #ifndef _WIN32_ |
26 | #include <unistd.h> | 26 | #include <unistd.h> |
27 | #endif | 27 | #endif |
28 | #include <qdir.h> | 28 | #include <qdir.h> |
29 | #include <qtextstream.h> | 29 | #include <qtextstream.h> |
30 | #include <qtextcodec.h> | 30 | #include <qtextcodec.h> |
31 | #include <qstring.h> | 31 | #include <qstring.h> |
32 | #include <qregexp.h> | 32 | #include <qregexp.h> |
33 | #include <qfont.h> | 33 | #include <qfont.h> |
34 | #include <qcolor.h> | 34 | #include <qcolor.h> |
35 | #include <qstringlist.h> | 35 | #include <qstringlist.h> |
36 | #include <stdlib.h> | 36 | #include <stdlib.h> |
37 | 37 | ||
38 | #include <kglobal.h> | 38 | #include <kglobal.h> |
39 | #include <kconfig.h> | 39 | #include <kconfig.h> |
40 | #include <klocale.h> | 40 | #include <klocale.h> |
41 | #include <kdebug.h> | 41 | #include <kdebug.h> |
42 | #include <kemailsettings.h> | 42 | #include <kemailsettings.h> |
43 | #include <kstaticdeleter.h> | 43 | #include <kstaticdeleter.h> |
44 | #include <libkdepim/kpimglobalprefs.h> | 44 | #include <libkdepim/kpimglobalprefs.h> |
45 | 45 | ||
46 | #include "koprefs.h" | 46 | #include "koprefs.h" |
47 | #include "mainwindow.h" | 47 | #include "mainwindow.h" |
48 | 48 | ||
49 | const char *germanwords[][2] = { | 49 | const char *germanwords[][2] = { |
50 | #include "wordsgerman.h" | 50 | #include "wordsgerman.h" |
51 | "", "" | 51 | "", "" |
52 | }; | 52 | }; |
53 | 53 | ||
54 | KOPrefs *KOPrefs::mInstance = 0; | 54 | KOPrefs *KOPrefs::mInstance = 0; |
55 | static KStaticDeleter<KOPrefs> insd; | 55 | static KStaticDeleter<KOPrefs> insd; |
56 | 56 | ||
57 | KOPrefs::KOPrefs() : | 57 | KOPrefs::KOPrefs() : |
58 | KPimPrefs("korganizerrc") | 58 | KPimPrefs("korganizerrc") |
59 | { | 59 | { |
60 | mCategoryColors.setAutoDelete(true); | 60 | mCategoryColors.setAutoDelete(true); |
61 | mLocaleDict = 0; | 61 | mLocaleDict = 0; |
62 | fillMailDefaults(); | 62 | fillMailDefaults(); |
63 | mDefaultCategoryColor = QColor(175,210,255);//196,196,196); | 63 | mDefaultCategoryColor = QColor(175,210,255);//196,196,196); |
64 | QColor defaultHolidayColor = QColor(255,0,0); | 64 | QColor defaultHolidayColor = QColor(255,0,0); |
65 | QColor defaultHighlightColor = QColor(129,112,255);//64,64,255); | 65 | QColor defaultHighlightColor = QColor(129,112,255);//64,64,255); |
66 | QColor defaultAgendaBgColor = QColor(239,241,169);//128,128,128); | 66 | QColor defaultAgendaBgColor = QColor(239,241,169);//128,128,128); |
67 | QColor defaultWorkingHoursColor = QColor(170,223,150);//160,160,160); | 67 | QColor defaultWorkingHoursColor = QColor(170,223,150);//160,160,160); |
68 | QColor defaultTodoDueTodayColor = QColor(255,220,100); | 68 | QColor defaultTodoDueTodayColor = QColor(255,220,100); |
69 | QColor defaultTodoOverdueColor = QColor(255,153,125); | 69 | QColor defaultTodoOverdueColor = QColor(255,153,125); |
70 | 70 | ||
71 | mTimeBarFont = QFont("helvetica",10);//,QFont::Bold); | 71 | mTimeBarFont = QFont("helvetica",10);//,QFont::Bold); |
72 | mDefaultViewFont = QFont("helvetica",10); | 72 | mDefaultViewFont = QFont("helvetica",10); |
73 | mDefaultMonthViewFont = QFont("helvetica",8); | 73 | mDefaultMonthViewFont = QFont("helvetica",8); |
74 | mMarcusBainsFont= QFont("helvetica",10); | 74 | mMarcusBainsFont= QFont("helvetica",10); |
75 | mDateNavigatorFont= QFont("helvetica",10, QFont::Bold); | 75 | mDateNavigatorFont= QFont("helvetica",10, QFont::Bold); |
76 | mEditBoxFont = QFont("helvetica",12); | 76 | mEditBoxFont = QFont("helvetica",12); |
77 | mJornalViewFont = QFont("helvetica",12); | 77 | mJornalViewFont = QFont("helvetica",12); |
78 | 78 | ||
79 | KPrefs::setCurrentGroup("General"); | 79 | KPrefs::setCurrentGroup("General"); |
80 | 80 | ||
81 | 81 | ||
82 | addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); | 82 | addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); |
83 | 83 | ||
84 | addItemBool("ShowIconNewTodo",&mShowIconNewTodo,true); | 84 | addItemBool("ShowIconNewTodo",&mShowIconNewTodo,true); |
85 | addItemBool("ShowIconNewEvent",&mShowIconNewEvent,true); | 85 | addItemBool("ShowIconNewEvent",&mShowIconNewEvent,true); |
86 | addItemBool("ShowIconSearch",&mShowIconSearch,true); | 86 | addItemBool("ShowIconSearch",&mShowIconSearch,true); |
87 | addItemBool("ShowIconList",&mShowIconList,true); | 87 | addItemBool("ShowIconList",&mShowIconList,true); |
88 | addItemBool("ShowIconDay1",&mShowIconDay1,true); | 88 | addItemBool("ShowIconDay1",&mShowIconDay1,true); |
89 | addItemBool("ShowIconDay5",&mShowIconDay5,true); | 89 | addItemBool("ShowIconDay5",&mShowIconDay5,true); |
90 | addItemBool("ShowIconDay7",&mShowIconDay7,true); | 90 | addItemBool("ShowIconDay7",&mShowIconDay7,true); |
91 | addItemBool("ShowIconMonth",&mShowIconMonth,true); | 91 | addItemBool("ShowIconMonth",&mShowIconMonth,true); |
92 | addItemBool("ShowIconTodoview",&mShowIconTodoview,true); | 92 | addItemBool("ShowIconTodoview",&mShowIconTodoview,true); |
93 | addItemBool("ShowIconBackFast",&mShowIconBackFast,true); | 93 | addItemBool("ShowIconBackFast",&mShowIconBackFast,true); |
94 | addItemBool("ShowIconBack",&mShowIconBack,true); | 94 | addItemBool("ShowIconBack",&mShowIconBack,true); |
95 | addItemBool("ShowIconToday",&mShowIconToday,true); | 95 | addItemBool("ShowIconToday",&mShowIconToday,true); |
96 | addItemBool("ShowIconForward",&mShowIconForward,true); | 96 | addItemBool("ShowIconForward",&mShowIconForward,true); |
97 | addItemBool("ShowIconForwardFast",&mShowIconForwardFast,true); | 97 | addItemBool("ShowIconForwardFast",&mShowIconForwardFast,true); |
98 | addItemBool("ShowIconWhatsThis",&mShowIconWhatsThis,false); | 98 | addItemBool("ShowIconWhatsThis",&mShowIconWhatsThis,false); |
99 | addItemBool("ShowIconNextDays",&mShowIconNextDays,true); | 99 | addItemBool("ShowIconNextDays",&mShowIconNextDays,true); |
100 | addItemBool("ShowIconNext",&mShowIconNext,true); | 100 | addItemBool("ShowIconNext",&mShowIconNext,true); |
101 | addItemBool("ShowIconJournal",&mShowIconJournal,true); | 101 | addItemBool("ShowIconJournal",&mShowIconJournal,true); |
102 | addItemBool("ShowIconStretch",&mShowIconStretch,true); | 102 | addItemBool("ShowIconStretch",&mShowIconStretch,true); |
103 | addItemBool("LanguageChanged",&mLanguageChanged,false); | 103 | addItemBool("LanguageChanged",&mLanguageChanged,false); |
104 | 104 | ||
105 | addItemBool("AskForQuit",&mAskForQuit,false); | 105 | addItemBool("AskForQuit",&mAskForQuit,false); |
106 | 106 | ||
107 | #ifndef DESKTOP_VERSION | 107 | #ifndef DESKTOP_VERSION |
108 | addItemBool("ShowFullMenu",&mShowFullMenu,false); | 108 | addItemBool("ShowFullMenu",&mShowFullMenu,false); |
109 | #else | 109 | #else |
110 | addItemBool("ShowFullMenu",&mShowFullMenu,true); | 110 | addItemBool("ShowFullMenu",&mShowFullMenu,true); |
111 | #endif | 111 | #endif |
112 | addItemBool("ToolBarHor",&mToolBarHor, true ); | 112 | addItemBool("ToolBarHor",&mToolBarHor, true ); |
113 | addItemBool("ToolBarUp",&mToolBarUp, false ); | 113 | addItemBool("ToolBarUp",&mToolBarUp, false ); |
114 | addItemBool("ToolBarMiniIcons",&mToolBarMiniIcons, false ); | 114 | addItemBool("ToolBarMiniIcons",&mToolBarMiniIcons, false ); |
115 | addItemInt("Whats Next Days",&mWhatsNextDays,3); | 115 | addItemInt("Whats Next Days",&mWhatsNextDays,3); |
116 | addItemInt("Whats Next Prios",&mWhatsNextPrios,1); | 116 | addItemInt("Whats Next Prios",&mWhatsNextPrios,1); |
117 | 117 | ||
118 | addItemBool("ShowTodoInAgenda",&mShowTodoInAgenda,true); | 118 | addItemBool("ShowTodoInAgenda",&mShowTodoInAgenda,true); |
119 | addItemBool("ShowCompletedTodo",&mShowCompletedTodo,true); | 119 | addItemBool("ShowCompletedTodo",&mShowCompletedTodo,true); |
120 | addItemInt("AllDay Size",&mAllDaySize,28); | 120 | addItemInt("AllDay Size",&mAllDaySize,28); |
121 | QString defAlarm = KGlobal::iconLoader()->iconPath()+"koalarm.wav"; | 121 | QString defAlarm = KGlobal::iconLoader()->iconPath()+"koalarm.wav"; |
122 | addItemString("DefaultAlarmFile",&mDefaultAlarmFile,defAlarm ); | 122 | addItemString("DefaultAlarmFile",&mDefaultAlarmFile,defAlarm ); |
123 | 123 | ||
124 | addItemStringList("LocationDefaults",&mLocationDefaults ); | 124 | addItemStringList("LocationDefaults",&mLocationDefaults ); |
125 | addItemStringList("EventSummary User",&mEventSummaryUser); | 125 | addItemStringList("EventSummary User",&mEventSummaryUser); |
126 | addItemStringList("TodoSummary User",&mTodoSummaryUser); | 126 | addItemStringList("TodoSummary User",&mTodoSummaryUser); |
127 | 127 | ||
128 | addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); | 128 | addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); |
129 | addItemBool("Enable Project View",&mEnableProjectView,false); | 129 | addItemBool("Enable Project View",&mEnableProjectView,false); |
130 | addItemBool("Auto Save",&mAutoSave,false); | 130 | addItemBool("Auto Save",&mAutoSave,false); |
131 | addItemInt("Auto Save Interval",&mAutoSaveInterval,3); | 131 | addItemInt("Auto Save Interval",&mAutoSaveInterval,3); |
132 | addItemBool("Confirm Deletes",&mConfirm,true); | 132 | addItemBool("Confirm Deletes",&mConfirm,true); |
133 | addItemString("Archive File",&mArchiveFile); | 133 | addItemString("Archive File",&mArchiveFile); |
134 | addItemString("Html Export File",&mHtmlExportFile, | 134 | addItemString("Html Export File",&mHtmlExportFile, |
135 | QDir::homeDirPath() + "/" + i18n("Default export file", "calendar.html")); | 135 | QDir::homeDirPath() + "/" + i18n("Default export file", "calendar.html")); |
136 | addItemBool("Html With Save",&mHtmlWithSave,false); | 136 | addItemBool("Html With Save",&mHtmlWithSave,false); |
137 | 137 | ||
138 | KPrefs::setCurrentGroup("Personal Settings"); | 138 | KPrefs::setCurrentGroup("Personal Settings"); |
139 | 139 | ||
140 | addItemInt("Mail Client",&mMailClient,MailClientKMail); | 140 | addItemInt("Mail Client",&mMailClient,MailClientKMail); |
141 | addItemBool("Use Control Center Email",&mEmailControlCenter,false); | 141 | addItemBool("Use Control Center Email",&mEmailControlCenter,false); |
142 | addItemBool("Bcc",&mBcc,false); | 142 | addItemBool("Bcc",&mBcc,false); |
143 | 143 | ||
144 | KPrefs::setCurrentGroup("Time & Date"); | 144 | KPrefs::setCurrentGroup("Time & Date"); |
145 | 145 | ||
146 | // addItemString("Time Zone",&mTimeZone,"+0100"); | 146 | // addItemString("Time Zone",&mTimeZone,"+0100"); |
147 | addItemString("TimeZoneName",&mTimeZoneId,i18n ("+01:00 Europe/Oslo(CET)") ); | 147 | addItemString("TimeZoneName",&mTimeZoneId,i18n ("+01:00 Europe/Oslo(CET)") ); |
148 | // addItemInt("TimeZoneOffset",&mTimeZoneOffset,60); | 148 | // addItemInt("TimeZoneOffset",&mTimeZoneOffset,60); |
149 | addItemBool("UseDaylightsaving",&mUseDaylightsaving,true); | 149 | addItemBool("UseDaylightsaving",&mUseDaylightsaving,true); |
150 | addItemInt("DaylightsavingStart",&mDaylightsavingStart,90); | 150 | addItemInt("DaylightsavingStart",&mDaylightsavingStart,90); |
151 | addItemInt("DaylightsavingEnd",&mDaylightsavingEnd,304); | 151 | addItemInt("DaylightsavingEnd",&mDaylightsavingEnd,304); |
152 | 152 | ||
153 | 153 | ||
154 | addItemInt("Default Start Time",&mStartTime,10); | 154 | addItemInt("Default Start Time",&mStartTime,10); |
155 | addItemInt("Default Duration",&mDefaultDuration,2); | 155 | addItemInt("Default Duration",&mDefaultDuration,2); |
156 | addItemInt("Default Alarm Time",&mAlarmTime,3); | 156 | addItemInt("Default Alarm Time",&mAlarmTime,3); |
157 | addItemInt("Daylight Savings",&mDaylightSavings,0); | 157 | addItemInt("Daylight Savings",&mDaylightSavings,0); |
158 | KPrefs::setCurrentGroup("AlarmSettings"); | 158 | KPrefs::setCurrentGroup("AlarmSettings"); |
159 | addItemInt("AlarmPlayBeeps",&mAlarmPlayBeeps,20); | 159 | addItemInt("AlarmPlayBeeps",&mAlarmPlayBeeps,20); |
160 | addItemInt("AlarmSuspendTime",&mAlarmSuspendTime,7); | 160 | addItemInt("AlarmSuspendTime",&mAlarmSuspendTime,7); |
161 | addItemInt("AlarmSuspendCount",&mAlarmSuspendCount,5); | 161 | addItemInt("AlarmSuspendCount",&mAlarmSuspendCount,5); |
162 | addItemInt("AlarmBeepInterval",&mAlarmBeepInterval,3); | 162 | addItemInt("AlarmBeepInterval",&mAlarmBeepInterval,3); |
163 | 163 | ||
164 | 164 | ||
165 | KPrefs::setCurrentGroup("Calendar"); | 165 | KPrefs::setCurrentGroup("Calendar"); |
166 | 166 | ||
167 | addItemInt("Default Calendar Format",&mDefaultFormat,FormatICalendar); | 167 | addItemInt("Default Calendar Format",&mDefaultFormat,FormatICalendar); |
168 | 168 | ||
169 | KPrefs::setCurrentGroup("Fonts"); | 169 | KPrefs::setCurrentGroup("Fonts"); |
170 | // qDebug(" KPrefs::setCurrentGroup(Fonts); "); | 170 | // qDebug(" KPrefs::setCurrentGroup(Fonts); "); |
171 | addItemFont("TimeBar Font",&mTimeBarFont); | 171 | addItemFont("TimeBar Font",&mTimeBarFont); |
172 | addItemFont("MonthView Font",&mMonthViewFont); | 172 | addItemFont("MonthView Font",&mMonthViewFont); |
173 | addItemFont("AgendaView Font",&mAgendaViewFont); | 173 | addItemFont("AgendaView Font",&mAgendaViewFont); |
174 | addItemFont("MarcusBains Font",&mMarcusBainsFont); | 174 | addItemFont("MarcusBains Font",&mMarcusBainsFont); |
175 | addItemFont("TimeLabels Font",&mTimeLabelsFont); | 175 | addItemFont("TimeLabels Font",&mTimeLabelsFont); |
176 | addItemFont("TodoView Font",&mTodoViewFont); | 176 | addItemFont("TodoView Font",&mTodoViewFont); |
177 | addItemFont("ListView Font",&mListViewFont); | 177 | addItemFont("ListView Font",&mListViewFont); |
178 | addItemFont("DateNavigator Font",&mDateNavigatorFont); | 178 | addItemFont("DateNavigator Font",&mDateNavigatorFont); |
179 | addItemFont("EditBox Font",&mEditBoxFont); | 179 | addItemFont("EditBox Font",&mEditBoxFont); |
180 | addItemFont("JournalView Font",&mJornalViewFont); | 180 | addItemFont("JournalView Font",&mJornalViewFont); |
181 | addItemFont("WhatsNextView Font",&mWhatsNextFont); | 181 | addItemFont("WhatsNextView Font",&mWhatsNextFont); |
182 | addItemFont("EventView Font",&mEventViewFont); | 182 | addItemFont("EventView Font",&mEventViewFont); |
183 | 183 | ||
184 | // KPrefs::setCurrentGroup("SyncProfiles"); | 184 | // KPrefs::setCurrentGroup("SyncProfiles"); |
185 | // addItemString("LocalMachineName",&mLocalMachineName, "undefined"); | 185 | // addItemString("LocalMachineName",&mLocalMachineName, "undefined"); |
186 | // addItemStringList("SyncProfileNames",&mSyncProfileNames); | 186 | // addItemStringList("SyncProfileNames",&mSyncProfileNames); |
187 | // addItemStringList("ExternSyncProfiles",&mExternSyncProfileNames); | 187 | // addItemStringList("ExternSyncProfiles",&mExternSyncProfileNames); |
188 | 188 | ||
189 | KPrefs::setCurrentGroup("RemoteSyncing"); | 189 | KPrefs::setCurrentGroup("RemoteSyncing"); |
190 | // addItemBool("UsePasswd",&mUsePassWd,false); | 190 | // addItemBool("UsePasswd",&mUsePassWd,false); |
191 | // addItemBool("WriteBackFile",&mWriteBackFile,true); | 191 | // addItemBool("WriteBackFile",&mWriteBackFile,true); |
192 | // addItemBool("WriteBackExistingOnly",&mWriteBackExistingOnly,false); | 192 | // addItemBool("WriteBackExistingOnly",&mWriteBackExistingOnly,false); |
193 | // addItemBool("AskForPreferences",&mAskForPreferences,true); | 193 | // addItemBool("AskForPreferences",&mAskForPreferences,true); |
194 | // addItemBool("ShowSyncSummary",&mShowSyncSummary,true); | 194 | // addItemBool("ShowSyncSummary",&mShowSyncSummary,true); |
195 | addItemString("ActiveSyncPort",&mActiveSyncPort,"9197" ); | 195 | addItemString("ActiveSyncPort",&mActiveSyncPort,"9197" ); |
196 | addItemString("ActiveSyncIP",&mActiveSyncIP,"192.168.0.40" ); | 196 | addItemString("ActiveSyncIP",&mActiveSyncIP,"192.168.0.40" ); |
197 | addItemBool("ShowSyncEvents",&mShowSyncEvents,false); | 197 | addItemBool("ShowSyncEvents",&mShowSyncEvents,false); |
198 | addItemInt("LastSyncTime",&mLastSyncTime,0); | 198 | addItemInt("LastSyncTime",&mLastSyncTime,0); |
199 | 199 | ||
200 | #ifdef _WIN32_ | 200 | #ifdef _WIN32_ |
201 | QString hdp= locateLocal("data","korganizer")+"\\\\"; | 201 | QString hdp= locateLocal("data","korganizer")+"\\\\"; |
202 | #else | 202 | #else |
203 | QString hdp= locateLocal("data","korganizer")+"/"; | 203 | QString hdp= locateLocal("data","korganizer")+"/"; |
204 | #endif | 204 | #endif |
205 | // addItemString("RemoteIP",&mRemoteIP, "192.168.0.65"); | 205 | // addItemString("RemoteIP",&mRemoteIP, "192.168.0.65"); |
206 | // addItemString("RemoteUser",&mRemoteUser, "zaurus"); | 206 | // addItemString("RemoteUser",&mRemoteUser, "zaurus"); |
207 | // addItemString("RemotePassWd",&mRemotePassWd, ""); | 207 | // addItemString("RemotePassWd",&mRemotePassWd, ""); |
208 | // addItemString("RemoteFile", &mRemoteFile, hdp+"mycalendar.ics"); | 208 | // addItemString("RemoteFile", &mRemoteFile, hdp+"mycalendar.ics"); |
209 | // addItemString("LocalTempFile",&mLocalTempFile, "/tmp/tempsyncfile.ics" ); | 209 | // addItemString("LocalTempFile",&mLocalTempFile, "/tmp/tempsyncfile.ics" ); |
210 | 210 | ||
211 | 211 | ||
212 | KPrefs::setCurrentGroup("LoadSaveFileNames"); | 212 | KPrefs::setCurrentGroup("LoadSaveFileNames"); |
213 | 213 | ||
214 | addItemString("LastImportFile", &mLastImportFile ,hdp +"import.ics" ); | 214 | addItemString("LastImportFile", &mLastImportFile ,hdp +"import.ics" ); |
215 | addItemString("LastVcalFile", &mLastVcalFile ,hdp +"export.vcs" ); | 215 | addItemString("LastVcalFile", &mLastVcalFile ,hdp +"export.vcs" ); |
216 | addItemString("LastSaveFile", &mLastSaveFile ,hdp +"mybackup.ics" ); | 216 | addItemString("LastSaveFile", &mLastSaveFile ,hdp +"mybackup.ics" ); |
217 | addItemString("LastLoadFile", &mLastLoadFile ,hdp +"mybackup.ics" ); | 217 | addItemString("LastLoadFile", &mLastLoadFile ,hdp +"mybackup.ics" ); |
218 | 218 | ||
219 | 219 | ||
220 | KPrefs::setCurrentGroup("Locale"); | 220 | KPrefs::setCurrentGroup("Locale"); |
221 | addItemInt("PreferredLanguage",&mPreferredLanguage,0); | 221 | addItemInt("PreferredLanguage",&mPreferredLanguage,0); |
222 | addItemInt("PreferredTime",&mPreferredTime,0); | 222 | addItemInt("PreferredTime",&mPreferredTime,0); |
223 | addItemInt("PreferredDate",&mPreferredDate,0); | 223 | addItemInt("PreferredDate",&mPreferredDate,0); |
224 | addItemBool("WeekStartsOnSunday",&mWeekStartsOnSunday,false); | 224 | addItemBool("WeekStartsOnSunday",&mWeekStartsOnSunday,false); |
225 | addItemBool("ShortDateInViewer",&mShortDateInViewer,false); | 225 | addItemBool("ShortDateInViewer",&mShortDateInViewer,false); |
226 | addItemString("UserDateFormatLong", &mUserDateFormatLong, "%A %d %b %y"); | 226 | addItemString("UserDateFormatLong", &mUserDateFormatLong, "%A %d %b %y"); |
227 | addItemString("UserDateFormatShort", &mUserDateFormatShort, "%aK %d.%m.%y"); | 227 | addItemString("UserDateFormatShort", &mUserDateFormatShort, "%aK %d.%m.%y"); |
228 | 228 | ||
229 | 229 | ||
230 | KPrefs::setCurrentGroup("Colors"); | 230 | KPrefs::setCurrentGroup("Colors"); |
231 | addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor); | 231 | addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor); |
232 | addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor); | 232 | addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor); |
233 | addItemColor("Event Color",&mEventColor,mDefaultCategoryColor); | 233 | addItemColor("Event Color",&mEventColor,mDefaultCategoryColor); |
234 | addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor); | 234 | addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor); |
235 | addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor); | 235 | addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor); |
236 | addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor); | 236 | addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor); |
237 | addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor); | 237 | addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor); |
238 | addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 )); | 238 | addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 )); |
239 | addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 )); | 239 | addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 )); |
240 | addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 )); | 240 | addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 )); |
241 | addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true); | 241 | addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true); |
242 | addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true); | 242 | addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true); |
243 | addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false); | 243 | addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false); |
244 | addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 )); | 244 | addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 )); |
245 | addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 )); | 245 | addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 )); |
246 | addItemBool("UseAppColors",&mUseAppColors,false); | 246 | addItemBool("UseAppColors",&mUseAppColors,false); |
247 | 247 | ||
248 | 248 | ||
249 | 249 | ||
250 | KPrefs::setCurrentGroup("Views"); | 250 | KPrefs::setCurrentGroup("Views"); |
251 | addItemInt("Hour Size",&mHourSize,8); | 251 | addItemInt("Hour Size",&mHourSize,8); |
252 | addItemBool("Show Daily Recurrences",&mDailyRecur,true); | 252 | addItemBool("Show Daily Recurrences",&mDailyRecur,true); |
253 | addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); | 253 | addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); |
254 | addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true); | 254 | addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true); |
255 | addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true); | 255 | addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true); |
256 | addItemBool("ShowShortMonthName",&mMonthShowShort,false); | 256 | addItemBool("ShowShortMonthName",&mMonthShowShort,false); |
257 | addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true); | 257 | addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true); |
258 | addItemBool("Enable ToolTips",&mEnableToolTips,false); | 258 | addItemBool("Enable ToolTips",&mEnableToolTips,false); |
259 | addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false); | 259 | addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false); |
260 | addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false); | 260 | addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false); |
261 | addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true); | 261 | addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true); |
262 | addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); | 262 | addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); |
263 | addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,false); | 263 | addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,false); |
264 | addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false); | 264 | addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false); |
265 | addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); | 265 | addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); |
266 | addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); | 266 | addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); |
267 | addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true); | 267 | addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true); |
268 | addItemBool("WNViewShowsParents",&mWNViewShowsParents,true); | 268 | addItemBool("WNViewShowsParents",&mWNViewShowsParents,true); |
269 | addItemBool("WNViewShowLocation",&mWNViewShowLocation,false); | 269 | addItemBool("WNViewShowLocation",&mWNViewShowLocation,false); |
270 | addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false); | 270 | addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false); |
271 | addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true); | 271 | addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true); |
272 | addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false); | 272 | addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false); |
273 | addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false); | 273 | addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false); |
274 | addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,false); | 274 | addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,false); |
275 | addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false); | 275 | addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false); |
276 | addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false); | 276 | addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false); |
277 | #ifdef DESKTOP_VERSION | 277 | #ifdef DESKTOP_VERSION |
278 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true); | 278 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true); |
279 | #else | 279 | #else |
280 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false); | 280 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false); |
281 | #endif | 281 | #endif |
282 | addItemInt("Day Begins",&mDayBegins,7); | 282 | addItemInt("Day Begins",&mDayBegins,7); |
283 | addItemInt("Working Hours Start",&mWorkingHoursStart,8); | 283 | addItemInt("Working Hours Start",&mWorkingHoursStart,8); |
284 | addItemInt("Working Hours End",&mWorkingHoursEnd,17); | 284 | addItemInt("Working Hours End",&mWorkingHoursEnd,17); |
285 | addItemBool("Exclude Holidays",&mExcludeHolidays,true); | 285 | addItemBool("Exclude Holidays",&mExcludeHolidays,true); |
286 | addItemBool("Exclude Saturdays",&mExcludeSaturdays,true); | 286 | addItemBool("Exclude Saturdays",&mExcludeSaturdays,true); |
287 | 287 | ||
288 | addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false); | 288 | addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false); |
289 | addItemBool("Full View Month",&mFullViewMonth,true); | 289 | addItemBool("Full View Month",&mFullViewMonth,true); |
290 | addItemBool("Full View Todo",&mFullViewTodo,true); | 290 | addItemBool("Full View Todo",&mFullViewTodo,true); |
291 | addItemBool("Quick Todo",&mEnableQuickTodo,false); | 291 | addItemBool("Quick Todo",&mEnableQuickTodo,false); |
292 | 292 | ||
293 | addItemInt("Next X Days",&mNextXDays,3); | 293 | addItemInt("Next X Days",&mNextXDays,3); |
294 | 294 | ||
295 | KPrefs::setCurrentGroup("Printer"); | 295 | KPrefs::setCurrentGroup("Printer"); |
296 | 296 | ||
297 | KPrefs::setCurrentGroup("Layout"); | 297 | KPrefs::setCurrentGroup("Layout"); |
298 | 298 | ||
299 | addItemBool("CompactDialogs",&mCompactDialogs,false); | 299 | addItemBool("CompactDialogs",&mCompactDialogs,false); |
300 | addItemBool("VerticalScreen",&mVerticalScreen,true); | 300 | addItemBool("VerticalScreen",&mVerticalScreen,true); |
301 | 301 | ||
302 | KPrefs::setCurrentGroup("KOrganizer Plugins"); | 302 | KPrefs::setCurrentGroup("KOrganizer Plugins"); |
303 | 303 | ||
304 | addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays"); | 304 | addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays"); |
305 | 305 | ||
306 | KPrefs::setCurrentGroup("Group Scheduling"); | 306 | KPrefs::setCurrentGroup("Group Scheduling"); |
307 | 307 | ||
308 | addItemInt("IMIPScheduler",&mIMIPScheduler,IMIPKMail); | 308 | addItemInt("IMIPScheduler",&mIMIPScheduler,IMIPKMail); |
309 | addItemInt("IMIPSend",&mIMIPSend,IMIPdirectsend); | 309 | addItemInt("IMIPSend",&mIMIPSend,IMIPdirectsend); |
310 | addItemStringList("AdditionalMails",&mAdditionalMails,""); | 310 | addItemStringList("AdditionalMails",&mAdditionalMails,""); |
311 | addItemInt("IMIP auto refresh",&mIMIPAutoRefresh,neverAuto); | 311 | addItemInt("IMIP auto refresh",&mIMIPAutoRefresh,neverAuto); |
312 | addItemInt("IMIP auto insert request",&mIMIPAutoInsertRequest,neverAuto); | 312 | addItemInt("IMIP auto insert request",&mIMIPAutoInsertRequest,neverAuto); |
313 | addItemInt("IMIP auto insert reply",&mIMIPAutoInsertReply,neverAuto); | 313 | addItemInt("IMIP auto insert reply",&mIMIPAutoInsertReply,neverAuto); |
314 | addItemInt("IMIP auto FreeBusy",&mIMIPAutoFreeBusy,neverAuto); | 314 | addItemInt("IMIP auto FreeBusy",&mIMIPAutoFreeBusy,neverAuto); |
315 | addItemInt("IMIP auto save FreeBusy",&mIMIPAutoFreeBusyReply,neverAuto); | 315 | addItemInt("IMIP auto save FreeBusy",&mIMIPAutoFreeBusyReply,neverAuto); |
316 | 316 | ||
317 | KPrefs::setCurrentGroup( "Editors" ); | 317 | KPrefs::setCurrentGroup( "Editors" ); |
318 | 318 | ||
319 | addItemStringList( "EventTemplates", &mEventTemplates ); | 319 | addItemStringList( "EventTemplates", &mEventTemplates ); |
320 | addItemStringList( "TodoTemplates", &mTodoTemplates ); | 320 | addItemStringList( "TodoTemplates", &mTodoTemplates ); |
321 | 321 | ||
322 | addItemInt("DestinationPolicy",&mDestination,standardDestination); | 322 | addItemInt("DestinationPolicy",&mDestination,standardDestination); |
323 | 323 | ||
324 | 324 | ||
325 | 325 | ||
326 | } | 326 | } |
327 | 327 | ||
328 | 328 | ||
329 | KOPrefs::~KOPrefs() | 329 | KOPrefs::~KOPrefs() |
330 | { | 330 | { |
331 | if (mInstance == this) | 331 | if (mInstance == this) |
332 | mInstance = insd.setObject(0); | 332 | mInstance = insd.setObject(0); |
333 | setLocaleDict( 0 ); | 333 | setLocaleDict( 0 ); |
334 | if ( mLocaleDict ) | 334 | if ( mLocaleDict ) |
335 | delete mLocaleDict; | 335 | delete mLocaleDict; |
336 | //qDebug("KOPrefs::~KOPrefs() "); | 336 | //qDebug("KOPrefs::~KOPrefs() "); |
337 | } | 337 | } |
338 | 338 | ||
339 | 339 | ||
340 | KOPrefs *KOPrefs::instance() | 340 | KOPrefs *KOPrefs::instance() |
341 | { | 341 | { |
342 | if (!mInstance) { | 342 | if (!mInstance) { |
343 | mInstance = insd.setObject(new KOPrefs()); | 343 | mInstance = insd.setObject(new KOPrefs()); |
344 | mInstance->readConfig(); | 344 | mInstance->readConfig(); |
345 | } | 345 | } |
346 | 346 | ||
347 | return mInstance; | 347 | return mInstance; |
348 | } | 348 | } |
349 | 349 | ||
350 | void KOPrefs::usrSetDefaults() | 350 | void KOPrefs::usrSetDefaults() |
351 | { | 351 | { |
352 | 352 | ||
353 | } | 353 | } |
354 | 354 | ||
355 | void KOPrefs::fillMailDefaults() | 355 | void KOPrefs::fillMailDefaults() |
356 | { | 356 | { |
357 | if (mName.isEmpty()) mName = i18n("Anonymous"); | 357 | if (mName.isEmpty()) mName = i18n("Anonymous"); |
358 | if (mEmail.isEmpty()) mEmail = i18n("nobody@nowhere"); | 358 | if (mEmail.isEmpty()) mEmail = i18n("nobody@nowhere"); |
359 | } | 359 | } |
360 | 360 | ||
361 | void KOPrefs::setTimeZoneIdDefault() | 361 | void KOPrefs::setTimeZoneIdDefault() |
362 | { | 362 | { |
363 | mTimeZoneId = i18n("+01:00 Europe/Oslo(CET)"); | 363 | mTimeZoneId = i18n("+01:00 Europe/Oslo(CET)"); |
364 | } | 364 | } |
365 | 365 | ||
366 | void KOPrefs::setCategoryDefaults() | 366 | void KOPrefs::setCategoryDefaults() |
367 | { | 367 | { |
368 | mCustomCategories.clear(); | 368 | mCustomCategories.clear(); |
369 | mCustomCategories = getDefaultList(); | 369 | mCustomCategories = getDefaultList(); |
370 | 370 | ||
371 | QStringList::Iterator it; | 371 | QStringList::Iterator it; |
372 | for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { | 372 | for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { |
373 | setCategoryColor(*it,mDefaultCategoryColor); | 373 | setCategoryColor(*it,mDefaultCategoryColor); |
374 | } | 374 | } |
375 | } | 375 | } |
376 | 376 | ||
377 | QStringList KOPrefs::getDefaultList() | 377 | QStringList KOPrefs::getDefaultList() |
378 | { | 378 | { |
379 | QStringList retval ; | 379 | QStringList retval ; |
380 | retval << i18n("Anniversary") << i18n("Appointment") << i18n("Birthday") << i18n("Business") << i18n("Business Travel") << i18n("Cinema") << i18n("Customer") | 380 | retval << i18n("Anniversary") << i18n("Appointment") << i18n("Birthday") << i18n("Business") << i18n("Business Travel") << i18n("Cinema") << i18n("Customer") |
381 | << i18n("Break")<< i18n("Breakfast")<< i18n("Competition")<< i18n("Dinner") | 381 | << i18n("Break")<< i18n("Breakfast")<< i18n("Competition")<< i18n("Dinner") |
382 | << i18n("Education")<< i18n("Family") << i18n("Favorites") << i18n("Festival")<< i18n("Fishing")<< i18n("Flight") << i18n("Gifts") | 382 | << i18n("Education")<< i18n("Family") << i18n("Favorites") << i18n("Festival")<< i18n("Fishing")<< i18n("Flight") << i18n("Gifts") |
383 | << i18n("Holiday") << i18n("Holiday Cards")<< i18n("Hot Contacts") << i18n("Hiking") << i18n("Hunting") << i18n("Key Customer") << i18n("Kids") | 383 | << i18n("Holiday") << i18n("Holiday Cards")<< i18n("Hot Contacts") << i18n("Hiking") << i18n("Hunting") << i18n("Key Customer") << i18n("Kids") |
384 | << i18n("Lunch") << i18n("Meeting") << i18n("Miscellaneous") << i18n("Partner")<< i18n("Party") << i18n("Personal") << i18n("Personal Travel") | 384 | << i18n("Lunch") << i18n("Meeting") << i18n("Miscellaneous") << i18n("Partner")<< i18n("Party") << i18n("Personal") << i18n("Personal Travel") |
385 | << i18n("PHB") << i18n("Phone Calls") << i18n("Projects") << i18n("Recurring") << i18n("School") << i18n("Shopping") | 385 | << i18n("PHB") << i18n("Phone Calls") << i18n("Projects") << i18n("Recurring") << i18n("School") << i18n("Shopping") |
386 | << i18n("Speach") << i18n("Special Occasion") << i18n("Sports") << i18n("Talk") << i18n("Travel") << i18n("TV")<< i18n("University") | 386 | << i18n("Speach") << i18n("Special Occasion") << i18n("Sports") << i18n("Talk") << i18n("Travel") << i18n("TV")<< i18n("University") |
387 | << i18n("Vacation") << i18n("VIP") << i18n("SyncEvent") ; | 387 | << i18n("Vacation") << i18n("VIP") << i18n("SyncEvent") ; |
388 | retval.sort(); | 388 | retval.sort(); |
389 | return retval; | 389 | return retval; |
390 | } | 390 | } |
391 | 391 | ||
392 | void KOPrefs::usrReadConfig() | 392 | void KOPrefs::usrReadConfig() |
393 | { | 393 | { |
394 | mPreferredLanguage = KPimGlobalPrefs::instance()->mPreferredLanguage; | 394 | mPreferredLanguage = KPimGlobalPrefs::instance()->mPreferredLanguage; |
395 | mLocaleDict = 0; | 395 | mLocaleDict = 0; |
396 | // pending LR fix translation | 396 | // pending LR fix translation |
397 | // qDebug("KOPrefs::usrReadConfig() fix translation "); | 397 | // qDebug("KOPrefs::usrReadConfig() fix translation "); |
398 | if ( mPreferredLanguage > 0 && mPreferredLanguage < 4 ) { | 398 | if ( mPreferredLanguage > 0 && mPreferredLanguage < 5 ) { |
399 | if ( mPreferredLanguage == 1 ) { | 399 | if ( mPreferredLanguage == 1 ) { |
400 | mLocaleDict = new QDict<QString>; | 400 | mLocaleDict = new QDict<QString>; |
401 | int i = 0; | 401 | int i = 0; |
402 | QString fw ( germanwords[i] [0]); | 402 | QString fw ( germanwords[i] [0]); |
403 | while ( !fw.isEmpty() ) { | 403 | while ( !fw.isEmpty() ) { |
404 | mLocaleDict->insert( fw, new QString (germanwords[i] [1] )); | 404 | mLocaleDict->insert( fw, new QString (germanwords[i] [1] )); |
405 | ++i; | 405 | ++i; |
406 | fw = germanwords[i] [0]; | 406 | fw = germanwords[i] [0]; |
407 | } | 407 | } |
408 | 408 | ||
409 | setLocaleDict( mLocaleDict ); | 409 | setLocaleDict( mLocaleDict ); |
410 | } else { | 410 | } else { |
411 | QString fileName ; | 411 | QString fileName ; |
412 | if ( mPreferredLanguage == 4 ) | 412 | if ( mPreferredLanguage == 4 ) |
413 | fileName = MainWindow::resourcePath()+"usertranslation.txt"; | 413 | fileName = MainWindow::resourcePath()+"usertranslation.txt"; |
414 | else if ( mPreferredLanguage == 2 ) | 414 | else if ( mPreferredLanguage == 2 ) |
415 | fileName = MainWindow::resourcePath()+"frenchtranslation.txt"; | 415 | fileName = MainWindow::resourcePath()+"frenchtranslation.txt"; |
416 | else if ( mPreferredLanguage == 3 ) | 416 | else if ( mPreferredLanguage == 3 ) |
417 | fileName = MainWindow::resourcePath()+"italiantranslation.txt"; | 417 | fileName = MainWindow::resourcePath()+"italiantranslation.txt"; |
418 | QFile file( fileName ); | 418 | QFile file( fileName ); |
419 | if (file.open( IO_ReadOnly ) ) { | 419 | if (file.open( IO_ReadOnly ) ) { |
420 | QTextStream ts( &file ); | 420 | QTextStream ts( &file ); |
421 | ts.setEncoding( QTextStream::Latin1 ); | 421 | ts.setEncoding( QTextStream::Latin1 ); |
422 | //ts.setCodec( QTextCodec::latin1 ); | 422 | //ts.setCodec( QTextCodec::latin1 ); |
423 | QString text = ts.read(); | 423 | QString text = ts.read(); |
424 | file.close(); | 424 | file.close(); |
425 | text.replace( QRegExp("\\\\n"), "\n" ); | 425 | text.replace( QRegExp("\\\\n"), "\n" ); |
426 | QString line; | 426 | QString line; |
427 | QString we; | 427 | QString we; |
428 | QString wt; | 428 | QString wt; |
429 | int br = 0; | 429 | int br = 0; |
430 | int nbr; | 430 | int nbr; |
431 | nbr = text.find ( "},", br ); | 431 | nbr = text.find ( "},", br ); |
432 | line = text.mid( br, nbr - br ); | 432 | line = text.mid( br, nbr - br ); |
433 | br = nbr+1; | 433 | br = nbr+1; |
434 | int se, ee, st, et; | 434 | int se, ee, st, et; |
435 | mLocaleDict = new QDict<QString>; | 435 | mLocaleDict = new QDict<QString>; |
436 | QString end = "{ \"\",\"\" }"; | 436 | QString end = "{ \"\",\"\" }"; |
437 | while ( (line != end) && (br > 1) ) { | 437 | while ( (line != end) && (br > 1) ) { |
438 | //qDebug("%d *%s* ", br, line.latin1()); | 438 | //qDebug("%d *%s* ", br, line.latin1()); |
439 | se = line.find("\"")+1; | 439 | se = line.find("\"")+1; |
440 | et = line.findRev("\"",-1); | 440 | et = line.findRev("\"",-1); |
441 | ee = line.find("\",\""); | 441 | ee = line.find("\",\""); |
442 | st = ee+3; | 442 | st = ee+3; |
443 | we = line.mid( se, ee-se ); | 443 | we = line.mid( se, ee-se ); |
444 | wt = line.mid( st, et-st ); | 444 | wt = line.mid( st, et-st ); |
445 | //qDebug("*%s* *%s* ", we.latin1(), wt.latin1()); | 445 | //qDebug("*%s* *%s* ", we.latin1(), wt.latin1()); |
446 | mLocaleDict->insert( we, new QString (wt) ); | 446 | mLocaleDict->insert( we, new QString (wt) ); |
447 | nbr = text.find ( "}", br ); | 447 | nbr = text.find ( "}", br ); |
448 | line = text.mid( br, nbr - br ); | 448 | line = text.mid( br, nbr - br ); |
449 | br = nbr+1; | 449 | br = nbr+1; |
450 | } | 450 | } |
451 | //qDebug("end *%s* ", end.latin1()); | 451 | //qDebug("end *%s* ", end.latin1()); |
452 | 452 | ||
453 | setLocaleDict( mLocaleDict ); | 453 | setLocaleDict( mLocaleDict ); |
454 | } else { | 454 | } else { |
455 | qDebug("KO: Cannot find translation file %s",fileName.latin1() ); | 455 | qDebug("KO: Cannot find translation file %s",fileName.latin1() ); |
456 | } | 456 | } |
457 | 457 | ||
458 | } | 458 | } |
459 | } | 459 | } |
460 | config()->setGroup("General"); | 460 | config()->setGroup("General"); |
461 | 461 | ||
462 | mCustomCategories = config()->readListEntry("Custom Categories"); | 462 | mCustomCategories = config()->readListEntry("Custom Categories"); |
463 | if ( KOPrefs::instance()->mLanguageChanged ) { | 463 | if ( KOPrefs::instance()->mLanguageChanged ) { |
464 | mLocationDefaults.clear(); | 464 | mLocationDefaults.clear(); |
465 | mEventSummaryUser.clear(); | 465 | mEventSummaryUser.clear(); |
466 | mTodoSummaryUser.clear(); | 466 | mTodoSummaryUser.clear(); |
467 | } | 467 | } |
468 | if (mLocationDefaults.isEmpty()) { | 468 | if (mLocationDefaults.isEmpty()) { |
469 | mLocationDefaults << i18n("Home") << i18n("Office") << i18n("Library") << i18n("School") << i18n("Doctor") << i18n("Beach") | 469 | mLocationDefaults << i18n("Home") << i18n("Office") << i18n("Library") << i18n("School") << i18n("Doctor") << i18n("Beach") |
470 | << i18n("University") << i18n("Restaurant") << i18n("Bar") << i18n("Conference room") << i18n("Cinema") << i18n("Lake") << i18n("Kindergarten") | 470 | << i18n("University") << i18n("Restaurant") << i18n("Bar") << i18n("Conference room") << i18n("Cinema") << i18n("Lake") << i18n("Kindergarten") |
471 | << i18n("Germany") << i18n("Sweden") << i18n("Forest") << i18n("Desert") << i18n("Kitchen") ; | 471 | << i18n("Germany") << i18n("Sweden") << i18n("Forest") << i18n("Desert") << i18n("Kitchen") ; |
472 | // << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") | 472 | // << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") |
473 | mLocationDefaults.sort(); | 473 | mLocationDefaults.sort(); |
474 | } | 474 | } |
475 | 475 | ||
476 | if (mEventSummaryUser.isEmpty()) { | 476 | if (mEventSummaryUser.isEmpty()) { |
477 | mEventSummaryUser = getDefaultList() ; | 477 | mEventSummaryUser = getDefaultList() ; |
478 | } | 478 | } |
479 | if (mTodoSummaryUser.isEmpty()) { | 479 | if (mTodoSummaryUser.isEmpty()) { |
480 | mTodoSummaryUser = getDefaultList() ; | 480 | mTodoSummaryUser = getDefaultList() ; |
481 | } | 481 | } |
482 | 482 | ||
483 | if (mCustomCategories.isEmpty()) setCategoryDefaults(); | 483 | if (mCustomCategories.isEmpty()) setCategoryDefaults(); |
484 | 484 | ||
485 | config()->setGroup("Personal Settings"); | 485 | config()->setGroup("Personal Settings"); |
486 | mName = config()->readEntry("user_name",""); | 486 | mName = config()->readEntry("user_name",""); |
487 | mEmail = config()->readEntry("user_email",""); | 487 | mEmail = config()->readEntry("user_email",""); |
488 | fillMailDefaults(); | 488 | fillMailDefaults(); |
489 | 489 | ||
490 | config()->setGroup("Category Colors"); | 490 | config()->setGroup("Category Colors"); |
491 | QStringList::Iterator it; | 491 | QStringList::Iterator it; |
492 | for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { | 492 | for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { |
493 | setCategoryColor(*it,config()->readColorEntry(*it,&mDefaultCategoryColor)); | 493 | setCategoryColor(*it,config()->readColorEntry(*it,&mDefaultCategoryColor)); |
494 | 494 | ||
495 | } | 495 | } |
496 | 496 | ||
497 | if (mTimeZoneId.isEmpty()) { | 497 | if (mTimeZoneId.isEmpty()) { |
498 | setTimeZoneIdDefault(); | 498 | setTimeZoneIdDefault(); |
499 | } | 499 | } |
500 | KPimPrefs::usrReadConfig(); | 500 | KPimPrefs::usrReadConfig(); |
501 | } | 501 | } |
502 | 502 | ||
503 | 503 | ||
504 | void KOPrefs::usrWriteConfig() | 504 | void KOPrefs::usrWriteConfig() |
505 | { | 505 | { |
506 | config()->setGroup("General"); | 506 | config()->setGroup("General"); |
507 | config()->writeEntry("Custom Categories",mCustomCategories); | 507 | config()->writeEntry("Custom Categories",mCustomCategories); |
508 | 508 | ||
509 | config()->setGroup("Personal Settings"); | 509 | config()->setGroup("Personal Settings"); |
510 | config()->writeEntry("user_name",mName); | 510 | config()->writeEntry("user_name",mName); |
511 | config()->writeEntry("user_email",mEmail); | 511 | config()->writeEntry("user_email",mEmail); |
512 | 512 | ||
513 | config()->setGroup("Category Colors"); | 513 | config()->setGroup("Category Colors"); |
514 | QDictIterator<QColor> it(mCategoryColors); | 514 | QDictIterator<QColor> it(mCategoryColors); |
515 | while (it.current()) { | 515 | while (it.current()) { |
516 | config()->writeEntry(it.currentKey(),*(it.current())); | 516 | config()->writeEntry(it.currentKey(),*(it.current())); |
517 | ++it; | 517 | ++it; |
518 | } | 518 | } |
519 | 519 | ||
520 | 520 | ||
521 | KPimPrefs::usrWriteConfig(); | 521 | KPimPrefs::usrWriteConfig(); |
522 | } | 522 | } |
523 | 523 | ||
524 | void KOPrefs::setCategoryColor(QString cat,const QColor & color) | 524 | void KOPrefs::setCategoryColor(QString cat,const QColor & color) |
525 | { | 525 | { |
526 | mCategoryColors.replace(cat,new QColor(color)); | 526 | mCategoryColors.replace(cat,new QColor(color)); |
527 | } | 527 | } |
528 | 528 | ||
529 | QColor *KOPrefs::categoryColor(QString cat) | 529 | QColor *KOPrefs::categoryColor(QString cat) |
530 | { | 530 | { |
531 | QColor *color = 0; | 531 | QColor *color = 0; |
532 | 532 | ||
533 | if (!cat.isEmpty()) color = mCategoryColors[cat]; | 533 | if (!cat.isEmpty()) color = mCategoryColors[cat]; |
534 | 534 | ||
535 | if (color) return color; | 535 | if (color) return color; |
536 | else return &mDefaultCategoryColor; | 536 | else return &mDefaultCategoryColor; |
537 | } | 537 | } |
538 | 538 | ||
539 | void KOPrefs::setFullName(const QString &name) | 539 | void KOPrefs::setFullName(const QString &name) |
540 | { | 540 | { |
541 | mName = name; | 541 | mName = name; |
542 | } | 542 | } |
543 | 543 | ||
544 | void KOPrefs::setEmail(const QString &email) | 544 | void KOPrefs::setEmail(const QString &email) |
545 | { | 545 | { |
546 | //qDebug(" KOPrefs::setEmai*********** %s",email.latin1() ); | 546 | //qDebug(" KOPrefs::setEmai*********** %s",email.latin1() ); |
547 | mEmail = email; | 547 | mEmail = email; |
548 | } | 548 | } |
549 | 549 | ||
550 | QString KOPrefs::fullName() | 550 | QString KOPrefs::fullName() |
551 | { | 551 | { |
552 | if (mEmailControlCenter) { | 552 | if (mEmailControlCenter) { |
553 | KEMailSettings settings; | 553 | KEMailSettings settings; |
554 | return settings.getSetting(KEMailSettings::RealName); | 554 | return settings.getSetting(KEMailSettings::RealName); |
555 | } else { | 555 | } else { |
556 | return mName; | 556 | return mName; |
557 | } | 557 | } |
558 | } | 558 | } |
559 | 559 | ||
560 | QString KOPrefs::email() | 560 | QString KOPrefs::email() |
561 | { | 561 | { |
562 | if (mEmailControlCenter) { | 562 | if (mEmailControlCenter) { |
563 | KEMailSettings settings; | 563 | KEMailSettings settings; |
564 | return settings.getSetting(KEMailSettings::EmailAddress); | 564 | return settings.getSetting(KEMailSettings::EmailAddress); |
565 | } else { | 565 | } else { |
566 | return mEmail; | 566 | return mEmail; |
567 | } | 567 | } |
568 | } | 568 | } |
569 | KConfig* KOPrefs::getConfig() | 569 | KConfig* KOPrefs::getConfig() |
570 | { | 570 | { |
571 | return config(); | 571 | return config(); |
572 | } | 572 | } |