author | zautrix <zautrix> | 2005-04-14 18:10:19 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-14 18:10:19 (UTC) |
commit | d334d77ab00b91b9527bb5992b476c656c88b2fa (patch) (unidiff) | |
tree | 59679cec875179b5b469830e43303cb9480ab1ac | |
parent | bbdca90c599aaea557d31552c6bc33fc15e397cd (diff) | |
download | kdepimpi-d334d77ab00b91b9527bb5992b476c656c88b2fa.zip kdepimpi-d334d77ab00b91b9527bb5992b476c656c88b2fa.tar.gz kdepimpi-d334d77ab00b91b9527bb5992b476c656c88b2fa.tar.bz2 |
transl fix
-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 16 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 7 |
2 files changed, 13 insertions, 10 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index ca73f9b..4d44e32 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt | |||
@@ -96,65 +96,65 @@ | |||
96 | { "Close","Schließen" }, | 96 | { "Close","Schließen" }, |
97 | { "Close this dialog to abort deletion!","Zum Abbrechen des Löschvorganges Dialog schließen!" }, | 97 | { "Close this dialog to abort deletion!","Zum Abbrechen des Löschvorganges Dialog schließen!" }, |
98 | { "Colors","Farben" }, | 98 | { "Colors","Farben" }, |
99 | { "completed","erledigt" }, | 99 | { "completed","erledigt" }, |
100 | { "completed on %1","erledigt am %1" }, | 100 | { "completed on %1","erledigt am %1" }, |
101 | { "Complete","Erledigt" }, | 101 | { "Complete","Erledigt" }, |
102 | { "Confidential","Vertraulich" }, | 102 | { "Confidential","Vertraulich" }, |
103 | { "Configure...","Einstellungen..." }, | 103 | { "Configure...","Einstellungen..." }, |
104 | { "Confirm &deletes","Löschvogang bestätigen" }, | 104 | { "Confirm &deletes","Löschvogang bestätigen" }, |
105 | { "Couldn't load calendar\n '%1'.","Kann Kalender\n '%1' nicht laden." }, | 105 | { "Couldn't load calendar\n '%1'.","Kann Kalender\n '%1' nicht laden." }, |
106 | { "Counter-event Viewer","Terminzähler Ansicht" }, | 106 | { "Counter-event Viewer","Terminzähler Ansicht" }, |
107 | { "Daily ending hour:","Feierabend:" }, | 107 | { "Daily ending hour:","Feierabend:" }, |
108 | { "Daily starting hour:","Anfangszeit:" }, | 108 | { "Daily starting hour:","Anfangszeit:" }, |
109 | { "Daily","Täglich" }, | 109 | { "Daily","Täglich" }, |
110 | { "Date Format","Datums Format" }, | 110 | { "Date Format","Datums Format" }, |
111 | { "Date Format:","Datums Format:" }, | 111 | { "Date Format:","Datums Format:" }, |
112 | { "DateNavigator:(nr)","Datums Navigator" }, | 112 | { "DateNavigator:(nr)","Datums Navigator" }, |
113 | { "Dates: ","Datum: " }, | 113 | { "Dates: ","Datum: " }, |
114 | { "Date && Time","Datum && Zeit" }, | 114 | { "Date && Time","Datum && Zeit" }, |
115 | { "Day begins at:","Der Tag beginnt um:" }, | 115 | { "Day begins at:","Der Tag beginnt um:" }, |
116 | { "Days in Next-X-Days:","Tage in Nächste-X-Tage:" }, | 116 | { "Days in Next-X-Days:","Tage in Nächste-X-Tage:" }, |
117 | { "Days in What's Next:","Tage in What's Next:" }, | 117 | { "Days in What's Next:","Tage in What's Next:" }, |
118 | { "day(s)","Tag(e)" }, | 118 | { "day(s)","Tag(e)" }, |
119 | { "Days to show in Next-X-Days view:","Welche Tage in Nächste-X-Tagen anzeigen:" }, | 119 | { "Days to show in Next-X-Days view:","Welche Tage in Nächste-X-Tagen anzeigen:" }, |
120 | { "day","Tag" }, | 120 | { "day","Tag" }, |
121 | { "Dec","Dez" }, | 121 | { "Dec","Dez" }, |
122 | { "December","Dezember" }, | 122 | { "December","Dezember" }, |
123 | { "Default alarm time:","Standard Alarmzeit:" }, | 123 | { "Default alarm time:","Standard Alarmzeit:" }, |
124 | { "Default appointment time:","Standard Termin Startzeit:" }, | 124 | { "Default appointment time:","Standard Termin Startzeit:" }, |
125 | { "Default event color:","Standard Terminfarbe:" }, | 125 | { "Default event color:","Standard Terminfarbe:" }, |
126 | { "Default","Standard" }, | 126 | { "Default","Standard" }, |
127 | { "Def. duration of new app.:","Standard Termin Länge:" }, | 127 | { "Def. duration of new app.:","Standard Termin Länge:" }, |
128 | { "Delete all completed To-Dos?","Alle bereits erledigten Todos löschen?" }, | 128 | { "Delete all completed ToDos?","Alle bereits erledigten Todos löschen?" }, |
129 | { "Delete All","Lösche alles" }, | 129 | { "Delete All","Lösche alles" }, |
130 | { "Delete all selected","Lösche alle Selektierten" }, | 130 | { "Delete all selected","Lösche alle Selektierten" }, |
131 | { "Delete Current","Aktuellen löschen" }, | 131 | { "Delete Current","Aktuellen löschen" }, |
132 | { "Delete Event...","Lösche Termin..." }, | 132 | { "Delete Event...","Lösche Termin..." }, |
133 | { "Delete Event","Lösche Termin" }, | 133 | { "Delete Event","Lösche Termin" }, |
134 | { "&Delete","Löschen" }, | 134 | { "&Delete","Löschen" }, |
135 | { "Delete...","Löschen..." }, | 135 | { "Delete...","Löschen..." }, |
136 | { "Delete","Löschen" }, | 136 | { "Delete","Löschen" }, |
137 | { "Delete Todo...","Lösche Todo..." }, | 137 | { "Delete Todo...","Lösche Todo..." }, |
138 | { "Delete To-Do","Lösche Todo" }, | 138 | { "Delete To-Do","Lösche Todo" }, |
139 | { "Deleting item %d ...","Lösche Eintrag %d..." }, | 139 | { "Deleting item %d ...","Lösche Eintrag %d..." }, |
140 | { "Descriptions","Beschreibungen" }, | 140 | { "Descriptions","Beschreibungen" }, |
141 | { "Deselect all","Deselektiere Alle" }, | 141 | { "Deselect all","Deselektiere Alle" }, |
142 | { "Details","Details" }, | 142 | { "Details","Details" }, |
143 | { "Dinner","Abendessen" }, | 143 | { "Dinner","Abendessen" }, |
144 | { "Do you really want\nto close KO/Pi?","Möchten Sie wirklich\nKO/PI verlassen?" }, | 144 | { "Do you really want\nto close KO/Pi?","Möchten Sie wirklich\nKO/PI verlassen?" }, |
145 | { "Due Date","Fällig am" }, | 145 | { "Due Date","Fällig am" }, |
146 | { "Due: ","Fällig: "}, | 146 | { "Due: ","Fällig: "}, |
147 | { "Due Time","Fällig um" }, | 147 | { "Due Time","Fällig um" }, |
148 | { "Due:","Fällig:"}, | 148 | { "Due:","Fällig:"}, |
149 | { "Duration: ","Dauer: " }, | 149 | { "Duration: ","Dauer: " }, |
150 | { "Edit...","Bearbeite..." }, | 150 | { "Edit...","Bearbeite..." }, |
151 | { "Edit","Bearbeite" }, | 151 | { "Edit","Bearbeite" }, |
152 | { "Edit Event...","Bearbeite Termin..." }, | 152 | { "Edit Event...","Bearbeite Termin..." }, |
153 | { "Edit Event","Bearbeite Termin" }, | 153 | { "Edit Event","Bearbeite Termin" }, |
154 | { "Edit exceptions","Bearbeite Ausnahmen" }, | 154 | { "Edit exceptions","Bearbeite Ausnahmen" }, |
155 | { "EditorBox:","Editor Fenster:" }, | 155 | { "EditorBox:","Editor Fenster:" }, |
156 | { "Edit Recurrence Range","Bearbeite Wiederholung" }, | 156 | { "Edit Recurrence Range","Bearbeite Wiederholung" }, |
157 | { "Edit Todo...","Berabeite Todo..." }, | 157 | { "Edit Todo...","Berabeite Todo..." }, |
158 | { "Edit To-Do","Todo bearbeiten" }, | 158 | { "Edit To-Do","Todo bearbeiten" }, |
159 | { "E&mail address:","E&mail Adresse:" }, | 159 | { "E&mail address:","E&mail Adresse:" }, |
160 | { "(EmptyEmail)","(KeineEmail)" }, | 160 | { "(EmptyEmail)","(KeineEmail)" }, |
@@ -281,65 +281,65 @@ | |||
281 | { "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" }, | 281 | { "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" }, |
282 | { "occurrence(s)","Vorkommen" }, | 282 | { "occurrence(s)","Vorkommen" }, |
283 | { "October","Oktober" }, | 283 | { "October","Oktober" }, |
284 | { "Oct","Okt", }, | 284 | { "Oct","Okt", }, |
285 | { "O-due!","Ü-fällig! " }, | 285 | { "O-due!","Ü-fällig! " }, |
286 | { "&OK","&OK" }, | 286 | { "&OK","&OK" }, |
287 | { "Ok+Show!","Ok+Anzeigen" }, | 287 | { "Ok+Show!","Ok+Anzeigen" }, |
288 | { "Organizer: %1","Organisator %1" }, | 288 | { "Organizer: %1","Organisator %1" }, |
289 | { "Organizer","Organisator" }, | 289 | { "Organizer","Organisator" }, |
290 | { "Owner: ","Besitzer: " }, | 290 | { "Owner: ","Besitzer: " }, |
291 | { "Owner:","Besitzer:" }, | 291 | { "Owner:","Besitzer:" }, |
292 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, | 292 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, |
293 | { "Pick a date to display","Wähle einen Tag zum anzeigen aus" }, | 293 | { "Pick a date to display","Wähle einen Tag zum anzeigen aus" }, |
294 | { "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."}, | 294 | { "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."}, |
295 | { "Please specify a valid end date,\nfor example '%1'.","Bitte gültiges Enddatum angeben,\nz.B.'%1'." }, | 295 | { "Please specify a valid end date,\nfor example '%1'.","Bitte gültiges Enddatum angeben,\nz.B.'%1'." }, |
296 | { "Please specify a valid start date.","Bitte gültiges Startdatum angeben." }, | 296 | { "Please specify a valid start date.","Bitte gültiges Startdatum angeben." }, |
297 | { "Please specify a valid start date,\nfor example '%1'.","Bitte gültiges Startdatum angeben,\nz.B. '%1'." }, | 297 | { "Please specify a valid start date,\nfor example '%1'.","Bitte gültiges Startdatum angeben,\nz.B. '%1'." }, |
298 | { "Please specify a valid start time.","Bitte gültige Startzeit angeben."}, | 298 | { "Please specify a valid start time.","Bitte gültige Startzeit angeben."}, |
299 | { "Please specify a valid start time,\nfor example '%1'.","Bitte gültige Startzeit angeben,\nz.B. '%1'." }, | 299 | { "Please specify a valid start time,\nfor example '%1'.","Bitte gültige Startzeit angeben,\nz.B. '%1'." }, |
300 | { "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" }, | 300 | { "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" }, |
301 | { "&Previous Day","Vorheriger Tag" }, | 301 | { "&Previous Day","Vorheriger Tag" }, |
302 | { "Previous month","Vorheriger Monat" }, | 302 | { "Previous month","Vorheriger Monat" }, |
303 | { "Previous Month","Vorheriger Monat" }, | 303 | { "Previous Month","Vorheriger Monat" }, |
304 | { "&Previous Week","Vorherige Woche" }, | 304 | { "&Previous Week","Vorherige Woche" }, |
305 | { "Previous year","Vorheriges Jahr" }, | 305 | { "Previous year","Vorheriges Jahr" }, |
306 | { "Previous Year","Vorheriges Jahr" }, | 306 | { "Previous Year","Vorheriges Jahr" }, |
307 | { "Printing","Drucken" }, | 307 | { "Printing","Drucken" }, |
308 | { "Priority:","Priorität:" }, | 308 | { "Priority:","Priorität:" }, |
309 | { "Private","Privat" }, | 309 | { "Private","Privat" }, |
310 | { "Proceed","Weiter" }, | 310 | { "Proceed","Weiter" }, |
311 | { "Public","Öffentlich" }, | 311 | { "Public","Öffentlich" }, |
312 | { "Purge","Entferne" }, | 312 | { "Purge","Entferne" }, |
313 | { "Purge Completed","Entferne erledigte ToDos" }, | 313 | { "Purge Completed","Entferne erledigte Todos" }, |
314 | { "Purge To-Dos","Todos bereinigen" }, | 314 | { "Purge To-Dos","Todos bereinigen" }, |
315 | { "read-only","schreibgeschützt" }, | 315 | { "read-only","schreibgeschützt" }, |
316 | { "Recur every","Wiederh. alle" }, | 316 | { "Recur every","Wiederh. alle" }, |
317 | { "Recur in the month of","Wiederh. im Monat" }, | 317 | { "Recur in the month of","Wiederh. im Monat" }, |
318 | { "Recur on the","Wiederh. am" }, | 318 | { "Recur on the","Wiederh. am" }, |
319 | { "Recur on this day","Wiederh. am diesen Tag" }, | 319 | { "Recur on this day","Wiederh. am diesen Tag" }, |
320 | { "Recurrence Range...","Wiederholungs Zeitraum..." }, | 320 | { "Recurrence Range...","Wiederholungs Zeitraum..." }, |
321 | { "Recurrence Range","Wiederholungs Zeitraum" }, | 321 | { "Recurrence Range","Wiederholungs Zeitraum" }, |
322 | { "Recurrence Rule","Wiederholungs Regel" }, | 322 | { "Recurrence Rule","Wiederholungs Regel" }, |
323 | { "Recurrence","Wiederholung" }, | 323 | { "Recurrence","Wiederholung" }, |
324 | { "Recurs","Wiederholung" }, | 324 | { "Recurs","Wiederholung" }, |
325 | {"&Reject","Abweisen"}, | 325 | {"&Reject","Abweisen"}, |
326 | { "Reminder:","Alarm:" }, | 326 | { "Reminder:","Alarm:" }, |
327 | { "Rem.:","Alarm:" }, | 327 | { "Rem.:","Alarm:" }, |
328 | { "Rem.","Alarm:" }, | 328 | { "Rem.","Alarm:" }, |
329 | { "Remote file:","Remote Datei:"}, | 329 | { "Remote file:","Remote Datei:"}, |
330 | { "Remote IP:","Remote (ferne) IP:" }, | 330 | { "Remote IP:","Remote (ferne) IP:" }, |
331 | { "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " }, | 331 | { "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " }, |
332 | { "Remote user:","Remote Benutzer"}, | 332 | { "Remote user:","Remote Benutzer"}, |
333 | { "&Remove","Entfe&rnen" }, | 333 | { "&Remove","Entfe&rnen" }, |
334 | { "Remove","Entfernen" }, | 334 | { "Remove","Entfernen" }, |
335 | { "Request response","Bemerkung anfordern" }, | 335 | { "Request response","Bemerkung anfordern" }, |
336 | { "Role:","Rolle:" }, | 336 | { "Role:","Rolle:" }, |
337 | { "Role","Rolle" }, | 337 | { "Role","Rolle" }, |
338 | { "Sat","Sa" }, | 338 | { "Sat","Sa" }, |
339 | { "Saturday","Samstag" }, | 339 | { "Saturday","Samstag" }, |
340 | { "Search for:","Suche nach:" }, | 340 | { "Search for:","Suche nach:" }, |
341 | { "Search In","Suche in" }, | 341 | { "Search In","Suche in" }, |
342 | { "Search...","Suche..." }, | 342 | { "Search...","Suche..." }, |
343 | { "Search","Suche" }, | 343 | { "Search","Suche" }, |
344 | { "Select Addresses","Wähle Adressen" }, | 344 | { "Select Addresses","Wähle Adressen" }, |
345 | { "Select all","Selektiere Alle" }, | 345 | { "Select all","Selektiere Alle" }, |
@@ -850,110 +850,110 @@ | |||
850 | { "4","4" }, | 850 | { "4","4" }, |
851 | { " 0 %"," 0 %" }, | 851 | { " 0 %"," 0 %" }, |
852 | { " 20 %"," 20 %" }, | 852 | { " 20 %"," 20 %" }, |
853 | { " 40 %"," 40 %" }, | 853 | { " 40 %"," 40 %" }, |
854 | { " 60 %"," 60 %" }, | 854 | { " 60 %"," 60 %" }, |
855 | { " 80 %"," 80 %" }, | 855 | { " 80 %"," 80 %" }, |
856 | { "100 %","100 %" }, | 856 | { "100 %","100 %" }, |
857 | { "Filter","Filter" }, | 857 | { "Filter","Filter" }, |
858 | { "Configure","Konfiguriere" }, | 858 | { "Configure","Konfiguriere" }, |
859 | { "What's Next","What's Next" }, | 859 | { "What's Next","What's Next" }, |
860 | { "Complete calendar...","Kompletten Kalender..." }, | 860 | { "Complete calendar...","Kompletten Kalender..." }, |
861 | { "Filtered calendar...","Gefilterten Kalender..." }, | 861 | { "Filtered calendar...","Gefilterten Kalender..." }, |
862 | { "Export to phone","Exportiere zum Handy" }, | 862 | { "Export to phone","Exportiere zum Handy" }, |
863 | { "Beam receive enabled","Beam Empfang an" }, | 863 | { "Beam receive enabled","Beam Empfang an" }, |
864 | { "What's new?","Was ist neu?" }, | 864 | { "What's new?","Was ist neu?" }, |
865 | { "FAQ...","FAQ..." }, | 865 | { "FAQ...","FAQ..." }, |
866 | { "Licence...","Licence..." }, | 866 | { "Licence...","Licence..." }, |
867 | { "What's This?","What's This?" }, | 867 | { "What's This?","What's This?" }, |
868 | { "&Edit...","&Editiere..." }, | 868 | { "&Edit...","&Editiere..." }, |
869 | { "Oktober","Oktober" }, | 869 | { "Oktober","Oktober" }, |
870 | { "Title","Titel" }, | 870 | { "Title","Titel" }, |
871 | { "%1 %","%1 %" }, | 871 | { "%1 %","%1 %" }, |
872 | { "Enable Pi-Sync","Schalte Pi-Sync an" }, | 872 | { "Enable Pi-Sync","Schalte Pi-Sync an" }, |
873 | { "Import!","Importiere!" }, | 873 | { "Import!","Importiere!" }, |
874 | { "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" }, | 874 | { "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" }, |
875 | { "Export to phone options","Export ans Handy Optionen" }, | 875 | { "Export to phone options","Export ans Handy Optionen" }, |
876 | { "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." }, | 876 | { "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." }, |
877 | { "I/O device: ","I/O device: " }, | 877 | { "I/O device: ","I/O device: " }, |
878 | { "Connection: ","Connection: " }, | 878 | { "Connection: ","Connection: " }, |
879 | { "Model(opt.): ","Model(opt.): " }, | 879 | { "Model(opt.): ","Model(opt.): " }, |
880 | { "Write back events in future only","Schreibe nur zukünftige Termine zurück" }, | 880 | { "Write back events in future only","Schreibe nur zukünftige Termine zurück" }, |
881 | { "Max. weeks in future: ","Max. Wochen in der Zukunft: " }, | 881 | { "Max. weeks in future: ","Max. Wochen in der Zukunft: " }, |
882 | { "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nToDo/Kalender Daten auf dem Handy!" }, | 882 | { "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nTodo/Kalender Daten auf dem Handy!" }, |
883 | { "Export to mobile phone!","Exportiere auf das Handy!" }, | 883 | { "Export to mobile phone!","Exportiere auf das Handy!" }, |
884 | { "Export complete calendar","Exportiere kompletten Kalender" }, | 884 | { "Export complete calendar","Exportiere kompletten Kalender" }, |
885 | { "Writing to phone...","Sende Daten ans Handy..." }, | 885 | { "Writing to phone...","Sende Daten ans Handy..." }, |
886 | { " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" }, | 886 | { " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" }, |
887 | { "Retry","Nochmal versuchen" }, | 887 | { "Retry","Nochmal versuchen" }, |
888 | { "KDE/Pim phone access","KDE/Pim Handy Zugriff" }, | 888 | { "KDE/Pim phone access","KDE/Pim Handy Zugriff" }, |
889 | { "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" }, | 889 | { "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" }, |
890 | { "Error exporting to phone!","Fehler beim Export auf das Handy!" }, | 890 | { "Error exporting to phone!","Fehler beim Export auf das Handy!" }, |
891 | { "Export filtered calendar","Exportiere gefilterten Kalender" }, | 891 | { "Export filtered calendar","Exportiere gefilterten Kalender" }, |
892 | { "Preferences","Vorlieben" }, | 892 | { "Preferences","Vorlieben" }, |
893 | { "Global","Global" }, | 893 | { "Global","Global" }, |
894 | { "Phone","Phone" }, | 894 | { "Phone","Phone" }, |
895 | { "SMS","SMS" }, | 895 | { "SMS","SMS" }, |
896 | { "Fax","Fax" }, | 896 | { "Fax","Fax" }, |
897 | { "Pager","Pager" }, | 897 | { "Pager","Pager" }, |
898 | { "SIP","SIP" }, | 898 | { "SIP","SIP" }, |
899 | { "Italian","Italienisch" }, | 899 | { "Italian","Italienisch" }, |
900 | { "24:00","24:00" }, | 900 | { "24:00","24:00" }, |
901 | { "12:00am","12:00am" }, | 901 | { "12:00am","12:00am" }, |
902 | { "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, | 902 | { "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, |
903 | { "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, | 903 | { "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, |
904 | { "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, | 904 | { "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, |
905 | { "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, | 905 | { "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, |
906 | { "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, | 906 | { "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, |
907 | { "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, | 907 | { "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, |
908 | { "Used Mail Client","Benutzter Mail Client" }, | 908 | { "Used Mail Client","Benutzter Mail Client" }, |
909 | { "Channel:","Channel:" }, | 909 | { "Channel:","Channel:" }, |
910 | { "Message:","Message:" }, | 910 | { "Message:","Message:" }, |
911 | { "Parameters:","Parameter:" }, | 911 | { "Parameters:","Parameter:" }, |
912 | { "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, | 912 | { "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, |
913 | { "extra Message:","extra Message:" }, | 913 | { "extra Message:","extra Message:" }, |
914 | { "extra Parameters:","extra Parameter:" }, | 914 | { "extra Parameters:","extra Parameter:" }, |
915 | { "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, | 915 | { "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, |
916 | { "External Apps.","Externe Appl." }, | 916 | { "External Apps.","Externe Appl." }, |
917 | { "24 hours","24 Std." }, | 917 | { "24 hours","24 Std." }, |
918 | { "3 hours","3 Std." }, | 918 | { "3 hours","3 Std." }, |
919 | { "1 hour","1 Std." }, | 919 | { "1 hour","1 Std." }, |
920 | { "15 minutes","15 Min." }, | 920 | { "15 minutes","15 Min." }, |
921 | { "5 minutes","5 Min." }, | 921 | { "5 minutes","5 Min." }, |
922 | { "1 minute","1 Min." }, | 922 | { "1 minute","1 Min." }, |
923 | { "23","23" }, | 923 | { "23","23" }, |
924 | { "Mon 15","Mon 15" }, | 924 | { "Mon 15","Mon 15" }, |
925 | { "Configure KO","Konfiguriere KO" }, | 925 | { "Configure KO","Konfiguriere KO" }, |
926 | { "Event text","Termin Text" }, | 926 | { "Event text","Termin Text" }, |
927 | { "ToDo","ToDo" }, | 927 | { "ToDo","Todo" }, |
928 | { "Today","Heute" }, | 928 | { "Today","Heute" }, |
929 | { "What's Next View","What's Next Ansicht" }, | 929 | { "What's Next View","What's Next Ansicht" }, |
930 | { "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" }, | 930 | { "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" }, |
931 | { "Alarm","Alarm" }, | 931 | { "Alarm","Alarm" }, |
932 | { "Used %1 Client","Benutzter %1 Client" }, | 932 | { "Used %1 Client","Benutzter %1 Client" }, |
933 | { "No email client installed","Kein Email Klient installiert" }, | 933 | { "No email client installed","Kein Email Klient installiert" }, |
934 | { "Userdefined email client","Benutzerdef. Email Klient" }, | 934 | { "Userdefined email client","Benutzerdef. Email Klient" }, |
935 | { "OM/Pi email client","OM/Pi Email Klient" }, | 935 | { "OM/Pi email client","OM/Pi Email Klient" }, |
936 | { "Include in multiple ","Beziehe in multiple " }, | 936 | { "Include in multiple ","Beziehe in multiple " }, |
937 | { "calendar ","Kalender " }, | 937 | { "calendar ","Kalender " }, |
938 | { "addressbook ","Adressbuch " }, | 938 | { "addressbook ","Adressbuch " }, |
939 | { "pwmanager","PWmanager" }, | 939 | { "pwmanager","PWmanager" }, |
940 | { " sync"," Sync ein" }, | 940 | { " sync"," Sync ein" }, |
941 | { "Write back synced data","Schreibe gesyncte Daten zurück" }, | 941 | { "Write back synced data","Schreibe gesyncte Daten zurück" }, |
942 | { "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, | 942 | { "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, |
943 | { "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, | 943 | { "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, |
944 | { "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, | 944 | { "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, |
945 | { "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, | 945 | { "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, |
946 | { "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, | 946 | { "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, |
947 | { "Help...","Hilfe..." }, | 947 | { "Help...","Hilfe..." }, |
948 | { "Local file Cal:","Lokale Datei Kal:" }, | 948 | { "Local file Cal:","Lokale Datei Kal:" }, |
949 | { "Local file ABook:","Lokale Datei ABuch:" }, | 949 | { "Local file ABook:","Lokale Datei ABuch:" }, |
950 | { "Local file PWMgr:","Lokale Datei PWMgr:" }, | 950 | { "Local file PWMgr:","Lokale Datei PWMgr:" }, |
951 | { "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, | 951 | { "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, |
952 | { "Calendar:","Kalender:" }, | 952 | { "Calendar:","Kalender:" }, |
953 | { "AddressBook:","AdressBuch:" }, | 953 | { "AddressBook:","AdressBuch:" }, |
954 | { "PWManager:","PWManager:" }, | 954 | { "PWManager:","PWManager:" }, |
955 | { "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, | 955 | { "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, |
956 | { "ssh/scp","ssh/scp" }, | 956 | { "ssh/scp","ssh/scp" }, |
957 | { "ftp","ftp" }, | 957 | { "ftp","ftp" }, |
958 | { "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, | 958 | { "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, |
959 | { "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, | 959 | { "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, |
@@ -1314,44 +1314,50 @@ | |||
1314 | { "\n\nDo you really want to print this item?","\n\nMöchten Sie wirklich diesen Eintrag ausdrucken? " }, | 1314 | { "\n\nDo you really want to print this item?","\n\nMöchten Sie wirklich diesen Eintrag ausdrucken? " }, |
1315 | { "KO/Pi Print Confirmation","KO/Pi Druckbestätigung" }, | 1315 | { "KO/Pi Print Confirmation","KO/Pi Druckbestätigung" }, |
1316 | { "This prints the view as you see it.\n(With the complete content, of course.)\nYou may change the print layout by resizing the view.\nPrint unscaled may print several pages\ndepending on the amount of data.\nPrint scaled down will print all on one page.\nPrint scaled up/down will print all on one page,\nbut will scale up the text to page boundaries,\nif the text is smaller than the page.\nYou can select page geometry setup in the next dialog.\n","Dies druckt die Ansicht wie man sie sieht.\n(Mit dem kompletten Inhalt natürlich.)\nMan kann das Layout ändern durch ändern der Fenstergröße.\nDrucke unskaliert druckt ggf. mehrere Seiten\nabhängig von der Menge der Daten.\nDrucke runterskaliert um auf eine Seite zu passen\ndruckt alles auf eine Seite.\nDrucke hoch/runterskaliert um genau auf eine Seite zu passen\nvergrößert den Text gegebenenfalls.\nDas Seitenlayout kann im nächsten Dialog gewählt werden.\n" }, | 1316 | { "This prints the view as you see it.\n(With the complete content, of course.)\nYou may change the print layout by resizing the view.\nPrint unscaled may print several pages\ndepending on the amount of data.\nPrint scaled down will print all on one page.\nPrint scaled up/down will print all on one page,\nbut will scale up the text to page boundaries,\nif the text is smaller than the page.\nYou can select page geometry setup in the next dialog.\n","Dies druckt die Ansicht wie man sie sieht.\n(Mit dem kompletten Inhalt natürlich.)\nMan kann das Layout ändern durch ändern der Fenstergröße.\nDrucke unskaliert druckt ggf. mehrere Seiten\nabhängig von der Menge der Daten.\nDrucke runterskaliert um auf eine Seite zu passen\ndruckt alles auf eine Seite.\nDrucke hoch/runterskaliert um genau auf eine Seite zu passen\nvergrößert den Text gegebenenfalls.\nDas Seitenlayout kann im nächsten Dialog gewählt werden.\n" }, |
1317 | { "KO/Pi Printout","KO/Pi Ausdruck" }, | 1317 | { "KO/Pi Printout","KO/Pi Ausdruck" }, |
1318 | { "Print unscaled","Drucke unskaliert" }, | 1318 | { "Print unscaled","Drucke unskaliert" }, |
1319 | { "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." }, | 1319 | { "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." }, |
1320 | { "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." }, | 1320 | { "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." }, |
1321 | { "Printout Mode","Druck Modus" }, | 1321 | { "Printout Mode","Druck Modus" }, |
1322 | { "Filter menu icon","Filtermenu Icon" }, | 1322 | { "Filter menu icon","Filtermenu Icon" }, |
1323 | { "<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n","<p><b>A+(shift oder ctrl)</b>: Zeige Zeit bis zum nächsten Alarm</p>\n" }, | 1323 | { "<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n","<p><b>A+(shift oder ctrl)</b>: Zeige Zeit bis zum nächsten Alarm</p>\n" }, |
1324 | { "<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n","<p><b>N</b>: Wechsle zur nächsten Ansicht, die ein Icon in der Toolbar hat</p>\n" }, | 1324 | { "<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n","<p><b>N</b>: Wechsle zur nächsten Ansicht, die ein Icon in der Toolbar hat</p>\n" }, |
1325 | { "%1d","%1t" }, | 1325 | { "%1d","%1t" }, |
1326 | { "%1h","%1std" }, | 1326 | { "%1h","%1std" }, |
1327 | { "%1min","%1min" }, | 1327 | { "%1min","%1min" }, |
1328 | { "( %1 before )","( %1 vorher )" }, | 1328 | { "( %1 before )","( %1 vorher )" }, |
1329 | { "The next alarm is in\nless than one minute!","Der nächste Alarm kommt in\nweniger als einer Minute!" }, | 1329 | { "The next alarm is in\nless than one minute!","Der nächste Alarm kommt in\nweniger als einer Minute!" }, |
1330 | { "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" }, | 1330 | { "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" }, |
1331 | { "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." }, | 1331 | { "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." }, |
1332 | { "Show Sync Events in WN+Agenda","Zeige Sync-Ereignisse in WN+Agenda" }, | 1332 | { "Show Sync Events in WN+Agenda","Zeige Sync-Ereignisse in WN+Agenda" }, |
1333 | { "Use short date in WN+Event view","Zeige Kurzdatum in WN+Terminanzeige" }, | 1333 | { "Use short date in WN+Event view","Zeige Kurzdatum in WN+Terminanzeige" }, |
1334 | { "Number of max.displayed todo prios:","Anzahl max.angezeigter Todo-Prios:" }, | 1334 | { "Number of max.displayed todo prios:","Anzahl max.angezeigter Todo-Prios:" }, |
1335 | { " on "," am " }, | 1335 | { " on "," am " }, |
1336 | { "On: ","Am: " }, | 1336 | { "On: ","Am: " }, |
1337 | { "<i>The recurrence is computed from the start datetime!</i>","<i>Die Wiederholung wird vom Startwert aus berechnet!</i>" }, | 1337 | { "<i>The recurrence is computed from the start datetime!</i>","<i>Die Wiederholung wird vom Startwert aus berechnet!</i>" }, |
1338 | { "Start/Stop todo...","Starte/Stoppe Todo..." }, | 1338 | { "Start/Stop todo...","Starte/Stoppe Todo..." }, |
1339 | { "Color for running todos:","Farbe für laufende Todos:" }, | 1339 | { "Color for running todos:","Farbe für laufende Todos:" }, |
1340 | { "The todo\n%1\nis started.\nDo you want to set\nthe state to stopped?","Das Todo\n%1\nist gestartet.\nWollen Sie es\nauf gestoppt setzen?" }, | 1340 | { "The todo\n%1\nis started.\nDo you want to set\nthe state to stopped?","Das Todo\n%1\nist gestartet.\nWollen Sie es\nauf gestoppt setzen?" }, |
1341 | { "Todo is started","Todo is gestarted" }, | 1341 | { "Todo is started","Todo is gestarted" }, |
1342 | { "Stop todo","Stoppe Todo" }, | 1342 | { "Stop todo","Stoppe Todo" }, |
1343 | { "Todo is stopped","Todo ist gestoppt" }, | 1343 | { "Todo is stopped","Todo ist gestoppt" }, |
1344 | { "Start todo","Starte Todo" }, | 1344 | { "Start todo","Starte Todo" }, |
1345 | { "The todo\n%1\nis stopped.\nDo you want to set\nthe state to started?","Das Todo\n%1\nist gestoppt.\nWollen Sie es auf\ngestartet setzen?" }, | 1345 | { "The todo\n%1\nis stopped.\nDo you want to set\nthe state to started?","Das Todo\n%1\nist gestoppt.\nWollen Sie es auf\ngestartet setzen?" }, |
1346 | { "The todo\n%1\nwill be cloned!\nIt has subtodos!\nDo you want to clone\nall subtodos as well?","Das Todo\n%1\nwird geklont!\nEs hat Untertodos!\nMöchten Sie\nalle Untertodos auch klonen?" }, | 1346 | { "The todo\n%1\nwill be cloned!\nIt has subtodos!\nDo you want to clone\nall subtodos as well?","Das Todo\n%1\nwird geklont!\nEs hat Untertodos!\nMöchten Sie alle\nUntertodos auch klonen?" }, |
1347 | { "Todo has subtodos","Todo hat Untertodos" }, | 1347 | { "Todo has subtodos","Todo hat Untertodos" }, |
1348 | { "Block popup until mouse button release","Sperre Popup bis Mausknopf losgelassen" }, | 1348 | { "Block popup until mouse button release","Sperre Popup bis Mausknopf losgelassen" }, |
1349 | { "Alternate background","Abwechselnder Hintergrund" }, | 1349 | { "Alternate background","Abwechselnder Hintergrund" }, |
1350 | { "Colors","Farben" }, | 1350 | { "Colors","Farben" }, |
1351 | { "Click on new parent item","Klicke auf neues Übertodo" }, | ||
1352 | { "Reparenting aborted!","Übertodo setzen abgebrochen" }, | ||
1353 | { "Cannot move Todo to itself\nor a child of itself","Kann nicht Todo auf\nsich selbst oder\nein Untertodo verschieben" }, | ||
1354 | { "Recursive reparenting not possible!","Rekursives Verschieben nicht möglich" }, | ||
1355 | { "","" }, | ||
1356 | { "","" }, | ||
1351 | { "","" }, | 1357 | { "","" }, |
1352 | { "","" }, | 1358 | { "","" }, |
1353 | { "","" }, | 1359 | { "","" }, |
1354 | { "","" }, | 1360 | { "","" }, |
1355 | { "","" }, | 1361 | { "","" }, |
1356 | { "","" }, | 1362 | { "","" }, |
1357 | { "","" }, | 1363 | { "","" }, |
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 7817a75..dd2c081 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp | |||
@@ -132,66 +132,66 @@ void KOTodoListView::contentsDragLeaveEvent(QDragLeaveEvent *) | |||
132 | #endif | 132 | #endif |
133 | } | 133 | } |
134 | 134 | ||
135 | void KOTodoListView::contentsDropEvent(QDropEvent *e) | 135 | void KOTodoListView::contentsDropEvent(QDropEvent *e) |
136 | { | 136 | { |
137 | #ifndef KORG_NODND | 137 | #ifndef KORG_NODND |
138 | // kdDebug() << "KOTodoListView::contentsDropEvent" << endl; | 138 | // kdDebug() << "KOTodoListView::contentsDropEvent" << endl; |
139 | 139 | ||
140 | if ( !ICalDrag::canDecode( e ) && !VCalDrag::canDecode( e ) && | 140 | if ( !ICalDrag::canDecode( e ) && !VCalDrag::canDecode( e ) && |
141 | !QTextDrag::canDecode( e ) ) { | 141 | !QTextDrag::canDecode( e ) ) { |
142 | e->ignore(); | 142 | e->ignore(); |
143 | return; | 143 | return; |
144 | } | 144 | } |
145 | 145 | ||
146 | DndFactory factory( mCalendar ); | 146 | DndFactory factory( mCalendar ); |
147 | Todo *todo = factory.createDropTodo(e); | 147 | Todo *todo = factory.createDropTodo(e); |
148 | 148 | ||
149 | if (todo) { | 149 | if (todo) { |
150 | e->acceptAction(); | 150 | e->acceptAction(); |
151 | 151 | ||
152 | KOTodoViewItem *destination = | 152 | KOTodoViewItem *destination = |
153 | (KOTodoViewItem *)itemAt(contentsToViewport(e->pos())); | 153 | (KOTodoViewItem *)itemAt(contentsToViewport(e->pos())); |
154 | Todo *destinationEvent = 0; | 154 | Todo *destinationEvent = 0; |
155 | if (destination) destinationEvent = destination->todo(); | 155 | if (destination) destinationEvent = destination->todo(); |
156 | 156 | ||
157 | Todo *existingTodo = mCalendar->todo(todo->uid()); | 157 | Todo *existingTodo = mCalendar->todo(todo->uid()); |
158 | 158 | ||
159 | if(existingTodo) { | 159 | if(existingTodo) { |
160 | Incidence *to = destinationEvent; | 160 | Incidence *to = destinationEvent; |
161 | while(to) { | 161 | while(to) { |
162 | if (to->uid() == todo->uid()) { | 162 | if (to->uid() == todo->uid()) { |
163 | KMessageBox::sorry(this, | 163 | KMessageBox::sorry(this, |
164 | i18n("Cannot move To-Do to itself\nor a child of itself"), | 164 | i18n("Cannot move Todo to itself\nor a child of itself"), |
165 | i18n("Drop To-Do")); | 165 | i18n("Drop Todo")); |
166 | delete todo; | 166 | delete todo; |
167 | return; | 167 | return; |
168 | } | 168 | } |
169 | to = to->relatedTo(); | 169 | to = to->relatedTo(); |
170 | } | 170 | } |
171 | internalDrop = true; | 171 | internalDrop = true; |
172 | if ( destinationEvent ) | 172 | if ( destinationEvent ) |
173 | reparentTodoSignal( destinationEvent, existingTodo ); | 173 | reparentTodoSignal( destinationEvent, existingTodo ); |
174 | else | 174 | else |
175 | unparentTodoSignal(existingTodo); | 175 | unparentTodoSignal(existingTodo); |
176 | delete todo; | 176 | delete todo; |
177 | } else { | 177 | } else { |
178 | mCalendar->addTodo(todo); | 178 | mCalendar->addTodo(todo); |
179 | emit todoDropped(todo, KOGlobals::EVENTADDED); | 179 | emit todoDropped(todo, KOGlobals::EVENTADDED); |
180 | if ( destinationEvent ) | 180 | if ( destinationEvent ) |
181 | reparentTodoSignal( destinationEvent, todo ); | 181 | reparentTodoSignal( destinationEvent, todo ); |
182 | } | 182 | } |
183 | } | 183 | } |
184 | else { | 184 | else { |
185 | QString text; | 185 | QString text; |
186 | if (QTextDrag::decode(e,text)) { | 186 | if (QTextDrag::decode(e,text)) { |
187 | //QListViewItem *qlvi = itemAt( contentsToViewport(e->pos()) ); | 187 | //QListViewItem *qlvi = itemAt( contentsToViewport(e->pos()) ); |
188 | KOTodoViewItem *todoi = static_cast<KOTodoViewItem *>(itemAt( contentsToViewport(e->pos()) )); | 188 | KOTodoViewItem *todoi = static_cast<KOTodoViewItem *>(itemAt( contentsToViewport(e->pos()) )); |
189 | qDebug("Dropped : " + text); | 189 | qDebug("Dropped : " + text); |
190 | QStringList emails = QStringList::split(",",text); | 190 | QStringList emails = QStringList::split(",",text); |
191 | for(QStringList::ConstIterator it = emails.begin();it!=emails.end();++it) { | 191 | for(QStringList::ConstIterator it = emails.begin();it!=emails.end();++it) { |
192 | int pos = (*it).find("<"); | 192 | int pos = (*it).find("<"); |
193 | QString name = (*it).left(pos); | 193 | QString name = (*it).left(pos); |
194 | QString email = (*it).mid(pos); | 194 | QString email = (*it).mid(pos); |
195 | if (!email.isEmpty() && todoi) { | 195 | if (!email.isEmpty() && todoi) { |
196 | todoi->todo()->addAttendee(new Attendee(name,email)); | 196 | todoi->todo()->addAttendee(new Attendee(name,email)); |
197 | } | 197 | } |
@@ -933,65 +933,64 @@ void KOTodoView::popupMenu(QListViewItem *item,const QPoint &p,int column) | |||
933 | mPercentageCompletedPopupMenu->popup(QCursor::pos ()); break; | 933 | mPercentageCompletedPopupMenu->popup(QCursor::pos ()); break; |
934 | case 3: | 934 | case 3: |
935 | moveTodo(); | 935 | moveTodo(); |
936 | break; | 936 | break; |
937 | case 8: | 937 | case 8: |
938 | getCategoryPopupMenu((KOTodoViewItem *)item)->popup(QCursor::pos ()); break; | 938 | getCategoryPopupMenu((KOTodoViewItem *)item)->popup(QCursor::pos ()); break; |
939 | default: | 939 | default: |
940 | mItemPopupMenu->popup(QCursor::pos()); | 940 | mItemPopupMenu->popup(QCursor::pos()); |
941 | } | 941 | } |
942 | } else mPopupMenu->popup(QCursor::pos()); | 942 | } else mPopupMenu->popup(QCursor::pos()); |
943 | } | 943 | } |
944 | void KOTodoView::newTodo() | 944 | void KOTodoView::newTodo() |
945 | { | 945 | { |
946 | emit newTodoSignal(); | 946 | emit newTodoSignal(); |
947 | } | 947 | } |
948 | 948 | ||
949 | void KOTodoView::newSubTodo() | 949 | void KOTodoView::newSubTodo() |
950 | { | 950 | { |
951 | if (mActiveItem) { | 951 | if (mActiveItem) { |
952 | emit newSubTodoSignal(mActiveItem->todo()); | 952 | emit newSubTodoSignal(mActiveItem->todo()); |
953 | } | 953 | } |
954 | } | 954 | } |
955 | void KOTodoView::unparentTodo() | 955 | void KOTodoView::unparentTodo() |
956 | { | 956 | { |
957 | if (mActiveItem) { | 957 | if (mActiveItem) { |
958 | emit unparentTodoSignal(mActiveItem->todo()); | 958 | emit unparentTodoSignal(mActiveItem->todo()); |
959 | } | 959 | } |
960 | } | 960 | } |
961 | 961 | ||
962 | void KOTodoView::reparentTodo() | 962 | void KOTodoView::reparentTodo() |
963 | { | 963 | { |
964 | if (mActiveItem) { | 964 | if (mActiveItem) { |
965 | qDebug("KOTodoView::reparentTodo() "); | ||
966 | topLevelWidget()->setCaption(i18n("Click on new parent item")); | 965 | topLevelWidget()->setCaption(i18n("Click on new parent item")); |
967 | pendingSubtodo = mActiveItem; | 966 | pendingSubtodo = mActiveItem; |
968 | } | 967 | } |
969 | } | 968 | } |
970 | void KOTodoView::editTodo() | 969 | void KOTodoView::editTodo() |
971 | { | 970 | { |
972 | if (mActiveItem) { | 971 | if (mActiveItem) { |
973 | emit editTodoSignal(mActiveItem->todo()); | 972 | emit editTodoSignal(mActiveItem->todo()); |
974 | } | 973 | } |
975 | } | 974 | } |
976 | void KOTodoView::cloneTodo() | 975 | void KOTodoView::cloneTodo() |
977 | { | 976 | { |
978 | if (mActiveItem) { | 977 | if (mActiveItem) { |
979 | emit cloneTodoSignal((Incidence*)mActiveItem->todo()); | 978 | emit cloneTodoSignal((Incidence*)mActiveItem->todo()); |
980 | } | 979 | } |
981 | } | 980 | } |
982 | void KOTodoView::cancelTodo() | 981 | void KOTodoView::cancelTodo() |
983 | { | 982 | { |
984 | if (mActiveItem) { | 983 | if (mActiveItem) { |
985 | emit cancelTodoSignal((Incidence*)mActiveItem->todo()); | 984 | emit cancelTodoSignal((Incidence*)mActiveItem->todo()); |
986 | } | 985 | } |
987 | } | 986 | } |
988 | void KOTodoView::moveTodo() | 987 | void KOTodoView::moveTodo() |
989 | { | 988 | { |
990 | if (mActiveItem) { | 989 | if (mActiveItem) { |
991 | emit moveTodoSignal((Incidence*)mActiveItem->todo()); | 990 | emit moveTodoSignal((Incidence*)mActiveItem->todo()); |
992 | } | 991 | } |
993 | } | 992 | } |
994 | void KOTodoView::beamTodo() | 993 | void KOTodoView::beamTodo() |
995 | { | 994 | { |
996 | if (mActiveItem) { | 995 | if (mActiveItem) { |
997 | emit beamTodoSignal((Incidence*)mActiveItem->todo()); | 996 | emit beamTodoSignal((Incidence*)mActiveItem->todo()); |
@@ -1133,98 +1132,96 @@ void KOTodoView::toggleRunningItem() | |||
1133 | } else { | 1132 | } else { |
1134 | int result = KMessageBox::warningContinueCancel(this, | 1133 | int result = KMessageBox::warningContinueCancel(this, |
1135 | i18n("The todo\n%1\nis stopped.\nDo you want to set\nthe state to started?").arg(mActiveItem->text(0).left( 25 ) ),i18n("Todo is stopped"),i18n("Start todo"),i18n("Cancel"), true); | 1134 | i18n("The todo\n%1\nis stopped.\nDo you want to set\nthe state to started?").arg(mActiveItem->text(0).left( 25 ) ),i18n("Todo is stopped"),i18n("Start todo"),i18n("Cancel"), true); |
1136 | if (result != KMessageBox::Continue) return; | 1135 | if (result != KMessageBox::Continue) return; |
1137 | t->setRunning( true ); | 1136 | t->setRunning( true ); |
1138 | mActiveItem->construct(); | 1137 | mActiveItem->construct(); |
1139 | } | 1138 | } |
1140 | } | 1139 | } |
1141 | 1140 | ||
1142 | void KOTodoView::itemClicked(QListViewItem *item) | 1141 | void KOTodoView::itemClicked(QListViewItem *item) |
1143 | { | 1142 | { |
1144 | //qDebug("KOTodoView::itemClicked %d", item); | 1143 | //qDebug("KOTodoView::itemClicked %d", item); |
1145 | if (!item) { | 1144 | if (!item) { |
1146 | if ( pendingSubtodo != 0 ) { | 1145 | if ( pendingSubtodo != 0 ) { |
1147 | topLevelWidget()->setCaption(i18n("Reparenting aborted!")); | 1146 | topLevelWidget()->setCaption(i18n("Reparenting aborted!")); |
1148 | } | 1147 | } |
1149 | pendingSubtodo = 0; | 1148 | pendingSubtodo = 0; |
1150 | return; | 1149 | return; |
1151 | } | 1150 | } |
1152 | KOTodoViewItem *todoItem = (KOTodoViewItem *)item; | 1151 | KOTodoViewItem *todoItem = (KOTodoViewItem *)item; |
1153 | if ( pendingSubtodo != 0 ) { | 1152 | if ( pendingSubtodo != 0 ) { |
1154 | bool allowReparent = true; | 1153 | bool allowReparent = true; |
1155 | QListViewItem *par = item; | 1154 | QListViewItem *par = item; |
1156 | while ( par ) { | 1155 | while ( par ) { |
1157 | if ( par == pendingSubtodo ) { | 1156 | if ( par == pendingSubtodo ) { |
1158 | allowReparent = false; | 1157 | allowReparent = false; |
1159 | break; | 1158 | break; |
1160 | } | 1159 | } |
1161 | par = par->parent(); | 1160 | par = par->parent(); |
1162 | } | 1161 | } |
1163 | if ( !allowReparent ) { | 1162 | if ( !allowReparent ) { |
1164 | topLevelWidget()->setCaption(i18n("Recursive reparenting not possible!")); | 1163 | topLevelWidget()->setCaption(i18n("Recursive reparenting not possible!")); |
1165 | qDebug("Recursive reparenting not possible "); | ||
1166 | pendingSubtodo = 0; | 1164 | pendingSubtodo = 0; |
1167 | } else { | 1165 | } else { |
1168 | Todo* newParent = todoItem->todo(); | 1166 | Todo* newParent = todoItem->todo(); |
1169 | Todo* newSub = pendingSubtodo->todo(); | 1167 | Todo* newSub = pendingSubtodo->todo(); |
1170 | pendingSubtodo = 0; | 1168 | pendingSubtodo = 0; |
1171 | emit reparentTodoSignal( newParent,newSub ); | 1169 | emit reparentTodoSignal( newParent,newSub ); |
1172 | return; | 1170 | return; |
1173 | } | 1171 | } |
1174 | } | 1172 | } |
1175 | #if 0 | 1173 | #if 0 |
1176 | // handled by the item itself | 1174 | // handled by the item itself |
1177 | bool completed = todoItem->todo()->isCompleted(); // Completed or not? | 1175 | bool completed = todoItem->todo()->isCompleted(); // Completed or not? |
1178 | qDebug("com %d ",completed ); | 1176 | qDebug("com %d ",completed ); |
1179 | qDebug("itemclicked "); | 1177 | qDebug("itemclicked "); |
1180 | if (todoItem->isOn()) { | 1178 | if (todoItem->isOn()) { |
1181 | qDebug("on "); | 1179 | qDebug("on "); |
1182 | if (!completed) { | 1180 | if (!completed) { |
1183 | qDebug("set true "); | 1181 | qDebug("set true "); |
1184 | todoItem->todo()->setCompleted(QDateTime::currentDateTime()); | 1182 | todoItem->todo()->setCompleted(QDateTime::currentDateTime()); |
1185 | } | 1183 | } |
1186 | } else { | 1184 | } else { |
1187 | qDebug("not on "); | 1185 | qDebug("not on "); |
1188 | if (completed) { | 1186 | if (completed) { |
1189 | qDebug("set false "); | 1187 | qDebug("set false "); |
1190 | todoItem->todo()->setCompleted(false); | 1188 | todoItem->todo()->setCompleted(false); |
1191 | } | 1189 | } |
1192 | } | 1190 | } |
1193 | #endif | 1191 | #endif |
1194 | } | 1192 | } |
1195 | 1193 | ||
1196 | void KOTodoView::setDocumentId( const QString &id ) | 1194 | void KOTodoView::setDocumentId( const QString &id ) |
1197 | { | 1195 | { |
1198 | kdDebug() << "KOTodoView::setDocumentId()" << endl; | ||
1199 | 1196 | ||
1200 | mDocPrefs->setDoc( id ); | 1197 | mDocPrefs->setDoc( id ); |
1201 | } | 1198 | } |
1202 | 1199 | ||
1203 | void KOTodoView::itemStateChanged( QListViewItem *item ) | 1200 | void KOTodoView::itemStateChanged( QListViewItem *item ) |
1204 | { | 1201 | { |
1205 | if (!item) return; | 1202 | if (!item) return; |
1206 | 1203 | ||
1207 | KOTodoViewItem *todoItem = (KOTodoViewItem *)item; | 1204 | KOTodoViewItem *todoItem = (KOTodoViewItem *)item; |
1208 | 1205 | ||
1209 | // kdDebug() << "KOTodoView::itemStateChanged(): " << todoItem->todo()->summary() << endl; | 1206 | // kdDebug() << "KOTodoView::itemStateChanged(): " << todoItem->todo()->summary() << endl; |
1210 | 1207 | ||
1211 | if( mDocPrefs ) mDocPrefs->writeEntry( todoItem->todo()->uid(), todoItem->isOpen() ); | 1208 | if( mDocPrefs ) mDocPrefs->writeEntry( todoItem->todo()->uid(), todoItem->isOpen() ); |
1212 | } | 1209 | } |
1213 | 1210 | ||
1214 | void KOTodoView::saveLayout(KConfig *config, const QString &group) const | 1211 | void KOTodoView::saveLayout(KConfig *config, const QString &group) const |
1215 | { | 1212 | { |
1216 | mTodoListView->saveLayout(config,group); | 1213 | mTodoListView->saveLayout(config,group); |
1217 | } | 1214 | } |
1218 | 1215 | ||
1219 | void KOTodoView::restoreLayout(KConfig *config, const QString &group) | 1216 | void KOTodoView::restoreLayout(KConfig *config, const QString &group) |
1220 | { | 1217 | { |
1221 | mTodoListView->restoreLayout(config,group); | 1218 | mTodoListView->restoreLayout(config,group); |
1222 | } | 1219 | } |
1223 | 1220 | ||
1224 | void KOTodoView::processSelectionChange() | 1221 | void KOTodoView::processSelectionChange() |
1225 | { | 1222 | { |
1226 | // kdDebug() << "KOTodoView::processSelectionChange()" << endl; | 1223 | // kdDebug() << "KOTodoView::processSelectionChange()" << endl; |
1227 | 1224 | ||
1228 | KOTodoViewItem *item = | 1225 | KOTodoViewItem *item = |
1229 | static_cast<KOTodoViewItem *>( mTodoListView->selectedItem() ); | 1226 | static_cast<KOTodoViewItem *>( mTodoListView->selectedItem() ); |
1230 | 1227 | ||