author | zautrix <zautrix> | 2005-06-27 05:12:12 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-27 05:12:12 (UTC) |
commit | fe17413ed808afb7b3e722e1f2ea9a5381a44955 (patch) (unidiff) | |
tree | 33b23a8e2429d934ace835f46d194b9aed5dd57f | |
parent | 9b2bf31715226dfa8210f31843616a04f810f012 (diff) | |
download | kdepimpi-fe17413ed808afb7b3e722e1f2ea9a5381a44955.zip kdepimpi-fe17413ed808afb7b3e722e1f2ea9a5381a44955.tar.gz kdepimpi-fe17413ed808afb7b3e722e1f2ea9a5381a44955.tar.bz2 |
tz fix
-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 6 | ||||
-rw-r--r-- | korganizer/calendarview.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index 6ac79ad..4df2005 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt | |||
@@ -1078,390 +1078,390 @@ | |||
1078 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, | 1078 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, |
1079 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, | 1079 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, |
1080 | { "Save settings","Speichere Einstellungen" }, | 1080 | { "Save settings","Speichere Einstellungen" }, |
1081 | { "Save standard","Speichere Standard" }, | 1081 | { "Save standard","Speichere Standard" }, |
1082 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, | 1082 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, |
1083 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, | 1083 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, |
1084 | { "Data storage path","Daten Speicherpfad" }, | 1084 | { "Data storage path","Daten Speicherpfad" }, |
1085 | { "Language","Sprache" }, | 1085 | { "Language","Sprache" }, |
1086 | { "Show time in agenda items","Zeige Zeit in Agenda Items" }, | 1086 | { "Show time in agenda items","Zeige Zeit in Agenda Items" }, |
1087 | { "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, | 1087 | { "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, |
1088 | { "Show events that are done","Zeige abgelaufene Termine" }, | 1088 | { "Show events that are done","Zeige abgelaufene Termine" }, |
1089 | { "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, | 1089 | { "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, |
1090 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, | 1090 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, |
1091 | { "KO/Pi","KO/Pi" }, | 1091 | { "KO/Pi","KO/Pi" }, |
1092 | { "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, | 1092 | { "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, |
1093 | { "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, | 1093 | { "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, |
1094 | { "Sound.Al.: ","Sound.Al.: " }, | 1094 | { "Sound.Al.: ","Sound.Al.: " }, |
1095 | { "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, | 1095 | { "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, |
1096 | { "Restore","Wiederherstellen" }, | 1096 | { "Restore","Wiederherstellen" }, |
1097 | { "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, | 1097 | { "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, |
1098 | { "% completed","% erledigt" }, | 1098 | { "% completed","% erledigt" }, |
1099 | { "%d item(s) found.","%d Item(s) gefunden." }, | 1099 | { "%d item(s) found.","%d Item(s) gefunden." }, |
1100 | { "Set complete","Setze auf erledigt" }, | 1100 | { "Set complete","Setze auf erledigt" }, |
1101 | { "(cancelled)","(gecancelt)" }, | 1101 | { "(cancelled)","(gecancelt)" }, |
1102 | { "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, | 1102 | { "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, |
1103 | { " Local time "," Locale Zeit " }, | 1103 | { " Local time "," Locale Zeit " }, |
1104 | { "Form2","Form2" }, | 1104 | { "Form2","Form2" }, |
1105 | { "Filter enabled","Filter angeschaltet" }, | 1105 | { "Filter enabled","Filter angeschaltet" }, |
1106 | { "Edit Filters","Ändere Filter" }, | 1106 | { "Edit Filters","Ändere Filter" }, |
1107 | { "Print What's Next View...","Drucke What's Next Ansicht..." }, | 1107 | { "Print What's Next View...","Drucke What's Next Ansicht..." }, |
1108 | { "Agenda","Agenda" }, | 1108 | { "Agenda","Agenda" }, |
1109 | { " ("," (" }, | 1109 | { " ("," (" }, |
1110 | { "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, | 1110 | { "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, |
1111 | { "Print","Print" }, | 1111 | { "Print","Print" }, |
1112 | { "&Setup Printer...","Drucker &Setup..." }, | 1112 | { "&Setup Printer...","Drucker &Setup..." }, |
1113 | { "View Type","Zeige Typ" }, | 1113 | { "View Type","Zeige Typ" }, |
1114 | { "Page &orientation:","Seiten Ausrichtung:" }, | 1114 | { "Page &orientation:","Seiten Ausrichtung:" }, |
1115 | { "Use Default of Selected Style","Default des selektierten Stils" }, | 1115 | { "Use Default of Selected Style","Default des selektierten Stils" }, |
1116 | { "Use Default Setting of Printer","Default Einstellung des Druckers" }, | 1116 | { "Use Default Setting of Printer","Default Einstellung des Druckers" }, |
1117 | { "Portrait","Portrait" }, | 1117 | { "Portrait","Portrait" }, |
1118 | { "Landscape","Landschaft" }, | 1118 | { "Landscape","Landschaft" }, |
1119 | { "Print day","Drucke Tag" }, | 1119 | { "Print day","Drucke Tag" }, |
1120 | { "CalPrintDay_Base","CalPrintDay_Base" }, | 1120 | { "CalPrintDay_Base","CalPrintDay_Base" }, |
1121 | { "Date && Time Range","Datum && Zeitspanne" }, | 1121 | { "Date && Time Range","Datum && Zeitspanne" }, |
1122 | { "&End date:","&Enddatum:" }, | 1122 | { "&End date:","&Enddatum:" }, |
1123 | { "&Start date:","&Startdatum:" }, | 1123 | { "&Start date:","&Startdatum:" }, |
1124 | { "Start &time:","Startzeit:" }, | 1124 | { "Start &time:","Startzeit:" }, |
1125 | { "End ti&me:","Endzeit:" }, | 1125 | { "End ti&me:","Endzeit:" }, |
1126 | { "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, | 1126 | { "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, |
1127 | { "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" }, | 1127 | { "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" }, |
1128 | { "Alt+D","Alt+D" }, | 1128 | { "Alt+D","Alt+D" }, |
1129 | { "&Use colors","Nutze Farben" }, | 1129 | { "&Use colors","Nutze Farben" }, |
1130 | { "Alt+U","Alt+U" }, | 1130 | { "Alt+U","Alt+U" }, |
1131 | { "Print week","Drucke Woche" }, | 1131 | { "Print week","Drucke Woche" }, |
1132 | { "CalPrintWeek_Base","CalPrintWeek_Base" }, | 1132 | { "CalPrintWeek_Base","CalPrintWeek_Base" }, |
1133 | { "Use &colors","Nutze Farben" }, | 1133 | { "Use &colors","Nutze Farben" }, |
1134 | { "Type of View","Typ der Ansicht" }, | 1134 | { "Type of View","Typ der Ansicht" }, |
1135 | { "Print as &Filofax page","Drucke als &Filofax Seite" }, | 1135 | { "Print as &Filofax page","Drucke als &Filofax Seite" }, |
1136 | { "Alt+F","Alt+F" }, | 1136 | { "Alt+F","Alt+F" }, |
1137 | { "Print as &timetable view:","Drucke als Zeittabelle:" }, | 1137 | { "Print as &timetable view:","Drucke als Zeittabelle:" }, |
1138 | { "Alt+T","Alt+T" }, | 1138 | { "Alt+T","Alt+T" }, |
1139 | { "Print as split week view","Drucke als gesplittete Wochenansicht" }, | 1139 | { "Print as split week view","Drucke als gesplittete Wochenansicht" }, |
1140 | { "Print month","Drucke Monat" }, | 1140 | { "Print month","Drucke Monat" }, |
1141 | { "CalPrintMonth_Base","CalPrintMonth_Base" }, | 1141 | { "CalPrintMonth_Base","CalPrintMonth_Base" }, |
1142 | { "&Start month:","&Startmonat:" }, | 1142 | { "&Start month:","&Startmonat:" }, |
1143 | { "&End month:","&Endmonat:" }, | 1143 | { "&End month:","&Endmonat:" }, |
1144 | { "Print week &numbers","Drucke Wochen Nummer(n)" }, | 1144 | { "Print week &numbers","Drucke Wochen Nummer(n)" }, |
1145 | { "Print todos","Drucke Todos" }, | 1145 | { "Print todos","Drucke Todos" }, |
1146 | { "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, | 1146 | { "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, |
1147 | { "Include &description of the item","Inclusive Itembeschreibung" }, | 1147 | { "Include &description of the item","Inclusive Itembeschreibung" }, |
1148 | { "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" }, | 1148 | { "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" }, |
1149 | { "Include &priority of the item","Inclusive Priorität des Items" }, | 1149 | { "Include &priority of the item","Inclusive Priorität des Items" }, |
1150 | { "Items to Print","Zu druckende Items" }, | 1150 | { "Items to Print","Zu druckende Items" }, |
1151 | { "&From:","Von:" }, | 1151 | { "&From:","Von:" }, |
1152 | { "&To:","Bis:" }, | 1152 | { "&To:","Bis:" }, |
1153 | { "Print &all todo items","Drucke alle Todo Items" }, | 1153 | { "Print &all todo items","Drucke alle Todo Items" }, |
1154 | { "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, | 1154 | { "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, |
1155 | { "Only items due in the &range:","Nur Items in dem Zeitraum:" }, | 1155 | { "Only items due in the &range:","Nur Items in dem Zeitraum:" }, |
1156 | { "Todo List","Todo Liste" }, | 1156 | { "Todo List","Todo Liste" }, |
1157 | { "&Title:","&Titel:" }, | 1157 | { "&Title:","&Titel:" }, |
1158 | { "Co&nnect subtodos with its parent","Verbinde Untertodos mit ihren Ober-Todos" }, | 1158 | { "Co&nnect subtodos with its parent","Verbinde Untertodos mit ihren Ober-Todos" }, |
1159 | { "Todo list","Todo Liste" }, | 1159 | { "Todo list","Todo Liste" }, |
1160 | { "&Print...","Drucke..." }, | 1160 | { "&Print...","Drucke..." }, |
1161 | { "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, | 1161 | { "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, |
1162 | { "[Unconfigured]","[Unkonfiguriert]" }, | 1162 | { "[Unconfigured]","[Unkonfiguriert]" }, |
1163 | { "OK","OK" }, | 1163 | { "OK","OK" }, |
1164 | { "FilterEditor","FilterEditor" }, | 1164 | { "FilterEditor","FilterEditor" }, |
1165 | { "Include","Inclusive" }, | 1165 | { "Include","Inclusive" }, |
1166 | { "Exclude","Exclusive" }, | 1166 | { "Exclude","Exclusive" }, |
1167 | { "Edit Selection...","Editiere Auswahl" }, | 1167 | { "Edit Selection...","Editiere Auswahl" }, |
1168 | { "recurring events","wiederholende Termine" }, | 1168 | { "recurring events","wiederholende Termine" }, |
1169 | { "recurr. events","wiederh.Termine" }, | 1169 | { "recurr. events","wiederh.Termine" }, |
1170 | { "completed to-dos","erledigte Todos" }, | 1170 | { "completed to-dos","erledigte Todos" }, |
1171 | { "events","Termine" }, | 1171 | { "events","Termine" }, |
1172 | { "todos","Todos" }, | 1172 | { "todos","Todos" }, |
1173 | { "journals","Journale" }, | 1173 | { "journals","Journale" }, |
1174 | { "public","öffentl." }, | 1174 | { "public","öffentl." }, |
1175 | { "private","privat" }, | 1175 | { "private","privat" }, |
1176 | { "confidential","vertraul." }, | 1176 | { "confidential","vertraul." }, |
1177 | { "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Untertodos.\nAlle erledigten Untertodos\nwerden auch gelöscht!" }, | 1177 | { "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Untertodos.\nAlle erledigten Untertodos\nwerden auch gelöscht!" }, |
1178 | { "Yesterday","Gestern" }, | 1178 | { "Yesterday","Gestern" }, |
1179 | { "Day after tomorrow","Übermorgen" }, | 1179 | { "Day after tomorrow","Übermorgen" }, |
1180 | { "Tomorrow","Morgen" }, | 1180 | { "Tomorrow","Morgen" }, |
1181 | { "Day before yesterday","Vorgestern" }, | 1181 | { "Day before yesterday","Vorgestern" }, |
1182 | { "Size %1","Größe %1" }, | 1182 | { "Size %1","Größe %1" }, |
1183 | { "New Agendasize: %1","Neue Agendagröße: %1" }, | 1183 | { "New Agendasize: %1","Neue Agendagröße: %1" }, |
1184 | { " (%1 y.)"," (%1 J.)" }, | 1184 | { " (%1 y.)"," (%1 J.)" }, |
1185 | { "Allday:","Ganztägig:" }, | 1185 | { "Allday:","Ganztägig:" }, |
1186 | { "compl.todos","erled.Todos" }, | 1186 | { "compl.todos","erled.Todos" }, |
1187 | { "Day view","Tagesansicht" }, | 1187 | { "Day view","Tagesansicht" }, |
1188 | { "Next days","Nächste Tage" }, | 1188 | { "Next days","Nächste Tage" }, |
1189 | { "Next week","Nächste Woche" }, | 1189 | { "Next week","Nächste Woche" }, |
1190 | { "Next two weeks","Nächste zwei Wochen" }, | 1190 | { "Next two weeks","Nächste zwei Wochen" }, |
1191 | { "This month","Dieser Monat" }, | 1191 | { "This month","Dieser Monat" }, |
1192 | { "Journal view","Journal" }, | 1192 | { "Journal view","Journal" }, |
1193 | { "Display all opened","Zeige alle geöffnet" }, | 1193 | { "Display all opened","Zeige alle geöffnet" }, |
1194 | { "Display all closed","Zeige alle geschlossen" }, | 1194 | { "Display all closed","Zeige alle geschlossen" }, |
1195 | { "Display all flat","Zeige alle flach" }, | 1195 | { "Display all flat","Zeige alle flach" }, |
1196 | { "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, | 1196 | { "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, |
1197 | { "Default todo done color:","Standard Todo erledigt Farbe" }, | 1197 | { "Default todo done color:","Standard Todo erledigt Farbe" }, |
1198 | { "Select week %1-%2","Wähle Woche %1-%2" }, | 1198 | { "Select week %1-%2","Wähle Woche %1-%2" }, |
1199 | { "Select Week","Wähle Woche" }, | 1199 | { "Select Week","Wähle Woche" }, |
1200 | { "Set alarm for selected...","Setze Alarm für Selekt..." }, | 1200 | { "Set alarm for selected...","Setze Alarm für Selekt..." }, |
1201 | { "Set Alarm!","Setze Alarm!" }, | 1201 | { "Set Alarm!","Setze Alarm!" }, |
1202 | { "Changed alarm for %1 items","Alarm für %1 Items geändert" }, | 1202 | { "Changed alarm for %1 items","Alarm für %1 Items geändert" }, |
1203 | { " and "," und " }, | 1203 | { " and "," und " }, |
1204 | { "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, | 1204 | { "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, |
1205 | { "Mail to selected","Mail an Ausgewählte" }, | 1205 | { "Mail to selected","Mail an Ausgewählte" }, |
1206 | { "Mail to all","Mail an Alle" }, | 1206 | { "Mail to all","Mail an Alle" }, |
1207 | { "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, | 1207 | { "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, |
1208 | { "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, | 1208 | { "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, |
1209 | { " on"," am" }, | 1209 | { " on"," am" }, |
1210 | { " completed on "," erledigt am " }, | 1210 | { " completed on "," erledigt am " }, |
1211 | { "Save as Event template","Speichere als Vorlage" }, | 1211 | { "Save as Event template","Speichere als Vorlage" }, |
1212 | { "Load Event template","Lade Termin Vorlage" }, | 1212 | { "Load Event template","Lade Termin Vorlage" }, |
1213 | { "Save as Journal template","Speichere als Journal Vorlage" }, | 1213 | { "Save as Journal template","Speichere als Journal Vorlage" }, |
1214 | { "Insert Journal template","Füge Journal Vorlage ein" }, | 1214 | { "Insert Journal template","Füge Journal Vorlage ein" }, |
1215 | { "Sub todos:<br>","Unter Todos:<br>" }, | 1215 | { "Sub todos:<br>","Unter Todos:<br>" }, |
1216 | { "Parent todo:<br>","Über Todo:<br>" }, | 1216 | { "Parent todo:<br>","Über Todo:<br>" }, |
1217 | { "Set current as color category","Setze Gewählte als Farbkategorie" }, | 1217 | { "Set current as color category","Setze Gewählte als Farbkategorie" }, |
1218 | { " completed"," erledigt" }, | 1218 | { " completed"," erledigt" }, |
1219 | { "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!","(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi basiert auf KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) und das KDE Team.\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.pi-sync.info --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nfür intensives Testen!" }, | 1219 | { "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!","(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi basiert auf KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) und das KDE Team.\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.pi-sync.info --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nfür intensives Testen!" }, |
1220 | { "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, | 1220 | { "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, |
1221 | { "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, | 1221 | { "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, |
1222 | { "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, | 1222 | { "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, |
1223 | { "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeitüberschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" }, | 1223 | { "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeitüberschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" }, |
1224 | { "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, | 1224 | { "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, |
1225 | { "Error","Fehler" }, | 1225 | { "Error","Fehler" }, |
1226 | { ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, | 1226 | { ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, |
1227 | { "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, | 1227 | { "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, |
1228 | { "Warning","Warnung" }, | 1228 | { "Warning","Warnung" }, |
1229 | { "Select week number","Wähle Wochen Nummer" }, | 1229 | { "Select week number","Wähle Wochen Nummer" }, |
1230 | { "Februar","Februar" }, | 1230 | { "Februar","Februar" }, |
1231 | { "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" }, | 1231 | { "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" }, |
1232 | { "W","W" }, | 1232 | { "W","W" }, |
1233 | { "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" }, | 1233 | { "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" }, |
1234 | { "T: %1","T: %1" }, | 1234 | { "T: %1","T: %1" }, |
1235 | { "Start: ","Start: " }, | 1235 | { "Start: ","Start: " }, |
1236 | { "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " }, | 1236 | { "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " }, |
1237 | { "Password for remote access:","Passwort für fernen Zugriff:" }, | 1237 | { "Password for remote access:","Passwort für fernen Zugriff:" }, |
1238 | { "Remote IP address:","Ferne IP Adresse:" }, | 1238 | { "Remote IP address:","Ferne IP Adresse:" }, |
1239 | { "Remote port number:","Ferne Port Nummer:" }, | 1239 | { "Remote port number:","Ferne Port Nummer:" }, |
1240 | { "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, | 1240 | { "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, |
1241 | { "Remote from: ","Fern von: " }, | 1241 | { "Remote from: ","Fern von: " }, |
1242 | { "Local from: ","Lokal von: " }, | 1242 | { "Local from: ","Lokal von: " }, |
1243 | { "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisationsübersicht:\n\n %d lokal hinzugefügt\n %d fern hinzugefügt\n %d lokal geändert\n %d fern geändert\n %d lokal gelöscht\n %d fern gelöscht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" }, | 1243 | { "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisationsübersicht:\n\n %d lokal hinzugefügt\n %d fern hinzugefügt\n %d lokal geändert\n %d fern geändert\n %d lokal gelöscht\n %d fern gelöscht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" }, |
1244 | { "Local calendar changed!\n","Lokaler Kalender geändert!\n" }, | 1244 | { "Local calendar changed!\n","Lokaler Kalender geändert!\n" }, |
1245 | { "Write back","Schreibe zurück" }, | 1245 | { "Write back","Schreibe zurück" }, |
1246 | { "KO/Pi Synchronization","KO/Pi Synchronisation" }, | 1246 | { "KO/Pi Synchronization","KO/Pi Synchronisation" }, |
1247 | { "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, | 1247 | { "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, |
1248 | { "Received sync request","Sync Anfrage erhalten" }, | 1248 | { "Received sync request","Sync Anfrage erhalten" }, |
1249 | { "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschlägt kann\ndieser Dialog geschlossen werden." }, | 1249 | { "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschlägt kann\ndieser Dialog geschlossen werden." }, |
1250 | { "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, | 1250 | { "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, |
1251 | { "Data saved to temp file!","Daten in temp Datei gespeichert!" }, | 1251 | { "Data saved to temp file!","Daten in temp Datei gespeichert!" }, |
1252 | { "Sending file...","Sende Datei..." }, | 1252 | { "Sending file...","Sende Datei..." }, |
1253 | { "Waiting for synced file...","Warte auf gesyncte Daten..." }, | 1253 | { "Waiting for synced file...","Warte auf gesyncte Daten..." }, |
1254 | { "Receiving synced file...","Gesyncte Daten erhalten..." }, | 1254 | { "Receiving synced file...","Gesyncte Daten erhalten..." }, |
1255 | { "Received %1 bytes","%1 Bytes erhalten" }, | 1255 | { "Received %1 bytes","%1 Bytes erhalten" }, |
1256 | { "Writing file to disk...","Speichere Datei..." }, | 1256 | { "Writing file to disk...","Speichere Datei..." }, |
1257 | { "Pi-Sync successful!","Pi-Sync erfolgreich!" }, | 1257 | { "Pi-Sync successful!","Pi-Sync erfolgreich!" }, |
1258 | { "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, | 1258 | { "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, |
1259 | { "Synchronize!","Synchronisiere!" }, | 1259 | { "Synchronize!","Synchronisiere!" }, |
1260 | { "High clock skew!","Großer Uhrzeitunterschied!" }, | 1260 | { "High clock skew!","Großer Uhrzeitunterschied!" }, |
1261 | { "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, | 1261 | { "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, |
1262 | { "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" }, | 1262 | { "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" }, |
1263 | { "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." }, | 1263 | { "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." }, |
1264 | { "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" }, | 1264 | { "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" }, |
1265 | { "List week view","Listenwochenansicht" }, | 1265 | { "List week view","Listenwochenansicht" }, |
1266 | { "List week","Listenwochenansicht" }, | 1266 | { "List week","Listenwochenansicht" }, |
1267 | { "Next Week","Nächste Woche" }, | 1267 | { "Next Week","Nächste Woche" }, |
1268 | { "Previous Week","Vorherige Woche" }, | 1268 | { "Previous Week","Vorherige Woche" }, |
1269 | { "No items were found matching\nyour search expression.\nUse the wildcard characters\n'*' and '?' where needed.","Keine Einträge gefunden die\ndem Suchausdruck entsprechen.\nBenutze Platzhalter Zeichen\n'*' und '?' wo benötigt." }, | 1269 | { "No items were found matching\nyour search expression.\nUse the wildcard characters\n'*' and '?' where needed.","Keine Einträge gefunden die\ndem Suchausdruck entsprechen.\nBenutze Platzhalter Zeichen\n'*' und '?' wo benötigt." }, |
1270 | { "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" }, | 1270 | { "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" }, |
1271 | { "Details","Details" }, | 1271 | { "Details","Details" }, |
1272 | { "Created time","Erstellt Zeit" }, | 1272 | { "Created time","Erstellt Zeit" }, |
1273 | { "Last modified time","Geändert Zeit" }, | 1273 | { "Last modified time","Geändert Zeit" }, |
1274 | { "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" }, | 1274 | { "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" }, |
1275 | { "View Options","Anzeige Optionen" }, | 1275 | { "View Options","Anzeige Optionen" }, |
1276 | { "<b>Created: ","<b>Erstellt am: " }, | 1276 | { "<b>Created: ","<b>Erstellt am: " }, |
1277 | { "<b>Last modified: ","<b>Zuletzt geändert am: " }, | 1277 | { "<b>Last modified: ","<b>Zuletzt geändert am: " }, |
1278 | { "Journal: ","Journal: " }, | 1278 | { "Journal: ","Journal: " }, |
1279 | { "yearly","jährlich" }, | 1279 | { "yearly","jährlich" }, |
1280 | { "(%1) ","%1-" }, | 1280 | { "(%1) ","%1-" }, |
1281 | { "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" }, | 1281 | { "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" }, |
1282 | { "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" }, | 1282 | { "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" }, |
1283 | { "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" }, | 1283 | { "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" }, |
1284 | { "Summary/Loc.","Titel/Ort" }, | 1284 | { "Summary/Loc.","Titel/Ort" }, |
1285 | { "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo benötigt." }, | 1285 | { "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo benötigt." }, |
1286 | { "Week Number","Wochennummer" }, | 1286 | { "Week Number","Wochennummer" }, |
1287 | { "Import","Importiere" }, | 1287 | { "Import","Importiere" }, |
1288 | { "Export","Exportiere" }, | 1288 | { "Export","Exportiere" }, |
1289 | { "Beam","Beame" }, | 1289 | { "Beam","Beame" }, |
1290 | { "Export selected","Exportiere Selektierte" }, | 1290 | { "Export selected","Exportiere Selektierte" }, |
1291 | { "As iCal (ics) file...","Als iCal (ics) Datei..." }, | 1291 | { "As iCal (ics) file...","Als iCal (ics) Datei..." }, |
1292 | { "As vCal (vcs) file...","Als vCal (vcs) Datei..." }, | 1292 | { "As vCal (vcs) file...","Als vCal (vcs) Datei..." }, |
1293 | { "Journal/Details...","Journale/Details..." }, | 1293 | { "Journal/Details...","Journale/Details..." }, |
1294 | { "Agenda View","Agenda Ansicht" }, | 1294 | { "Agenda View","Agenda Ansicht" }, |
1295 | { "Show current time","Zeige aktuelle Zeit" }, | 1295 | { "Show current time","Zeige aktuelle Zeit" }, |
1296 | { "Edit new item","Bearbeite neuen Eintrag" }, | 1296 | { "Edit new item","Bearbeite neuen Eintrag" }, |
1297 | { "Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals","Bitte wählen Sie mindestens\neinen dieser Typen\num darin zu suchen:\n\nTermine\nTodos\nJournale" }, | 1297 | { "Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals","Bitte wählen Sie mindestens\neinen dieser Typen\num darin zu suchen:\n\nTermine\nTodos\nJournale" }, |
1298 | { "There is no next alarm.","Es gibt keinen nächsten Alarm." }, | 1298 | { "There is no next alarm.","Es gibt keinen nächsten Alarm." }, |
1299 | { "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (nächster Termin/Todo mit Alarm)" }, | 1299 | { "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (nächster Termin/Todo mit Alarm)" }, |
1300 | { "The next alarm is in:\n","Der nächste Alarm ist in:\n" }, | 1300 | { "The next alarm is in:\n","Der nächste Alarm ist in:\n" }, |
1301 | { "%1 days\n","%1 Tagen\n" }, | 1301 | { "%1 days\n","%1 Tagen\n" }, |
1302 | { "1 day\n","1 Tag\n" }, | 1302 | { "1 day\n","1 Tag\n" }, |
1303 | { "%1 hours\n","%1 Stunden\n" }, | 1303 | { "%1 hours\n","%1 Stunden\n" }, |
1304 | { "1 hour\n","1 Stunde\n" }, | 1304 | { "1 hour\n","1 Stunde\n" }, |
1305 | { "%1 minutes\n","%1 Minuten\n" }, | 1305 | { "%1 minutes\n","%1 Minuten\n" }, |
1306 | { "1 minute\n","1 Minute\n" }, | 1306 | { "1 minute\n","1 Minute\n" }, |
1307 | { "Only one toolbar","Nur eine Toolbar" }, | 1307 | { "Only one toolbar","Nur eine Toolbar" }, |
1308 | { "Print","Drucke" }, | 1308 | { "Print","Drucke" }, |
1309 | { "Print selected event / todo...","Drucke ausgewählten Termin / Todo..." }, | 1309 | { "Print selected event / todo...","Drucke ausgewählten Termin / Todo..." }, |
1310 | { "There is nothing selected!","Es ist nichts ausgewählt!" }, | 1310 | { "There is nothing selected!","Es ist nichts ausgewählt!" }, |
1311 | { "\n\nDo you really want to print this item?","\n\nMöchten Sie wirklich diesen Eintrag ausdrucken? " }, | 1311 | { "\n\nDo you really want to print this item?","\n\nMöchten Sie wirklich diesen Eintrag ausdrucken? " }, |
1312 | { "KO/Pi Print Confirmation","KO/Pi Druckbestätigung" }, | 1312 | { "KO/Pi Print Confirmation","KO/Pi Druckbestätigung" }, |
1313 | { "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" }, | 1313 | { "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" }, |
1314 | { "KO/Pi Printout","KO/Pi Ausdruck" }, | 1314 | { "KO/Pi Printout","KO/Pi Ausdruck" }, |
1315 | { "Print unscaled","Drucke unskaliert" }, | 1315 | { "Print unscaled","Drucke unskaliert" }, |
1316 | { "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." }, | 1316 | { "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." }, |
1317 | { "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." }, | 1317 | { "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." }, |
1318 | { "Printout Mode","Druck Modus" }, | 1318 | { "Printout Mode","Druck Modus" }, |
1319 | { "Filter menu icon","Filtermenu Icon" }, | 1319 | { "Filter menu icon","Filtermenu Icon" }, |
1320 | { "<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" }, | 1320 | { "<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" }, |
1321 | { "<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" }, | 1321 | { "<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" }, |
1322 | { "%1d","%1t" }, | 1322 | { "%1d","%1t" }, |
1323 | { "%1h","%1std" }, | 1323 | { "%1h","%1std" }, |
1324 | { "%1min","%1min" }, | 1324 | { "%1min","%1min" }, |
1325 | { "( %1 before )","( %1 vorher )" }, | 1325 | { "( %1 before )","( %1 vorher )" }, |
1326 | { "The next alarm is in\nless than one minute!","Der nächste Alarm kommt in\nweniger als einer Minute!" }, | 1326 | { "The next alarm is in\nless than one minute!","Der nächste Alarm kommt in\nweniger als einer Minute!" }, |
1327 | { "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" }, | 1327 | { "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" }, |
1328 | { "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." }, | 1328 | { "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." }, |
1329 | { "Show Sync Events","Zeige Sync-Ereignisse" }, | 1329 | { "Show Sync Events","Zeige Sync-Ereignisse" }, |
1330 | { "Use short date in WN+Event view","Zeige Kurzdatum in WN+Terminanzeige" }, | 1330 | { "Use short date in WN+Event view","Zeige Kurzdatum in WN+Terminanzeige" }, |
1331 | { "Number of max.displayed todo prios:","Anzahl max.angezeigter Todo-Prios:" }, | 1331 | { "Number of max.displayed todo prios:","Anzahl max.angezeigter Todo-Prios:" }, |
1332 | { " on "," am " }, | 1332 | { " on "," am " }, |
1333 | { "On: ","Am: " }, | 1333 | { "On: ","Am: " }, |
1334 | { "<i>The recurrence is computed from the start datetime!</i>","<i>Die Wiederholung wird vom Startwert aus berechnet!</i>" }, | 1334 | { "<i>The recurrence is computed from the start datetime!</i>","<i>Die Wiederholung wird vom Startwert aus berechnet!</i>" }, |
1335 | { "Start/Stop todo...","Starte/Stoppe Todo..." }, | 1335 | { "Start/Stop todo...","Starte/Stoppe Todo..." }, |
1336 | { "Color for running todos:","Farbe für laufende Todos:" }, | 1336 | { "Color for running todos:","Farbe für laufende Todos:" }, |
1337 | { "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?" }, | 1337 | { "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?" }, |
1338 | { "Todo is started","Todo ist gestartet" }, | 1338 | { "Todo is started","Todo ist gestartet" }, |
1339 | { "Stop todo","Stoppe Todo" }, | 1339 | { "Stop todo","Stoppe Todo" }, |
1340 | { "Todo is stopped","Todo ist gestoppt" }, | 1340 | { "Todo is stopped","Todo ist gestoppt" }, |
1341 | { "Start todo","Starte Todo" }, | 1341 | { "Start todo","Starte Todo" }, |
1342 | { "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?" }, | 1342 | { "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?" }, |
1343 | { "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?" }, | 1343 | { "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?" }, |
1344 | { "Todo has subtodos","Todo hat Untertodos" }, | 1344 | { "Todo has subtodos","Todo hat Untertodos" }, |
1345 | { "Block popup until mouse button release","Sperre Popup bis Mausknopf losgelassen" }, | 1345 | { "Block popup until mouse button release","Sperre Popup bis Mausknopf losgelassen" }, |
1346 | { "Colors","Farben" }, | 1346 | { "Colors","Farben" }, |
1347 | { "Click on new parent item","Klicke auf neues Übertodo" }, | 1347 | { "Click on new parent item","Klicke auf neues Übertodo" }, |
1348 | { "Reparenting aborted!","Übertodo setzen abgebrochen" }, | 1348 | { "Reparenting aborted!","Übertodo setzen abgebrochen" }, |
1349 | { "Cannot move Todo to itself\nor a child of itself","Kann nicht Todo auf\nsich selbst oder\nein Untertodo verschieben" }, | 1349 | { "Cannot move Todo to itself\nor a child of itself","Kann nicht Todo auf\nsich selbst oder\nein Untertodo verschieben" }, |
1350 | { "Recursive reparenting not possible!","Rekursives Verschieben nicht möglich" }, | 1350 | { "Recursive reparenting not possible!","Rekursives Verschieben nicht möglich" }, |
1351 | { "Delete all completed todos?\n(Completed recurring todos\nwill not be deleted!)","Entferne alle erledigten Todos?\n(Erledigte wiederholende Todos\nwerden nicht gelöscht!)" }, | 1351 | { "Delete all completed todos?\n(Completed recurring todos\nwill not be deleted!)","Entferne alle erledigten Todos?\n(Erledigte wiederholende Todos\nwerden nicht gelöscht!)" }, |
1352 | { "Alternating background of list views","Abwechselnder Hintergrund für Listen" }, | 1352 | { "Alternating background of list views","Abwechselnder Hintergrund für Listen" }, |
1353 | { "times","Zeiten" }, | 1353 | { "times","Zeiten" }, |
1354 | { "The todo\n%1\nhas subtodos!\nDo you want to set\nthe categories for\nall subtodos as well?","Das Todo\n%1\nhat Untertodos!\nMöchten Sie die Kategorien\nauch für alle Untertodos setzen?" }, | 1354 | { "The todo\n%1\nhas subtodos!\nDo you want to set\nthe categories for\nall subtodos as well?","Das Todo\n%1\nhat Untertodos!\nMöchten Sie die Kategorien\nauch für alle Untertodos setzen?" }, |
1355 | { "Backup enabled","Backup angeschaltet" }, | 1355 | { "Backup enabled","Backup angeschaltet" }, |
1356 | { "Use standard backup dir","Standard Backupverzeichnis" }, | 1356 | { "Use standard backup dir","Standard Backupverzeichnis" }, |
1357 | { "Number of Backups:","Anzahl der Backups" }, | 1357 | { "Number of Backups:","Anzahl der Backups" }, |
1358 | { "Make backup every ","Mache ein Backup alle " }, | 1358 | { "Make backup every ","Mache ein Backup alle " }, |
1359 | { " days"," Tage" }, | 1359 | { " days"," Tage" }, |
1360 | { "Creating backup ... please wait ...","Erstelle Backup ... bitte warten ..." }, | 1360 | { "Creating backup ... please wait ...","Erstelle Backup ... bitte warten ..." }, |
1361 | { "Backup Failed!","Backup Problem!" }, | 1361 | { "Backup Failed!","Backup Problem!" }, |
1362 | { "Try again now","Versuche jetzt nochmal" }, | 1362 | { "Try again now","Versuche jetzt nochmal" }, |
1363 | { "Try again later","Versuche später nochmal" }, | 1363 | { "Try again later","Versuche später nochmal" }, |
1364 | { "Try again tomorrow","Versuche morgen nochmal" }, | 1364 | { "Try again tomorrow","Versuche morgen nochmal" }, |
1365 | { "Disable backup","Schalte Backup ab" }, | 1365 | { "Disable backup","Schalte Backup ab" }, |
1366 | { "<b>Backup directory does not exist: </b>","<b>Backup Verzeichnis existiert nicht: </b>" }, | 1366 | { "<b>Backup directory does not exist: </b>","<b>Backup Verzeichnis existiert nicht: </b>" }, |
1367 | { "<b>The backup copy command failed!</b>","<b>Das Backup Kopierkommando is fehlgeschlagen!</b>" }, | 1367 | { "<b>The backup copy command failed!</b>","<b>Das Backup Kopierkommando is fehlgeschlagen!</b>" }, |
1368 | { "Choose action","Wähle Aktion" }, | 1368 | { "Choose action","Wähle Aktion" }, |
1369 | { "Comment for todo:","Kommentar zum Todo:" }, | 1369 | { "Comment for todo:","Kommentar zum Todo:" }, |
1370 | { "Stop+note","Stop+Notiz" }, | 1370 | { "Stop+note","Stop+Notiz" }, |
1371 | { "Agenda view shows completed todos","Agenda Ansicht zeigt erledigte Todos" }, | 1371 | { "Agenda view shows completed todos","Agenda Ansicht zeigt erledigte Todos" }, |
1372 | { "KO/Pi: Missing alarms!","KO/Pi: Verpasste Alarme!" }, | 1372 | { "KO/Pi: Missing alarms!","KO/Pi: Verpasste Alarme!" }, |
1373 | { "You missed the alarms for the following events or todos:","Sie verpassten die Alarme für folgende Termine oder Todos:" }, | 1373 | { "You missed the alarms for the following events or todos:","Sie verpassten die Alarme für folgende Termine oder Todos:" }, |
1374 | { "Print complete list","Drucke komplette Liste" }, | 1374 | { "Print complete list","Drucke komplette Liste" }, |
1375 | { "Hide all selected","Verstecke Selektierte" }, | 1375 | { "Hide all selected","Verstecke Selektierte" }, |
1376 | { "Add items","hinzufügen" }, | 1376 | { "Add items","hinzufügen" }, |
1377 | { "One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?","Ein (oder mehrere) ausgewähltes\nTodo hat Untertodos!\nMöchten Sie der Auswahlliste\nalle Untertodos von allen\nausgewählten Todos hinzufügen?" }, | 1377 | { "One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?","Ein (oder mehrere) ausgewähltes\nTodo hat Untertodos!\nMöchten Sie der Auswahlliste\nalle Untertodos von allen\nausgewählten Todos hinzufügen?" }, |
1378 | { "Print List View...","Drucke Listenansicht..." }, | 1378 | { "Print List View...","Drucke Listenansicht..." }, |
1379 | { "You can make a printout of the <b>List View</b> and the list view in the <b>Search Dialog</b>! To do this, please go to the <b>List View/Search Dialog</b>. Right click on the list. Select in the popup menu the entry <b>Print complete list</b>. That prints the list as you see it. You can remove items from the list before printing without deleting the corresponding event/todo! Simply select all items you do not want to print out. Then right click on one of the items and choose <b>Hide selected items</b>. After that you can print the list without these items.","Sie können die <b>Listenansicht</b> und die Listenansicht im <b>Suchdialog</b> ausdrucken! Um das zu machen gehen Sie bitte zur <b>Listenansicht</b> oder zum <b>Suchdialog</b>. Rechtsklicken Sie auf die Liste. Wählen Sie im Popupmenu den Eintrag <b>Drucke komplette Liste</b>. Das druckt die Liste so, wie man sie sieht. Sie können Listeneinträge entfernen ohne die korrespondierenden Ereignisse/Todos zu löschen! Selektieren sie einfach alle Einträge, die sie nicht ausdrucken möchten. Dann Rechtsklicken Sie auf einen Eintrag und wählen <b>Verstecke Selektierte</b>. Danach können Sie die Liste ohne diese Einträge ausdrucken." }, | 1379 | { "You can make a printout of the <b>List View</b> and the list view in the <b>Search Dialog</b>! To do this, please go to the <b>List View/Search Dialog</b>. Right click on the list. Select in the popup menu the entry <b>Print complete list</b>. That prints the list as you see it. You can remove items from the list before printing without deleting the corresponding event/todo! Simply select all items you do not want to print out. Then right click on one of the items and choose <b>Hide selected items</b>. After that you can print the list without these items.","Sie können die <b>Listenansicht</b> und die Listenansicht im <b>Suchdialog</b> ausdrucken! Um das zu machen gehen Sie bitte zur <b>Listenansicht</b> oder zum <b>Suchdialog</b>. Rechtsklicken Sie auf die Liste. Wählen Sie im Popupmenu den Eintrag <b>Drucke komplette Liste</b>. Das druckt die Liste so, wie man sie sieht. Sie können Listeneinträge entfernen ohne die korrespondierenden Ereignisse/Todos zu löschen! Selektieren sie einfach alle Einträge, die sie nicht ausdrucken möchten. Dann Rechtsklicken Sie auf einen Eintrag und wählen <b>Verstecke Selektierte</b>. Danach können Sie die Liste ohne diese Einträge ausdrucken." }, |
1380 | { "Configure KO/Pi...","Konfiguriere KO/Pi..." }, | 1380 | { "Configure KO/Pi...","Konfiguriere KO/Pi..." }, |
1381 | { "Global Settings...","Globale Einstellungen..." }, | 1381 | { "Global Settings...","Globale Einstellungen..." }, |
1382 | { "<p><b>R</b>: Toggle Resource View |<b>F</b>: Edit filter </p>\n","<p><b>R</b>: Zeige Resource Ansicht | <b>F</b>: Editiere Filter </p>\n" }, | 1382 | { "<p><b>R</b>: Toggle Resource View |<b>F</b>: Edit filter </p>\n","<p><b>R</b>: Zeige Resource Ansicht | <b>F</b>: Editiere Filter </p>\n" }, |
1383 | { "(disabled)","(abgeschaltet)" }, | 1383 | { "(disabled)","(abgeschaltet)" }, |
1384 | { "New Calendar","Neuer Kalender" }, | 1384 | { "New Calendar","Neuer Kalender" }, |
1385 | { "Calendar","Kalender" }, | 1385 | { "Calendar","Kalender" }, |
1386 | { "Filter selector","Filterauswahl" }, | 1386 | { "Filter selector","Filterauswahl" }, |
1387 | { "Filtermenu","Filtermenu" }, | 1387 | { "Filtermenu","Filtermenu" }, |
1388 | { "Toggle Fullscreen","Vollbild umschalten" }, | 1388 | { "Toggle Fullscreen","Vollbild umschalten" }, |
1389 | { "Toggle Resource View","Resourcenansicht umschalten" }, | 1389 | { "Toggle Resource View","Resourcenansicht umschalten" }, |
1390 | { "Storage HowTo...","Speicherort HowTo..." }, | 1390 | { "Storage HowTo...","Speicherort HowTo..." }, |
1391 | { "Timetracking HowTo...","Timetracking HowTo..." }, | 1391 | { "Timetracking HowTo...","Timetracking HowTo..." }, |
1392 | { "Juni","Juni" }, | 1392 | { "Juni","Juni" }, |
1393 | { "Juli","Juli" }, | 1393 | { "Juli","Juli" }, |
1394 | { "ToDo:","ToDo:" }, | 1394 | { "ToDo:","ToDo:" }, |
1395 | { "Set Calendar","Setze Kalender" }, | 1395 | { "Set Calendar","Setze Kalender" }, |
1396 | { "Todo: %1","Todo: %1" }, | 1396 | { "Todo: %1","Todo: %1" }, |
1397 | { ": (Prio ",": (Prio " }, | 1397 | { ": (Prio ",": (Prio " }, |
1398 | { "Todos","Todos" }, | 1398 | { "Todos","Todos" }, |
1399 | { "Todo Viewer","Todo Viewer" }, | 1399 | { "Todo Viewer","Todo Viewer" }, |
1400 | { "Todo ","Todo " }, | 1400 | { "Todo ","Todo " }, |
1401 | { " Calendar \n Resource "," Kalender \n Resource " }, | 1401 | { " Calendar \n Resource "," Kalender \n Resource " }, |
1402 | { " Color "," Farbe " }, | 1402 | { " Color "," Farbe " }, |
1403 | { "The calendar <b>%1</b> is displaying file <b>%2</b>. Do you want to remove this calendar from KO/Pi? (The file is not removed!)","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>. Möchten Sie diesen Kalender aus KO/Pi entfernen? (Die Datei wird dabei nicht gelöscht!)" }, | 1403 | { "The calendar <b>%1</b> is displaying file <b>%2</b>. Do you want to remove this calendar from KO/Pi? (The file is not removed!)","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>. Möchten Sie diesen Kalender aus KO/Pi entfernen? (Die Datei wird dabei nicht gelöscht!)" }, |
1404 | { "The calendar <b>%1</b> is displaying file <b>%2</b>","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>" }, | 1404 | { "The calendar <b>%1</b> is displaying file <b>%2</b>","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>" }, |
1405 | { "Add new Calendar","Füge Kalender hinzu" }, | 1405 | { "Add new Calendar","Füge Kalender hinzu" }, |
1406 | { "<b>Name of new calendar:</b>","<b>Name des Kalenders:</b>" }, | 1406 | { "<b>Name of new calendar:</b>","<b>Name des Kalenders:</b>" }, |
1407 | { "<b>Local ical (*.ics) file:</b>","<b>Lokale ical (*.ics) Datei:</b>" }, | 1407 | { "<b>Local ical (*.ics) file:</b>","<b>Lokale ical (*.ics) Datei:</b>" }, |
1408 | { "Sorry, the calendar name is empty!","Sorry, der Kalendername ist leer!" }, | 1408 | { "Sorry, the calendar name is empty!","Sorry, der Kalendername ist leer!" }, |
1409 | { "Sorry, the file name is empty!","Sorry, der Dateiname ist leer!" }, | 1409 | { "Sorry, the file name is empty!","Sorry, der Dateiname ist leer!" }, |
1410 | { "Error loading calendar file\n%1.","Fehler beim Laden der Kalenderdatei\n%1." }, | 1410 | { "Error loading calendar file\n%1.","Fehler beim Laden der Kalenderdatei\n%1." }, |
1411 | { "The calendar <b>%1</b> is not loaded! Loading of file <b>%2</b> failed! <b>Try again to load the calendar?</b>","Der Kalender <b>%1</b> ist nicht geladen! Das Laden der Datei <b>%2</b> schlug fehl! <b>Soll erneut versucht werden den Kalender zu laden?</b>" }, | 1411 | { "The calendar <b>%1</b> is not loaded! Loading of file <b>%2</b> failed! <b>Try again to load the calendar?</b>","Der Kalender <b>%1</b> ist nicht geladen! Das Laden der Datei <b>%2</b> schlug fehl! <b>Soll erneut versucht werden den Kalender zu laden?</b>" }, |
1412 | { "Global application font for all apps:","Globale Schriftart:" }, | 1412 | { "Global application font for all apps:","Globale Schriftart:" }, |
1413 | { "Application Font","Applikationsschriftart" }, | 1413 | { "Application Font","Applikationsschriftart" }, |
1414 | { "Kx/Pi","Kx/Pi" }, | 1414 | { "Kx/Pi","Kx/Pi" }, |
1415 | { "Backup","Backup" }, | 1415 | { "Backup","Backup" }, |
1416 | { "KDE-Pim Global Settings","KDE-Pim Globale Einstellungen" }, | 1416 | { "KDE-Pim Global Settings","KDE-Pim Globale Einstellungen" }, |
1417 | { "Sorry, the calendar name \n%1\nalready exists!\nPlease choose another name!","Sorry, der Kalendername \n%1\nist schon in Benutzung!\nBitte wählen Sie einen anderen!" }, | 1417 | { "Sorry, the calendar name \n%1\nalready exists!\nPlease choose another name!","Sorry, der Kalendername \n%1\nist schon in Benutzung!\nBitte wählen Sie einen anderen!" }, |
1418 | { "Sorry, the file \n%1\nis already loaded!\nPlease choose another file!","Sorry, die Datei \n%1\nist schon geladen!\nBitte wählen Sie eine andere!" }, | 1418 | { "Sorry, the file \n%1\nis already loaded!\nPlease choose another file!","Sorry, die Datei \n%1\nist schon geladen!\nBitte wählen Sie eine andere!" }, |
1419 | { "Choose Color","Wähle Farbe" }, | 1419 | { "Choose Color","Wähle Farbe" }, |
1420 | { " OK "," OK " }, | 1420 | { " OK "," OK " }, |
1421 | { " Cancel "," Abbrechen " }, | 1421 | { " Cancel "," Abbrechen " }, |
1422 | { "Matching items will be added to list","Passende werden zur Liste hinzugefügt" }, | 1422 | { "Matching items will be added to list","Passende werden zur Liste hinzugefügt" }, |
1423 | { "Matching items will be removed from list","Passende werden von der Liste entfernt" }, | 1423 | { "Matching items will be removed from list","Passende werden von der Liste entfernt" }, |
1424 | { "Search on displayed list only","Suche auf der dargestellten Liste" }, | 1424 | { "Search on displayed list only","Suche auf der dargestellten Liste" }, |
1425 | { "List will be cleared before search","Liste wird vor der Suche gelöscht" }, | 1425 | { "List will be cleared before search","Liste wird vor der Suche gelöscht" }, |
1426 | { "<center>%1</center> <center>is not running. Do you want to set\nthe state to running?</center>","<center>%1</center> <center>ist nicht am Laufen. Möchten Sie den Zustand auf "laufend" setzen?</center>" }, | 1426 | { "<center>%1</center> <center>is not running. Do you want to set\nthe state to running?</center>","<center>%1</center> <center>ist nicht am Laufen. Möchten Sie den Zustand auf "laufend" setzen?</center>" }, |
1427 | { "%1\nis running!","%1\nist am Laufen!" }, | 1427 | { "%1\nis running!","%1\nist am Laufen!" }, |
1428 | { "Additional Comment:","Zusätzlicher Kommentar:" }, | 1428 | { "Additional Comment:","Zusätzlicher Kommentar:" }, |
1429 | { "Stop and save","Stopp und Speichern" }, | 1429 | { "Stop and save","Stopp und Speichern" }, |
1430 | { "Continue running","Weiter laufen lassen" }, | 1430 | { "Continue running","Weiter laufen lassen" }, |
1431 | { "Stop - do not save","Stopp - nicht Speichern" }, | 1431 | { "Stop - do not save","Stopp - nicht Speichern" }, |
1432 | { "Do you really want to set\nthe state to stopped\nwithout saving the data?","Möchten sie den Zustand\nwirklich auf gestoppt setzen\nohne die Daten abzuspeichern?" }, | 1432 | { "Do you really want to set\nthe state to stopped\nwithout saving the data?","Möchten sie den Zustand\nwirklich auf gestoppt setzen\nohne die Daten abzuspeichern?" }, |
1433 | { "Time mismatch!","Zeiten stimmen nicht!" }, | 1433 | { "Time mismatch!","Zeiten stimmen nicht!" }, |
1434 | { "The start time is\nafter the end time!","Die Startzeit ist\nhinter der Endzeit!" }, | 1434 | { "The start time is\nafter the end time!","Die Startzeit ist\nhinter der Endzeit!" }, |
1435 | { "Yes, stop todo","Ja, stoppe Todo" }, | 1435 | { "Yes, stop todo","Ja, stoppe Todo" }, |
1436 | { "Todo stopped - no data saved because runtime was < 15 sec!","Todo gestoppt - nichts gespeichert da Laufzeit < 15 sec!" }, | 1436 | { "Todo stopped - no data saved because runtime was < 15 sec!","Todo gestoppt - nichts gespeichert da Laufzeit < 15 sec!" }, |
1437 | { "Todo started! Double click again to stop!","Todo gestartet! Doppelklicke um es zu stoppen!" }, | 1437 | { "Todo started! Double click again to stop!","Todo gestartet! Doppelklicke um es zu stoppen!" }, |
1438 | { "Please choose the <b>default calendar</b> in this column. Newly created or imported items are added to the default calendar.","Bitte wählen Sie den <b>Default-Kalender</b> in dieser Spalte. Neu angelegte oder importierte Einträge werden dem Default-Kalender hinzugefügt." }, | 1438 | { "Please choose the <b>default calendar</b> in this column. Newly created or imported items are added to the default calendar.","Bitte wählen Sie den <b>Default-Kalender</b> in dieser Spalte. Neu angelegte oder importierte Einträge werden dem Default-Kalender hinzugefügt." }, |
1439 | { "Spouse","Ehegatte" }, | 1439 | { "Spouse","Ehegatte" }, |
1440 | { "Notes","Notizen" }, | 1440 | { "Notes","Notizen" }, |
1441 | { "Messanger","Messanger" }, | 1441 | { "Messanger","Messanger" }, |
1442 | { "Assistant","Assistent" }, | 1442 | { "Assistant","Assistent" }, |
1443 | { "Manager","Manager" }, | 1443 | { "Manager","Manager" }, |
1444 | { "Secrecy","Sichtbar" }, | 1444 | { "Secrecy","Sichtbar" }, |
1445 | { "male","männlich" }, | 1445 | { "male","männlich" }, |
1446 | { "female","weiblich" }, | 1446 | { "female","weiblich" }, |
1447 | { "Hide!","Verbergen!" }, | 1447 | { "Hide!","Verbergen!" }, |
1448 | { "Show!","Anzeigen!" }, | 1448 | { "Show!","Anzeigen!" }, |
1449 | { "Details","Details" }, | 1449 | { "Details","Details" }, |
1450 | { "Profession","Beruf" }, | 1450 | { "Profession","Beruf" }, |
1451 | { "Children","Kinder" }, | 1451 | { "Children","Kinder" }, |
1452 | { "Department","Abteilung" }, | 1452 | { "Department","Abteilung" }, |
1453 | { "Backup cancelled","Backup abgebrochen" }, | 1453 | { "Backup cancelled","Backup abgebrochen" }, |
1454 | { "Backup globally disabled","Backup global abgeschaltet" }, | 1454 | { "Backup globally disabled","Backup global abgeschaltet" }, |
1455 | { "Backup succesfully finished","Backup erfolgreich beendet" }, | 1455 | { "Backup succesfully finished","Backup erfolgreich beendet" }, |
1456 | { "(Hint: You can enable automatic backup in the global settings!)","(Hinweis: Sie können ein automatisches Backup in den globalen Einstellungen konfigurieren!)" }, | 1456 | { "(Hint: You can enable automatic backup in the global settings!)","(Hinweis: Sie können ein automatisches Backup in den globalen Einstellungen konfigurieren!)" }, |
1457 | { "This will <b>backup all calendar files</b> to the directory %1 %2","Das schreibt ein <b>Backup aller Kalenderdateien</b> in das Verzeichnis %1 %2" }, | 1457 | { "This will <b>backup all calendar files</b> to the directory %1 %2","Das schreibt ein <b>Backup aller Kalenderdateien</b> in das Verzeichnis %1 %2" }, |
1458 | { "Birthdays","Geburtstage" }, | 1458 | { "Birthdays","Geburtstage" }, |
1459 | { "KO/Pi import information!","KO/Pi Import Information!" }, | 1459 | { "KO/Pi import information!","KO/Pi Import Information!" }, |
1460 | { "Start this todo\nand stop all running","Starte dieses Todo\nund stoppe alle Laufenden" }, | 1460 | { "Start this todo\nand stop all running","Starte dieses Todo\nund stoppe alle Laufenden" }, |
1461 | { "Cancel - do not start"," Abbrechen - Todo nicht starten" }, | 1461 | { "Cancel - do not start"," Abbrechen - Todo nicht starten" }, |
1462 | { "","" }, | 1462 | { "The timezone has changed!\nShould the calendar be reloaded\nto shift the time of the events?\nPlease read Menu: Help->FAQ:\n"How do I change the timezone?"\nas well!","Die Zeitzone wurde geändert!\nSollen die Kalender neu geladen\nwerden num die Zeiten\nder Termine zu ändern?\nBitte lesen Sie auch\nMenu: Help->FAQ:\n"How do I change the timezone?"" }, |
1463 | { "","" }, | 1463 | { "Reload","Neu laden" }, |
1464 | { "","" }, | 1464 | { "Timezone settings","Zeitzoneneinstellung" }, |
1465 | { "","" }, | 1465 | { "","" }, |
1466 | { "","" }, | 1466 | { "","" }, |
1467 | { "","" }, \ No newline at end of file | 1467 | { "","" }, \ No newline at end of file |
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index f179c58..13cf69b 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -2292,776 +2292,776 @@ void CalendarView::writeSettings() | |||
2292 | qDebug("Testcode secsto "); | 2292 | qDebug("Testcode secsto "); |
2293 | QDateTime dt_nodaylight ( QDate (2005,3,26), QTime( 0,0,0 ) ); | 2293 | QDateTime dt_nodaylight ( QDate (2005,3,26), QTime( 0,0,0 ) ); |
2294 | QDateTime dt_daylight ( QDate (2005,3,29), QTime( 0,0,0 ) ); | 2294 | QDateTime dt_daylight ( QDate (2005,3,29), QTime( 0,0,0 ) ); |
2295 | int secsto = dt_nodaylight.secsTo( dt_daylight ); | 2295 | int secsto = dt_nodaylight.secsTo( dt_daylight ); |
2296 | QDateTime dt_daylight_wrong = dt_nodaylight.addSecs( secsto ); | 2296 | QDateTime dt_daylight_wrong = dt_nodaylight.addSecs( secsto ); |
2297 | qDebug("dt nodaylight %s ",dt_nodaylight.toString().latin1() ); | 2297 | qDebug("dt nodaylight %s ",dt_nodaylight.toString().latin1() ); |
2298 | qDebug("dt daylight %s ",dt_daylight.toString().latin1() ); | 2298 | qDebug("dt daylight %s ",dt_daylight.toString().latin1() ); |
2299 | qDebug("dt daylight_wrong %s ",dt_daylight_wrong.toString().latin1() ); | 2299 | qDebug("dt daylight_wrong %s ",dt_daylight_wrong.toString().latin1() ); |
2300 | qDebug("Computed secsTo %d . in minutes: %d . in hours: %d ", secsto, secsto/60, secsto/3600); | 2300 | qDebug("Computed secsTo %d . in minutes: %d . in hours: %d ", secsto, secsto/60, secsto/3600); |
2301 | qDebug("********************* testcode end"); | 2301 | qDebug("********************* testcode end"); |
2302 | 2302 | ||
2303 | #endif | 2303 | #endif |
2304 | 2304 | ||
2305 | QValueList<int> listINT = mLeftFrame->sizes(); | 2305 | QValueList<int> listINT = mLeftFrame->sizes(); |
2306 | config->writeEntry("Left Splitter Frame",listINT); | 2306 | config->writeEntry("Left Splitter Frame",listINT); |
2307 | QValueList<int> listINT2 = mMainFrame->sizes(); | 2307 | QValueList<int> listINT2 = mMainFrame->sizes(); |
2308 | config->writeEntry("Main Splitter Frame",listINT2); | 2308 | config->writeEntry("Main Splitter Frame",listINT2); |
2309 | #ifdef DESKTOP_VERSION | 2309 | #ifdef DESKTOP_VERSION |
2310 | config->setGroup("WidgetLayout"); | 2310 | config->setGroup("WidgetLayout"); |
2311 | QStringList list ;//= config->readListEntry("MainLayout"); | 2311 | QStringList list ;//= config->readListEntry("MainLayout"); |
2312 | int x,y,w,h; | 2312 | int x,y,w,h; |
2313 | QWidget* wid; | 2313 | QWidget* wid; |
2314 | wid = topLevelWidget(); | 2314 | wid = topLevelWidget(); |
2315 | x = wid->geometry().x(); | 2315 | x = wid->geometry().x(); |
2316 | y = wid->geometry().y(); | 2316 | y = wid->geometry().y(); |
2317 | w = wid->width(); | 2317 | w = wid->width(); |
2318 | h = wid->height(); | 2318 | h = wid->height(); |
2319 | list.clear(); | 2319 | list.clear(); |
2320 | list << QString::number( x ); | 2320 | list << QString::number( x ); |
2321 | list << QString::number( y ); | 2321 | list << QString::number( y ); |
2322 | list << QString::number( w ); | 2322 | list << QString::number( w ); |
2323 | list << QString::number( h ); | 2323 | list << QString::number( h ); |
2324 | config->writeEntry("MainLayout",list ); | 2324 | config->writeEntry("MainLayout",list ); |
2325 | 2325 | ||
2326 | wid = mEventEditor; | 2326 | wid = mEventEditor; |
2327 | x = wid->geometry().x(); | 2327 | x = wid->geometry().x(); |
2328 | y = wid->geometry().y(); | 2328 | y = wid->geometry().y(); |
2329 | w = wid->width(); | 2329 | w = wid->width(); |
2330 | h = wid->height(); | 2330 | h = wid->height(); |
2331 | list.clear(); | 2331 | list.clear(); |
2332 | list << QString::number( x ); | 2332 | list << QString::number( x ); |
2333 | list << QString::number( y ); | 2333 | list << QString::number( y ); |
2334 | list << QString::number( w ); | 2334 | list << QString::number( w ); |
2335 | list << QString::number( h ); | 2335 | list << QString::number( h ); |
2336 | config->writeEntry("EditEventLayout",list ); | 2336 | config->writeEntry("EditEventLayout",list ); |
2337 | 2337 | ||
2338 | wid = mTodoEditor; | 2338 | wid = mTodoEditor; |
2339 | x = wid->geometry().x(); | 2339 | x = wid->geometry().x(); |
2340 | y = wid->geometry().y(); | 2340 | y = wid->geometry().y(); |
2341 | w = wid->width(); | 2341 | w = wid->width(); |
2342 | h = wid->height(); | 2342 | h = wid->height(); |
2343 | list.clear(); | 2343 | list.clear(); |
2344 | list << QString::number( x ); | 2344 | list << QString::number( x ); |
2345 | list << QString::number( y ); | 2345 | list << QString::number( y ); |
2346 | list << QString::number( w ); | 2346 | list << QString::number( w ); |
2347 | list << QString::number( h ); | 2347 | list << QString::number( h ); |
2348 | config->writeEntry("EditTodoLayout",list ); | 2348 | config->writeEntry("EditTodoLayout",list ); |
2349 | wid = getEventViewerDialog(); | 2349 | wid = getEventViewerDialog(); |
2350 | x = wid->geometry().x(); | 2350 | x = wid->geometry().x(); |
2351 | y = wid->geometry().y(); | 2351 | y = wid->geometry().y(); |
2352 | w = wid->width(); | 2352 | w = wid->width(); |
2353 | h = wid->height(); | 2353 | h = wid->height(); |
2354 | list.clear(); | 2354 | list.clear(); |
2355 | list << QString::number( x ); | 2355 | list << QString::number( x ); |
2356 | list << QString::number( y ); | 2356 | list << QString::number( y ); |
2357 | list << QString::number( w ); | 2357 | list << QString::number( w ); |
2358 | list << QString::number( h ); | 2358 | list << QString::number( h ); |
2359 | config->writeEntry("ViewerLayout",list ); | 2359 | config->writeEntry("ViewerLayout",list ); |
2360 | wid = mDialogManager->getSearchDialog(); | 2360 | wid = mDialogManager->getSearchDialog(); |
2361 | if ( wid ) { | 2361 | if ( wid ) { |
2362 | x = wid->geometry().x(); | 2362 | x = wid->geometry().x(); |
2363 | y = wid->geometry().y(); | 2363 | y = wid->geometry().y(); |
2364 | w = wid->width(); | 2364 | w = wid->width(); |
2365 | h = wid->height(); | 2365 | h = wid->height(); |
2366 | list.clear(); | 2366 | list.clear(); |
2367 | list << QString::number( x ); | 2367 | list << QString::number( x ); |
2368 | list << QString::number( y ); | 2368 | list << QString::number( y ); |
2369 | list << QString::number( w ); | 2369 | list << QString::number( w ); |
2370 | list << QString::number( h ); | 2370 | list << QString::number( h ); |
2371 | config->writeEntry("SearchLayout",list ); | 2371 | config->writeEntry("SearchLayout",list ); |
2372 | } | 2372 | } |
2373 | #endif | 2373 | #endif |
2374 | 2374 | ||
2375 | 2375 | ||
2376 | config->sync(); | 2376 | config->sync(); |
2377 | } | 2377 | } |
2378 | 2378 | ||
2379 | void CalendarView::readFilterSettings(KConfig *config) | 2379 | void CalendarView::readFilterSettings(KConfig *config) |
2380 | { | 2380 | { |
2381 | // kdDebug() << "CalendarView::readFilterSettings()" << endl; | 2381 | // kdDebug() << "CalendarView::readFilterSettings()" << endl; |
2382 | 2382 | ||
2383 | mFilters.clear(); | 2383 | mFilters.clear(); |
2384 | 2384 | ||
2385 | config->setGroup("General"); | 2385 | config->setGroup("General"); |
2386 | QStringList filterList = config->readListEntry("CalendarFilters"); | 2386 | QStringList filterList = config->readListEntry("CalendarFilters"); |
2387 | 2387 | ||
2388 | QStringList::ConstIterator it = filterList.begin(); | 2388 | QStringList::ConstIterator it = filterList.begin(); |
2389 | QStringList::ConstIterator end = filterList.end(); | 2389 | QStringList::ConstIterator end = filterList.end(); |
2390 | while(it != end) { | 2390 | while(it != end) { |
2391 | // kdDebug() << " filter: " << (*it) << endl; | 2391 | // kdDebug() << " filter: " << (*it) << endl; |
2392 | 2392 | ||
2393 | CalFilter *filter; | 2393 | CalFilter *filter; |
2394 | filter = new CalFilter(*it); | 2394 | filter = new CalFilter(*it); |
2395 | config->setGroup("Filter_" + (*it).utf8()); | 2395 | config->setGroup("Filter_" + (*it).utf8()); |
2396 | //qDebug("readFilterSettings %d ",config->readNumEntry("Criteria",0) ); | 2396 | //qDebug("readFilterSettings %d ",config->readNumEntry("Criteria",0) ); |
2397 | filter->setCriteria(config->readNumEntry("Criteria",0)); | 2397 | filter->setCriteria(config->readNumEntry("Criteria",0)); |
2398 | filter->setCategoryList(config->readListEntry("CategoryList")); | 2398 | filter->setCategoryList(config->readListEntry("CategoryList")); |
2399 | mFilters.append(filter); | 2399 | mFilters.append(filter); |
2400 | 2400 | ||
2401 | ++it; | 2401 | ++it; |
2402 | } | 2402 | } |
2403 | 2403 | ||
2404 | if (mFilters.count() == 0) { | 2404 | if (mFilters.count() == 0) { |
2405 | CalFilter *filter = new CalFilter(i18n("Default")); | 2405 | CalFilter *filter = new CalFilter(i18n("Default")); |
2406 | mFilters.append(filter); | 2406 | mFilters.append(filter); |
2407 | } | 2407 | } |
2408 | mFilterView->updateFilters(); | 2408 | mFilterView->updateFilters(); |
2409 | config->setGroup("FilterView"); | 2409 | config->setGroup("FilterView"); |
2410 | 2410 | ||
2411 | mFilterView->blockSignals(true); | 2411 | mFilterView->blockSignals(true); |
2412 | mFilterView->setFiltersEnabled(config->readBoolEntry("FilterEnabled")); | 2412 | mFilterView->setFiltersEnabled(config->readBoolEntry("FilterEnabled")); |
2413 | mFilterView->setSelectedFilter(config->readEntry("Current Filter")); | 2413 | mFilterView->setSelectedFilter(config->readEntry("Current Filter")); |
2414 | mFilterView->blockSignals(false); | 2414 | mFilterView->blockSignals(false); |
2415 | // We do it manually to avoid it being done twice by the above calls | 2415 | // We do it manually to avoid it being done twice by the above calls |
2416 | updateFilter(); | 2416 | updateFilter(); |
2417 | } | 2417 | } |
2418 | 2418 | ||
2419 | void CalendarView::writeFilterSettings(KConfig *config) | 2419 | void CalendarView::writeFilterSettings(KConfig *config) |
2420 | { | 2420 | { |
2421 | // kdDebug() << "CalendarView::writeFilterSettings()" << endl; | 2421 | // kdDebug() << "CalendarView::writeFilterSettings()" << endl; |
2422 | 2422 | ||
2423 | QStringList filterList; | 2423 | QStringList filterList; |
2424 | 2424 | ||
2425 | CalFilter *filter = mFilters.first(); | 2425 | CalFilter *filter = mFilters.first(); |
2426 | while(filter) { | 2426 | while(filter) { |
2427 | // kdDebug() << " fn: " << filter->name() << endl; | 2427 | // kdDebug() << " fn: " << filter->name() << endl; |
2428 | filterList << filter->name(); | 2428 | filterList << filter->name(); |
2429 | config->setGroup("Filter_" + filter->name().utf8()); | 2429 | config->setGroup("Filter_" + filter->name().utf8()); |
2430 | config->writeEntry("Criteria",filter->criteria()); | 2430 | config->writeEntry("Criteria",filter->criteria()); |
2431 | config->writeEntry("CategoryList",filter->categoryList()); | 2431 | config->writeEntry("CategoryList",filter->categoryList()); |
2432 | filter = mFilters.next(); | 2432 | filter = mFilters.next(); |
2433 | } | 2433 | } |
2434 | config->setGroup("General"); | 2434 | config->setGroup("General"); |
2435 | config->writeEntry("CalendarFilters",filterList); | 2435 | config->writeEntry("CalendarFilters",filterList); |
2436 | 2436 | ||
2437 | config->setGroup("FilterView"); | 2437 | config->setGroup("FilterView"); |
2438 | config->writeEntry("FilterEnabled",mFilterView->filtersEnabled()); | 2438 | config->writeEntry("FilterEnabled",mFilterView->filtersEnabled()); |
2439 | config->writeEntry("Current Filter",mFilterView->selectedFilter()->name()); | 2439 | config->writeEntry("Current Filter",mFilterView->selectedFilter()->name()); |
2440 | } | 2440 | } |
2441 | 2441 | ||
2442 | 2442 | ||
2443 | void CalendarView::goToday() | 2443 | void CalendarView::goToday() |
2444 | { | 2444 | { |
2445 | if ( mViewManager->currentView()->isMonthView() ) | 2445 | if ( mViewManager->currentView()->isMonthView() ) |
2446 | mNavigator->selectTodayMonth(); | 2446 | mNavigator->selectTodayMonth(); |
2447 | else | 2447 | else |
2448 | mNavigator->selectToday(); | 2448 | mNavigator->selectToday(); |
2449 | } | 2449 | } |
2450 | 2450 | ||
2451 | void CalendarView::goNext() | 2451 | void CalendarView::goNext() |
2452 | { | 2452 | { |
2453 | mNavigator->selectNext(); | 2453 | mNavigator->selectNext(); |
2454 | } | 2454 | } |
2455 | 2455 | ||
2456 | void CalendarView::goPrevious() | 2456 | void CalendarView::goPrevious() |
2457 | { | 2457 | { |
2458 | mNavigator->selectPrevious(); | 2458 | mNavigator->selectPrevious(); |
2459 | } | 2459 | } |
2460 | void CalendarView::goNextMonth() | 2460 | void CalendarView::goNextMonth() |
2461 | { | 2461 | { |
2462 | mNavigator->selectNextMonth(); | 2462 | mNavigator->selectNextMonth(); |
2463 | } | 2463 | } |
2464 | 2464 | ||
2465 | void CalendarView::goPreviousMonth() | 2465 | void CalendarView::goPreviousMonth() |
2466 | { | 2466 | { |
2467 | mNavigator->selectPreviousMonth(); | 2467 | mNavigator->selectPreviousMonth(); |
2468 | } | 2468 | } |
2469 | void CalendarView::writeLocale() | 2469 | void CalendarView::writeLocale() |
2470 | { | 2470 | { |
2471 | //KPimGlobalPrefs::instance()->setGlobalConfig(); | 2471 | //KPimGlobalPrefs::instance()->setGlobalConfig(); |
2472 | #if 0 | 2472 | #if 0 |
2473 | KGlobal::locale()->setHore24Format( !KOPrefs::instance()->mPreferredTime ); | 2473 | KGlobal::locale()->setHore24Format( !KOPrefs::instance()->mPreferredTime ); |
2474 | KGlobal::locale()->setWeekStartMonday( !KOPrefs::instance()->mWeekStartsOnSunday ); | 2474 | KGlobal::locale()->setWeekStartMonday( !KOPrefs::instance()->mWeekStartsOnSunday ); |
2475 | KGlobal::locale()->setIntDateFormat( (KLocale::IntDateFormat)KOPrefs::instance()->mPreferredDate ); | 2475 | KGlobal::locale()->setIntDateFormat( (KLocale::IntDateFormat)KOPrefs::instance()->mPreferredDate ); |
2476 | KGlobal::locale()->setLanguage( KOPrefs::instance()->mPreferredLanguage ); | 2476 | KGlobal::locale()->setLanguage( KOPrefs::instance()->mPreferredLanguage ); |
2477 | QString dummy = KOPrefs::instance()->mUserDateFormatLong; | 2477 | QString dummy = KOPrefs::instance()->mUserDateFormatLong; |
2478 | KGlobal::locale()->setDateFormat(dummy.replace( QRegExp("K"), QString(",") )); | 2478 | KGlobal::locale()->setDateFormat(dummy.replace( QRegExp("K"), QString(",") )); |
2479 | dummy = KOPrefs::instance()->mUserDateFormatShort; | 2479 | dummy = KOPrefs::instance()->mUserDateFormatShort; |
2480 | KGlobal::locale()->setDateFormatShort(dummy.replace( QRegExp("K"), QString(",") )); | 2480 | KGlobal::locale()->setDateFormatShort(dummy.replace( QRegExp("K"), QString(",") )); |
2481 | KGlobal::locale()->setDaylightSaving( KOPrefs::instance()->mUseDaylightsaving, | 2481 | KGlobal::locale()->setDaylightSaving( KOPrefs::instance()->mUseDaylightsaving, |
2482 | KOPrefs::instance()->mDaylightsavingStart, | 2482 | KOPrefs::instance()->mDaylightsavingStart, |
2483 | KOPrefs::instance()->mDaylightsavingEnd ); | 2483 | KOPrefs::instance()->mDaylightsavingEnd ); |
2484 | KGlobal::locale()->setTimezone( KPimGlobalPrefs::instance()->mTimeZoneId ); | 2484 | KGlobal::locale()->setTimezone( KPimGlobalPrefs::instance()->mTimeZoneId ); |
2485 | #endif | 2485 | #endif |
2486 | } | 2486 | } |
2487 | void CalendarView::updateConfig() | 2487 | void CalendarView::updateConfig() |
2488 | { | 2488 | { |
2489 | writeLocale(); | 2489 | writeLocale(); |
2490 | if ( KOPrefs::instance()->mUseAppColors ) | 2490 | if ( KOPrefs::instance()->mUseAppColors ) |
2491 | QApplication::setPalette( QPalette (KOPrefs::instance()->mAppColor1, KOPrefs::instance()->mAppColor2), true ); | 2491 | QApplication::setPalette( QPalette (KOPrefs::instance()->mAppColor1, KOPrefs::instance()->mAppColor2), true ); |
2492 | emit configChanged(); | 2492 | emit configChanged(); |
2493 | mTodoList->updateConfig(); | 2493 | mTodoList->updateConfig(); |
2494 | // mDateNavigator->setFont ( KOPrefs::instance()->mDateNavigatorFont); | 2494 | // mDateNavigator->setFont ( KOPrefs::instance()->mDateNavigatorFont); |
2495 | mCalendar->setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId); | 2495 | mCalendar->setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId); |
2496 | // To make the "fill window" configurations work | 2496 | // To make the "fill window" configurations work |
2497 | //mViewManager->raiseCurrentView(); | 2497 | //mViewManager->raiseCurrentView(); |
2498 | } | 2498 | } |
2499 | 2499 | ||
2500 | 2500 | ||
2501 | void CalendarView::eventChanged(Event *event) | 2501 | void CalendarView::eventChanged(Event *event) |
2502 | { | 2502 | { |
2503 | changeEventDisplay(event,KOGlobals::EVENTEDITED); | 2503 | changeEventDisplay(event,KOGlobals::EVENTEDITED); |
2504 | //updateUnmanagedViews(); | 2504 | //updateUnmanagedViews(); |
2505 | } | 2505 | } |
2506 | 2506 | ||
2507 | void CalendarView::eventAdded(Event *event) | 2507 | void CalendarView::eventAdded(Event *event) |
2508 | { | 2508 | { |
2509 | changeEventDisplay(event,KOGlobals::EVENTADDED); | 2509 | changeEventDisplay(event,KOGlobals::EVENTADDED); |
2510 | } | 2510 | } |
2511 | 2511 | ||
2512 | void CalendarView::eventToBeDeleted(Event *) | 2512 | void CalendarView::eventToBeDeleted(Event *) |
2513 | { | 2513 | { |
2514 | kdDebug() << "CalendarView::eventToBeDeleted(): to be implemented" << endl; | 2514 | kdDebug() << "CalendarView::eventToBeDeleted(): to be implemented" << endl; |
2515 | } | 2515 | } |
2516 | 2516 | ||
2517 | void CalendarView::eventDeleted() | 2517 | void CalendarView::eventDeleted() |
2518 | { | 2518 | { |
2519 | changeEventDisplay(0,KOGlobals::EVENTDELETED); | 2519 | changeEventDisplay(0,KOGlobals::EVENTDELETED); |
2520 | } | 2520 | } |
2521 | void CalendarView::changeTodoDisplay(Todo *which, int action) | 2521 | void CalendarView::changeTodoDisplay(Todo *which, int action) |
2522 | { | 2522 | { |
2523 | changeIncidenceDisplay((Incidence *)which, action); | 2523 | changeIncidenceDisplay((Incidence *)which, action); |
2524 | mDateNavigator->updateView(); //LR | 2524 | mDateNavigator->updateView(); //LR |
2525 | //mDialogManager->updateSearchDialog(); | 2525 | //mDialogManager->updateSearchDialog(); |
2526 | 2526 | ||
2527 | if (which) { | 2527 | if (which) { |
2528 | mViewManager->updateWNview(); | 2528 | mViewManager->updateWNview(); |
2529 | //mTodoList->updateView(); | 2529 | //mTodoList->updateView(); |
2530 | } | 2530 | } |
2531 | 2531 | ||
2532 | } | 2532 | } |
2533 | 2533 | ||
2534 | void CalendarView::changeIncidenceDisplay(Incidence *which, int action) | 2534 | void CalendarView::changeIncidenceDisplay(Incidence *which, int action) |
2535 | { | 2535 | { |
2536 | updateUnmanagedViews(); | 2536 | updateUnmanagedViews(); |
2537 | //qDebug(" CalendarView::changeIncidenceDisplay++++++++++++++++++++++++++ %d %d ",which, action ); | 2537 | //qDebug(" CalendarView::changeIncidenceDisplay++++++++++++++++++++++++++ %d %d ",which, action ); |
2538 | if ( action == KOGlobals::EVENTDELETED ) { //delete | 2538 | if ( action == KOGlobals::EVENTDELETED ) { //delete |
2539 | mCalendar->checkAlarmForIncidence( 0, true ); | 2539 | mCalendar->checkAlarmForIncidence( 0, true ); |
2540 | if ( mEventViewerDialog ) | 2540 | if ( mEventViewerDialog ) |
2541 | mEventViewerDialog->hide(); | 2541 | mEventViewerDialog->hide(); |
2542 | } | 2542 | } |
2543 | else | 2543 | else |
2544 | mCalendar->checkAlarmForIncidence( which , false ); | 2544 | mCalendar->checkAlarmForIncidence( which , false ); |
2545 | } | 2545 | } |
2546 | 2546 | ||
2547 | // most of the changeEventDisplays() right now just call the view's | 2547 | // most of the changeEventDisplays() right now just call the view's |
2548 | // total update mode, but they SHOULD be recoded to be more refresh-efficient. | 2548 | // total update mode, but they SHOULD be recoded to be more refresh-efficient. |
2549 | void CalendarView::changeEventDisplay(Event *which, int action) | 2549 | void CalendarView::changeEventDisplay(Event *which, int action) |
2550 | { | 2550 | { |
2551 | // kdDebug() << "CalendarView::changeEventDisplay" << endl; | 2551 | // kdDebug() << "CalendarView::changeEventDisplay" << endl; |
2552 | changeIncidenceDisplay((Incidence *)which, action); | 2552 | changeIncidenceDisplay((Incidence *)which, action); |
2553 | mDateNavigator->updateView(); | 2553 | mDateNavigator->updateView(); |
2554 | //mDialogManager->updateSearchDialog(); | 2554 | //mDialogManager->updateSearchDialog(); |
2555 | 2555 | ||
2556 | if (which) { | 2556 | if (which) { |
2557 | // If there is an event view visible update the display | 2557 | // If there is an event view visible update the display |
2558 | mViewManager->currentView()->changeEventDisplay(which,action); | 2558 | mViewManager->currentView()->changeEventDisplay(which,action); |
2559 | // TODO: check, if update needed | 2559 | // TODO: check, if update needed |
2560 | // if (which->getTodoStatus()) { | 2560 | // if (which->getTodoStatus()) { |
2561 | mTodoList->updateView(); | 2561 | mTodoList->updateView(); |
2562 | // } | 2562 | // } |
2563 | } else { | 2563 | } else { |
2564 | mViewManager->currentView()->updateView(); | 2564 | mViewManager->currentView()->updateView(); |
2565 | } | 2565 | } |
2566 | } | 2566 | } |
2567 | 2567 | ||
2568 | 2568 | ||
2569 | void CalendarView::updateTodoViews() | 2569 | void CalendarView::updateTodoViews() |
2570 | { | 2570 | { |
2571 | mTodoList->updateView(); | 2571 | mTodoList->updateView(); |
2572 | mViewManager->currentView()->updateView(); | 2572 | mViewManager->currentView()->updateView(); |
2573 | 2573 | ||
2574 | } | 2574 | } |
2575 | 2575 | ||
2576 | 2576 | ||
2577 | void CalendarView::updateView(const QDate &start, const QDate &end) | 2577 | void CalendarView::updateView(const QDate &start, const QDate &end) |
2578 | { | 2578 | { |
2579 | mTodoList->updateView(); | 2579 | mTodoList->updateView(); |
2580 | mViewManager->updateView(start, end); | 2580 | mViewManager->updateView(start, end); |
2581 | //mDateNavigator->updateView(); | 2581 | //mDateNavigator->updateView(); |
2582 | } | 2582 | } |
2583 | 2583 | ||
2584 | void CalendarView::clearAllViews() | 2584 | void CalendarView::clearAllViews() |
2585 | { | 2585 | { |
2586 | mTodoList->clearList(); | 2586 | mTodoList->clearList(); |
2587 | mViewManager->clearAllViews(); | 2587 | mViewManager->clearAllViews(); |
2588 | SearchDialog * sd = mDialogManager->getSearchDialog(); | 2588 | SearchDialog * sd = mDialogManager->getSearchDialog(); |
2589 | if ( sd ) { | 2589 | if ( sd ) { |
2590 | KOListView* kol = sd->listview(); | 2590 | KOListView* kol = sd->listview(); |
2591 | if ( kol ) | 2591 | if ( kol ) |
2592 | kol->clearList(); | 2592 | kol->clearList(); |
2593 | } | 2593 | } |
2594 | } | 2594 | } |
2595 | void CalendarView::updateView() | 2595 | void CalendarView::updateView() |
2596 | { | 2596 | { |
2597 | DateList tmpList = mNavigator->selectedDates(); | 2597 | DateList tmpList = mNavigator->selectedDates(); |
2598 | 2598 | ||
2599 | if ( KOPrefs::instance()->mHideNonStartedTodos ) | 2599 | if ( KOPrefs::instance()->mHideNonStartedTodos ) |
2600 | mTodoList->updateView(); | 2600 | mTodoList->updateView(); |
2601 | // We assume that the navigator only selects consecutive days. | 2601 | // We assume that the navigator only selects consecutive days. |
2602 | updateView( tmpList.first(), tmpList.last() ); | 2602 | updateView( tmpList.first(), tmpList.last() ); |
2603 | } | 2603 | } |
2604 | 2604 | ||
2605 | void CalendarView::updateUnmanagedViews() | 2605 | void CalendarView::updateUnmanagedViews() |
2606 | { | 2606 | { |
2607 | mDateNavigator->updateDayMatrix(); | 2607 | mDateNavigator->updateDayMatrix(); |
2608 | } | 2608 | } |
2609 | 2609 | ||
2610 | int CalendarView::msgItemDelete(const QString name) | 2610 | int CalendarView::msgItemDelete(const QString name) |
2611 | { | 2611 | { |
2612 | return KMessageBox::warningContinueCancel(this,name +"\n\n"+ | 2612 | return KMessageBox::warningContinueCancel(this,name +"\n\n"+ |
2613 | i18n("This item will be\npermanently deleted."), | 2613 | i18n("This item will be\npermanently deleted."), |
2614 | i18n("KO/Pi Confirmation"),i18n("Delete")); | 2614 | i18n("KO/Pi Confirmation"),i18n("Delete")); |
2615 | } | 2615 | } |
2616 | 2616 | ||
2617 | 2617 | ||
2618 | void CalendarView::edit_cut() | 2618 | void CalendarView::edit_cut() |
2619 | { | 2619 | { |
2620 | Event *anEvent=0; | 2620 | Event *anEvent=0; |
2621 | 2621 | ||
2622 | Incidence *incidence = mViewManager->currentView()->selectedIncidences().first(); | 2622 | Incidence *incidence = mViewManager->currentView()->selectedIncidences().first(); |
2623 | 2623 | ||
2624 | if (mViewManager->currentView()->isEventView()) { | 2624 | if (mViewManager->currentView()->isEventView()) { |
2625 | if ( incidence && incidence->typeID() == eventID ) { | 2625 | if ( incidence && incidence->typeID() == eventID ) { |
2626 | anEvent = static_cast<Event *>(incidence); | 2626 | anEvent = static_cast<Event *>(incidence); |
2627 | } | 2627 | } |
2628 | } | 2628 | } |
2629 | 2629 | ||
2630 | if (!anEvent) { | 2630 | if (!anEvent) { |
2631 | KNotifyClient::beep(); | 2631 | KNotifyClient::beep(); |
2632 | return; | 2632 | return; |
2633 | } | 2633 | } |
2634 | DndFactory factory( mCalendar ); | 2634 | DndFactory factory( mCalendar ); |
2635 | factory.cutIncidence(anEvent); | 2635 | factory.cutIncidence(anEvent); |
2636 | changeEventDisplay(anEvent, KOGlobals::EVENTDELETED); | 2636 | changeEventDisplay(anEvent, KOGlobals::EVENTDELETED); |
2637 | } | 2637 | } |
2638 | 2638 | ||
2639 | void CalendarView::edit_copy() | 2639 | void CalendarView::edit_copy() |
2640 | { | 2640 | { |
2641 | Event *anEvent=0; | 2641 | Event *anEvent=0; |
2642 | 2642 | ||
2643 | Incidence *incidence = mViewManager->currentView()->selectedIncidences().first(); | 2643 | Incidence *incidence = mViewManager->currentView()->selectedIncidences().first(); |
2644 | 2644 | ||
2645 | if (mViewManager->currentView()->isEventView()) { | 2645 | if (mViewManager->currentView()->isEventView()) { |
2646 | if ( incidence && incidence->typeID() == eventID ) { | 2646 | if ( incidence && incidence->typeID() == eventID ) { |
2647 | anEvent = static_cast<Event *>(incidence); | 2647 | anEvent = static_cast<Event *>(incidence); |
2648 | } | 2648 | } |
2649 | } | 2649 | } |
2650 | 2650 | ||
2651 | if (!anEvent) { | 2651 | if (!anEvent) { |
2652 | KNotifyClient::beep(); | 2652 | KNotifyClient::beep(); |
2653 | return; | 2653 | return; |
2654 | } | 2654 | } |
2655 | DndFactory factory( mCalendar ); | 2655 | DndFactory factory( mCalendar ); |
2656 | factory.copyIncidence(anEvent); | 2656 | factory.copyIncidence(anEvent); |
2657 | } | 2657 | } |
2658 | 2658 | ||
2659 | void CalendarView::edit_paste() | 2659 | void CalendarView::edit_paste() |
2660 | { | 2660 | { |
2661 | QDate date = mNavigator->selectedDates().first(); | 2661 | QDate date = mNavigator->selectedDates().first(); |
2662 | 2662 | ||
2663 | DndFactory factory( mCalendar ); | 2663 | DndFactory factory( mCalendar ); |
2664 | Event *pastedEvent = (Event *)factory.pasteIncidence( date ); | 2664 | Event *pastedEvent = (Event *)factory.pasteIncidence( date ); |
2665 | 2665 | ||
2666 | changeEventDisplay( pastedEvent, KOGlobals::EVENTADDED ); | 2666 | changeEventDisplay( pastedEvent, KOGlobals::EVENTADDED ); |
2667 | } | 2667 | } |
2668 | void CalendarView::edit_global_options() | 2668 | void CalendarView::edit_global_options() |
2669 | { | 2669 | { |
2670 | QString tz = KPimGlobalPrefs::instance()->mTimeZoneId; | 2670 | QString tz = KPimGlobalPrefs::instance()->mTimeZoneId; |
2671 | emit save(); | 2671 | emit save(); |
2672 | emit saveStopTimer(); | 2672 | emit saveStopTimer(); |
2673 | mDialogManager->showGlobalOptionsDialog(); | 2673 | mDialogManager->showGlobalOptionsDialog(); |
2674 | if ( tz != KPimGlobalPrefs::instance()->mTimeZoneId) { | 2674 | if ( tz != KPimGlobalPrefs::instance()->mTimeZoneId) { |
2675 | emit saveStopTimer(); | 2675 | emit saveStopTimer(); |
2676 | if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(this, i18n("The timezone has changed!\nShould the calendar be reloaded\nto apply timezone changes?\nPlease read Menu: Help->FAQ:\n\"How do I change the timezone?\"\nas well!"), | 2676 | if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(this, i18n("The timezone has changed!\nShould the calendar be reloaded\nto shift the time of the events?\nPlease read Menu: Help->FAQ:\n\"How do I change the timezone?\"\nas well!"), |
2677 | i18n("Timezone settings"),i18n("Reload"))) { | 2677 | i18n("Timezone settings"),i18n("Reload"))) { |
2678 | qDebug("KO: TZ reload cancelled "); | 2678 | qDebug("KO: TZ reload cancelled "); |
2679 | mCalendar->setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId); | 2679 | mCalendar->setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId); |
2680 | return; | 2680 | return; |
2681 | } | 2681 | } |
2682 | qDebug("KO: Timezone change "); | 2682 | qDebug("KO: Timezone change "); |
2683 | openCalendar( MainWindow::defaultFileName() ); | 2683 | loadCalendars(); |
2684 | setModified(true); | 2684 | setModified(true); |
2685 | } | 2685 | } |
2686 | else | 2686 | else |
2687 | qDebug("KO: No tz change "); | 2687 | qDebug("KO: No tz change "); |
2688 | } | 2688 | } |
2689 | void CalendarView::edit_options() | 2689 | void CalendarView::edit_options() |
2690 | { | 2690 | { |
2691 | mDialogManager->showOptionsDialog(); | 2691 | mDialogManager->showOptionsDialog(); |
2692 | } | 2692 | } |
2693 | 2693 | ||
2694 | 2694 | ||
2695 | void CalendarView::slotSelectPickerDate( QDate d) | 2695 | void CalendarView::slotSelectPickerDate( QDate d) |
2696 | { | 2696 | { |
2697 | mDateFrame->hide(); | 2697 | mDateFrame->hide(); |
2698 | if ( mDatePickerMode == 1 ) { | 2698 | if ( mDatePickerMode == 1 ) { |
2699 | mNavigator->slotDaySelect( d ); | 2699 | mNavigator->slotDaySelect( d ); |
2700 | } else if ( mDatePickerMode == 2 ) { | 2700 | } else if ( mDatePickerMode == 2 ) { |
2701 | if ( mMoveIncidence->typeID() == todoID ) { | 2701 | if ( mMoveIncidence->typeID() == todoID ) { |
2702 | Todo * to = (Todo *) mMoveIncidence; | 2702 | Todo * to = (Todo *) mMoveIncidence; |
2703 | QTime tim; | 2703 | QTime tim; |
2704 | int len = 0; | 2704 | int len = 0; |
2705 | if ( to->hasStartDate() && to->hasDueDate() ) | 2705 | if ( to->hasStartDate() && to->hasDueDate() ) |
2706 | len = to->dtStart().secsTo( to->dtDue()); | 2706 | len = to->dtStart().secsTo( to->dtDue()); |
2707 | if ( to->hasDueDate() ) | 2707 | if ( to->hasDueDate() ) |
2708 | tim = to->dtDue().time(); | 2708 | tim = to->dtDue().time(); |
2709 | else { | 2709 | else { |
2710 | tim = QTime ( 0,0,0 ); | 2710 | tim = QTime ( 0,0,0 ); |
2711 | to->setFloats( true ); | 2711 | to->setFloats( true ); |
2712 | to->setHasDueDate( true ); | 2712 | to->setHasDueDate( true ); |
2713 | } | 2713 | } |
2714 | QDateTime dt ( d,tim ); | 2714 | QDateTime dt ( d,tim ); |
2715 | to->setDtDue( dt ); | 2715 | to->setDtDue( dt ); |
2716 | 2716 | ||
2717 | if ( to->hasStartDate() ) { | 2717 | if ( to->hasStartDate() ) { |
2718 | if ( len>0 ) | 2718 | if ( len>0 ) |
2719 | to->setDtStart(to->dtDue().addSecs( -len )); | 2719 | to->setDtStart(to->dtDue().addSecs( -len )); |
2720 | else | 2720 | else |
2721 | if (to->dtStart() > to->dtDue() ) | 2721 | if (to->dtStart() > to->dtDue() ) |
2722 | to->setDtStart(to->dtDue().addDays( -3 )); | 2722 | to->setDtStart(to->dtDue().addDays( -3 )); |
2723 | } | 2723 | } |
2724 | 2724 | ||
2725 | todoChanged( to ); | 2725 | todoChanged( to ); |
2726 | } else { | 2726 | } else { |
2727 | if ( mMoveIncidence->doesRecur() ) { | 2727 | if ( mMoveIncidence->doesRecur() ) { |
2728 | #if 0 | 2728 | #if 0 |
2729 | // PENDING implement this | 2729 | // PENDING implement this |
2730 | Incidence* newInc = mMoveIncidence->recreateCloneException( mMoveIncidenceOldDate ); | 2730 | Incidence* newInc = mMoveIncidence->recreateCloneException( mMoveIncidenceOldDate ); |
2731 | mCalendar()->addIncidence( newInc ); | 2731 | mCalendar()->addIncidence( newInc ); |
2732 | if ( mMoveIncidence->typeID() == todoID ) | 2732 | if ( mMoveIncidence->typeID() == todoID ) |
2733 | emit todoMoved((Todo*)mMoveIncidence, KOGlobals::EVENTEDITED ); | 2733 | emit todoMoved((Todo*)mMoveIncidence, KOGlobals::EVENTEDITED ); |
2734 | else | 2734 | else |
2735 | emit incidenceChanged(mMoveIncidence, KOGlobals::EVENTEDITED); | 2735 | emit incidenceChanged(mMoveIncidence, KOGlobals::EVENTEDITED); |
2736 | mMoveIncidence = newInc; | 2736 | mMoveIncidence = newInc; |
2737 | 2737 | ||
2738 | #endif | 2738 | #endif |
2739 | } | 2739 | } |
2740 | QTime tim = mMoveIncidence->dtStart().time(); | 2740 | QTime tim = mMoveIncidence->dtStart().time(); |
2741 | int secs = mMoveIncidence->dtStart().secsTo( mMoveIncidence->dtEnd()); | 2741 | int secs = mMoveIncidence->dtStart().secsTo( mMoveIncidence->dtEnd()); |
2742 | QDateTime dt ( d,tim ); | 2742 | QDateTime dt ( d,tim ); |
2743 | mMoveIncidence->setDtStart( dt ); | 2743 | mMoveIncidence->setDtStart( dt ); |
2744 | ((Event*)mMoveIncidence)->setDtEnd( dt.addSecs( secs ) ); | 2744 | ((Event*)mMoveIncidence)->setDtEnd( dt.addSecs( secs ) ); |
2745 | changeEventDisplay((Event*)mMoveIncidence, KOGlobals::EVENTEDITED); | 2745 | changeEventDisplay((Event*)mMoveIncidence, KOGlobals::EVENTEDITED); |
2746 | } | 2746 | } |
2747 | 2747 | ||
2748 | mMoveIncidence->setRevision( mMoveIncidence->revision()+1 ); | 2748 | mMoveIncidence->setRevision( mMoveIncidence->revision()+1 ); |
2749 | } | 2749 | } |
2750 | } | 2750 | } |
2751 | 2751 | ||
2752 | void CalendarView::removeCategories() | 2752 | void CalendarView::removeCategories() |
2753 | { | 2753 | { |
2754 | QPtrList<Incidence> incList = mCalendar->rawIncidences(); | 2754 | QPtrList<Incidence> incList = mCalendar->rawIncidences(); |
2755 | QStringList catList = KOPrefs::instance()->mCustomCategories; | 2755 | QStringList catList = KOPrefs::instance()->mCustomCategories; |
2756 | QStringList catIncList; | 2756 | QStringList catIncList; |
2757 | QStringList newCatList; | 2757 | QStringList newCatList; |
2758 | Incidence* inc = incList.first(); | 2758 | Incidence* inc = incList.first(); |
2759 | int i; | 2759 | int i; |
2760 | int count = 0; | 2760 | int count = 0; |
2761 | while ( inc ) { | 2761 | while ( inc ) { |
2762 | newCatList.clear(); | 2762 | newCatList.clear(); |
2763 | catIncList = inc->categories() ; | 2763 | catIncList = inc->categories() ; |
2764 | for( i = 0; i< catIncList.count(); ++i ) { | 2764 | for( i = 0; i< catIncList.count(); ++i ) { |
2765 | if ( catList.contains (catIncList[i])) | 2765 | if ( catList.contains (catIncList[i])) |
2766 | newCatList.append( catIncList[i] ); | 2766 | newCatList.append( catIncList[i] ); |
2767 | } | 2767 | } |
2768 | newCatList.sort(); | 2768 | newCatList.sort(); |
2769 | inc->setCategories( newCatList.join(",") ); | 2769 | inc->setCategories( newCatList.join(",") ); |
2770 | inc = incList.next(); | 2770 | inc = incList.next(); |
2771 | } | 2771 | } |
2772 | } | 2772 | } |
2773 | 2773 | ||
2774 | int CalendarView::addCategories() | 2774 | int CalendarView::addCategories() |
2775 | { | 2775 | { |
2776 | QPtrList<Incidence> incList = mCalendar->rawIncidences(); | 2776 | QPtrList<Incidence> incList = mCalendar->rawIncidences(); |
2777 | QStringList catList = KOPrefs::instance()->mCustomCategories; | 2777 | QStringList catList = KOPrefs::instance()->mCustomCategories; |
2778 | QStringList catIncList; | 2778 | QStringList catIncList; |
2779 | Incidence* inc = incList.first(); | 2779 | Incidence* inc = incList.first(); |
2780 | int i; | 2780 | int i; |
2781 | int count = 0; | 2781 | int count = 0; |
2782 | while ( inc ) { | 2782 | while ( inc ) { |
2783 | catIncList = inc->categories() ; | 2783 | catIncList = inc->categories() ; |
2784 | for( i = 0; i< catIncList.count(); ++i ) { | 2784 | for( i = 0; i< catIncList.count(); ++i ) { |
2785 | if ( !catList.contains (catIncList[i])) { | 2785 | if ( !catList.contains (catIncList[i])) { |
2786 | catList.append( catIncList[i] ); | 2786 | catList.append( catIncList[i] ); |
2787 | //qDebug("add cat %s ", catIncList[i].latin1()); | 2787 | //qDebug("add cat %s ", catIncList[i].latin1()); |
2788 | ++count; | 2788 | ++count; |
2789 | } | 2789 | } |
2790 | } | 2790 | } |
2791 | inc = incList.next(); | 2791 | inc = incList.next(); |
2792 | } | 2792 | } |
2793 | catList.sort(); | 2793 | catList.sort(); |
2794 | KOPrefs::instance()->mCustomCategories = catList; | 2794 | KOPrefs::instance()->mCustomCategories = catList; |
2795 | return count; | 2795 | return count; |
2796 | } | 2796 | } |
2797 | 2797 | ||
2798 | void CalendarView::manageCategories() | 2798 | void CalendarView::manageCategories() |
2799 | { | 2799 | { |
2800 | KOCatPrefs* cp = new KOCatPrefs(); | 2800 | KOCatPrefs* cp = new KOCatPrefs(); |
2801 | cp->show(); | 2801 | cp->show(); |
2802 | int w =cp->sizeHint().width() ; | 2802 | int w =cp->sizeHint().width() ; |
2803 | int h = cp->sizeHint().height() ; | 2803 | int h = cp->sizeHint().height() ; |
2804 | int dw = QApplication::desktop()->width(); | 2804 | int dw = QApplication::desktop()->width(); |
2805 | int dh = QApplication::desktop()->height(); | 2805 | int dh = QApplication::desktop()->height(); |
2806 | cp->setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); | 2806 | cp->setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); |
2807 | if ( !cp->exec() ) { | 2807 | if ( !cp->exec() ) { |
2808 | delete cp; | 2808 | delete cp; |
2809 | return; | 2809 | return; |
2810 | } | 2810 | } |
2811 | int count = 0; | 2811 | int count = 0; |
2812 | if ( cp->addCat() ) { | 2812 | if ( cp->addCat() ) { |
2813 | count = addCategories(); | 2813 | count = addCategories(); |
2814 | if ( count ) { | 2814 | if ( count ) { |
2815 | topLevelWidget()->setCaption(QString::number( count )+ i18n(" Categories added to list! ")); | 2815 | topLevelWidget()->setCaption(QString::number( count )+ i18n(" Categories added to list! ")); |
2816 | writeSettings(); | 2816 | writeSettings(); |
2817 | } else | 2817 | } else |
2818 | topLevelWidget()->setCaption(QString::number( 0 )+ i18n(" Categories added to list! ")); | 2818 | topLevelWidget()->setCaption(QString::number( 0 )+ i18n(" Categories added to list! ")); |
2819 | } else { | 2819 | } else { |
2820 | removeCategories(); | 2820 | removeCategories(); |
2821 | updateView(); | 2821 | updateView(); |
2822 | } | 2822 | } |
2823 | delete cp; | 2823 | delete cp; |
2824 | } | 2824 | } |
2825 | 2825 | ||
2826 | void CalendarView::beamIncidence(Incidence * Inc) | 2826 | void CalendarView::beamIncidence(Incidence * Inc) |
2827 | { | 2827 | { |
2828 | QPtrList<Incidence> delSel ; | 2828 | QPtrList<Incidence> delSel ; |
2829 | delSel.append(Inc); | 2829 | delSel.append(Inc); |
2830 | beamIncidenceList( delSel ); | 2830 | beamIncidenceList( delSel ); |
2831 | } | 2831 | } |
2832 | void CalendarView::beamCalendar() | 2832 | void CalendarView::beamCalendar() |
2833 | { | 2833 | { |
2834 | QPtrList<Incidence> delSel = mCalendar->rawIncidences(); | 2834 | QPtrList<Incidence> delSel = mCalendar->rawIncidences(); |
2835 | //qDebug("beamCalendar() "); | 2835 | //qDebug("beamCalendar() "); |
2836 | beamIncidenceList( delSel ); | 2836 | beamIncidenceList( delSel ); |
2837 | } | 2837 | } |
2838 | void CalendarView::beamFilteredCalendar() | 2838 | void CalendarView::beamFilteredCalendar() |
2839 | { | 2839 | { |
2840 | QPtrList<Incidence> delSel = mCalendar->incidences(); | 2840 | QPtrList<Incidence> delSel = mCalendar->incidences(); |
2841 | //qDebug("beamFilteredCalendar() "); | 2841 | //qDebug("beamFilteredCalendar() "); |
2842 | beamIncidenceList( delSel ); | 2842 | beamIncidenceList( delSel ); |
2843 | } | 2843 | } |
2844 | void CalendarView::beamIncidenceList(QPtrList<Incidence> delSel ) | 2844 | void CalendarView::beamIncidenceList(QPtrList<Incidence> delSel ) |
2845 | { | 2845 | { |
2846 | if ( beamDialog->exec () == QDialog::Rejected ) | 2846 | if ( beamDialog->exec () == QDialog::Rejected ) |
2847 | return; | 2847 | return; |
2848 | #ifdef DESKTOP_VERSION | 2848 | #ifdef DESKTOP_VERSION |
2849 | QString fn = locateLocal( "tmp", "kopibeamfile" ); | 2849 | QString fn = locateLocal( "tmp", "kopibeamfile" ); |
2850 | #else | 2850 | #else |
2851 | QString fn = "/tmp/kopibeamfile"; | 2851 | QString fn = "/tmp/kopibeamfile"; |
2852 | #endif | 2852 | #endif |
2853 | QString mes; | 2853 | QString mes; |
2854 | bool createbup = true; | 2854 | bool createbup = true; |
2855 | if ( createbup ) { | 2855 | if ( createbup ) { |
2856 | QString description = "\n"; | 2856 | QString description = "\n"; |
2857 | CalendarLocal* cal = new CalendarLocal(); | 2857 | CalendarLocal* cal = new CalendarLocal(); |
2858 | if ( beamDialog->beamLocal() ) | 2858 | if ( beamDialog->beamLocal() ) |
2859 | cal->setLocalTime(); | 2859 | cal->setLocalTime(); |
2860 | else | 2860 | else |
2861 | cal->setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId); | 2861 | cal->setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId); |
2862 | Incidence *incidence = delSel.first(); | 2862 | Incidence *incidence = delSel.first(); |
2863 | bool addText = false; | 2863 | bool addText = false; |
2864 | if ( delSel.count() < 10 ) | 2864 | if ( delSel.count() < 10 ) |
2865 | addText = true; | 2865 | addText = true; |
2866 | else { | 2866 | else { |
2867 | description.sprintf(i18n(" %d items?"),delSel.count() ); | 2867 | description.sprintf(i18n(" %d items?"),delSel.count() ); |
2868 | } | 2868 | } |
2869 | while ( incidence ) { | 2869 | while ( incidence ) { |
2870 | Incidence *in = incidence->clone(); | 2870 | Incidence *in = incidence->clone(); |
2871 | if ( ! in->summary().isEmpty() ) { | 2871 | if ( ! in->summary().isEmpty() ) { |
2872 | in->setDescription(""); | 2872 | in->setDescription(""); |
2873 | } else { | 2873 | } else { |
2874 | in->setSummary( in->description().left(20)); | 2874 | in->setSummary( in->description().left(20)); |
2875 | in->setDescription(""); | 2875 | in->setDescription(""); |
2876 | } | 2876 | } |
2877 | if ( addText ) | 2877 | if ( addText ) |
2878 | description += in->summary() + "\n"; | 2878 | description += in->summary() + "\n"; |
2879 | cal->addIncidence( in ); | 2879 | cal->addIncidence( in ); |
2880 | incidence = delSel.next(); | 2880 | incidence = delSel.next(); |
2881 | } | 2881 | } |
2882 | if ( beamDialog->beamVcal() ) { | 2882 | if ( beamDialog->beamVcal() ) { |
2883 | fn += ".vcs"; | 2883 | fn += ".vcs"; |
2884 | FileStorage storage( cal, fn, new VCalFormat ); | 2884 | FileStorage storage( cal, fn, new VCalFormat ); |
2885 | storage.save(); | 2885 | storage.save(); |
2886 | } else { | 2886 | } else { |
2887 | fn += ".ics"; | 2887 | fn += ".ics"; |
2888 | FileStorage storage( cal, fn, new ICalFormat( ) ); | 2888 | FileStorage storage( cal, fn, new ICalFormat( ) ); |
2889 | storage.save(); | 2889 | storage.save(); |
2890 | } | 2890 | } |
2891 | delete cal; | 2891 | delete cal; |
2892 | mes = i18n("KO/Pi: Ready for beaming"); | 2892 | mes = i18n("KO/Pi: Ready for beaming"); |
2893 | topLevelWidget()->setCaption(mes); | 2893 | topLevelWidget()->setCaption(mes); |
2894 | KApplication::convert2latin1( fn ); | 2894 | KApplication::convert2latin1( fn ); |
2895 | #ifndef DESKTOP_VERSION | 2895 | #ifndef DESKTOP_VERSION |
2896 | Ir *ir = new Ir( this ); | 2896 | Ir *ir = new Ir( this ); |
2897 | connect( ir, SIGNAL( done( Ir * ) ), this, SLOT( beamDone( Ir * ) ) ); | 2897 | connect( ir, SIGNAL( done( Ir * ) ), this, SLOT( beamDone( Ir * ) ) ); |
2898 | ir->send( fn, description, "text/x-vCalendar" ); | 2898 | ir->send( fn, description, "text/x-vCalendar" ); |
2899 | #endif | 2899 | #endif |
2900 | } | 2900 | } |
2901 | } | 2901 | } |
2902 | void CalendarView::beamDone( Ir *ir ) | 2902 | void CalendarView::beamDone( Ir *ir ) |
2903 | { | 2903 | { |
2904 | #ifndef DESKTOP_VERSION | 2904 | #ifndef DESKTOP_VERSION |
2905 | delete ir; | 2905 | delete ir; |
2906 | #endif | 2906 | #endif |
2907 | topLevelWidget()->setCaption( i18n("KO/Pi: Beaming done.") ); | 2907 | topLevelWidget()->setCaption( i18n("KO/Pi: Beaming done.") ); |
2908 | topLevelWidget()->raise(); | 2908 | topLevelWidget()->raise(); |
2909 | } | 2909 | } |
2910 | 2910 | ||
2911 | void CalendarView::moveIncidence(Incidence * inc ) | 2911 | void CalendarView::moveIncidence(Incidence * inc ) |
2912 | { | 2912 | { |
2913 | if ( !inc ) return; | 2913 | if ( !inc ) return; |
2914 | showDatePickerPopup(); | 2914 | showDatePickerPopup(); |
2915 | mDatePickerMode = 2; | 2915 | mDatePickerMode = 2; |
2916 | mMoveIncidence = inc ; | 2916 | mMoveIncidence = inc ; |
2917 | QDate da; | 2917 | QDate da; |
2918 | if ( mMoveIncidence->typeID() == todoID ) { | 2918 | if ( mMoveIncidence->typeID() == todoID ) { |
2919 | Todo * to = (Todo *) mMoveIncidence; | 2919 | Todo * to = (Todo *) mMoveIncidence; |
2920 | if ( to->hasDueDate() ) | 2920 | if ( to->hasDueDate() ) |
2921 | da = to->dtDue().date(); | 2921 | da = to->dtDue().date(); |
2922 | else | 2922 | else |
2923 | da = QDate::currentDate(); | 2923 | da = QDate::currentDate(); |
2924 | } else { | 2924 | } else { |
2925 | da = mMoveIncidence->dtStart().date(); | 2925 | da = mMoveIncidence->dtStart().date(); |
2926 | } | 2926 | } |
2927 | //PENDING set date for recurring incidence to date of recurrence | 2927 | //PENDING set date for recurring incidence to date of recurrence |
2928 | //mMoveIncidenceOldDate; | 2928 | //mMoveIncidenceOldDate; |
2929 | mDatePicker->setDate( da ); | 2929 | mDatePicker->setDate( da ); |
2930 | } | 2930 | } |
2931 | void CalendarView::showDatePickerPopup() | 2931 | void CalendarView::showDatePickerPopup() |
2932 | { | 2932 | { |
2933 | if ( mDateFrame->isVisible() ) | 2933 | if ( mDateFrame->isVisible() ) |
2934 | mDateFrame->hide(); | 2934 | mDateFrame->hide(); |
2935 | else { | 2935 | else { |
2936 | int offX = 0, offY = 0; | 2936 | int offX = 0, offY = 0; |
2937 | #ifdef DESKTOP_VERSION | 2937 | #ifdef DESKTOP_VERSION |
2938 | int w =mDatePicker->sizeHint().width() ; | 2938 | int w =mDatePicker->sizeHint().width() ; |
2939 | int h = mDatePicker->sizeHint().height() ; | 2939 | int h = mDatePicker->sizeHint().height() ; |
2940 | int dw = topLevelWidget()->width(); | 2940 | int dw = topLevelWidget()->width(); |
2941 | int dh = topLevelWidget()->height(); | 2941 | int dh = topLevelWidget()->height(); |
2942 | offX = topLevelWidget()->x(); | 2942 | offX = topLevelWidget()->x(); |
2943 | offY = topLevelWidget()->y(); | 2943 | offY = topLevelWidget()->y(); |
2944 | #else | 2944 | #else |
2945 | int w =mDatePicker->sizeHint().width() ; | 2945 | int w =mDatePicker->sizeHint().width() ; |
2946 | int h = mDatePicker->sizeHint().height() ; | 2946 | int h = mDatePicker->sizeHint().height() ; |
2947 | int dw = QApplication::desktop()->width(); | 2947 | int dw = QApplication::desktop()->width(); |
2948 | int dh = QApplication::desktop()->height(); | 2948 | int dh = QApplication::desktop()->height(); |
2949 | #endif | 2949 | #endif |
2950 | mDateFrame->setGeometry( (dw-w)/2+offX, (dh - h )/2+offY ,w,h ); | 2950 | mDateFrame->setGeometry( (dw-w)/2+offX, (dh - h )/2+offY ,w,h ); |
2951 | mDateFrame->show(); | 2951 | mDateFrame->show(); |
2952 | } | 2952 | } |
2953 | } | 2953 | } |
2954 | void CalendarView::showDatePicker( ) | 2954 | void CalendarView::showDatePicker( ) |
2955 | { | 2955 | { |
2956 | showDatePickerPopup(); | 2956 | showDatePickerPopup(); |
2957 | mDatePickerMode = 1; | 2957 | mDatePickerMode = 1; |
2958 | mDatePicker->setDate( mNavigator->selectedDates().first() ); | 2958 | mDatePicker->setDate( mNavigator->selectedDates().first() ); |
2959 | } | 2959 | } |
2960 | 2960 | ||
2961 | void CalendarView::showEventEditor() | 2961 | void CalendarView::showEventEditor() |
2962 | { | 2962 | { |
2963 | #ifdef DESKTOP_VERSION | 2963 | #ifdef DESKTOP_VERSION |
2964 | int x,y,w,h; | 2964 | int x,y,w,h; |
2965 | x = mEventEditor->geometry().x(); | 2965 | x = mEventEditor->geometry().x(); |
2966 | y = mEventEditor->geometry().y(); | 2966 | y = mEventEditor->geometry().y(); |
2967 | w = mEventEditor->width(); | 2967 | w = mEventEditor->width(); |
2968 | h = mEventEditor->height(); | 2968 | h = mEventEditor->height(); |
2969 | mEventEditor->show(); | 2969 | mEventEditor->show(); |
2970 | mEventEditor->setGeometry(x,y,w,h); | 2970 | mEventEditor->setGeometry(x,y,w,h); |
2971 | #else | 2971 | #else |
2972 | if ( mEventEditor->width() < QApplication::desktop()->width() -60 || mEventEditor->width() > QApplication::desktop()->width() ) { | 2972 | if ( mEventEditor->width() < QApplication::desktop()->width() -60 || mEventEditor->width() > QApplication::desktop()->width() ) { |
2973 | topLevelWidget()->setCaption( i18n("Recreating edit dialog. Please wait...") ); | 2973 | topLevelWidget()->setCaption( i18n("Recreating edit dialog. Please wait...") ); |
2974 | qDebug("KO: CalendarView: recreate mEventEditor %d %d", mEventEditor->width(), QApplication::desktop()->width() ); | 2974 | qDebug("KO: CalendarView: recreate mEventEditor %d %d", mEventEditor->width(), QApplication::desktop()->width() ); |
2975 | qApp->processEvents(); | 2975 | qApp->processEvents(); |
2976 | delete mEventEditor; | 2976 | delete mEventEditor; |
2977 | mEventEditor = mDialogManager->getEventEditor(); | 2977 | mEventEditor = mDialogManager->getEventEditor(); |
2978 | topLevelWidget()->setCaption( i18n("") ); | 2978 | topLevelWidget()->setCaption( i18n("") ); |
2979 | } | 2979 | } |
2980 | mEventEditor->showMaximized(); | 2980 | mEventEditor->showMaximized(); |
2981 | #endif | 2981 | #endif |
2982 | } | 2982 | } |
2983 | void CalendarView::showTodoEditor() | 2983 | void CalendarView::showTodoEditor() |
2984 | { | 2984 | { |
2985 | #ifdef DESKTOP_VERSION | 2985 | #ifdef DESKTOP_VERSION |
2986 | int x,y,w,h; | 2986 | int x,y,w,h; |
2987 | x = mTodoEditor->geometry().x(); | 2987 | x = mTodoEditor->geometry().x(); |
2988 | y = mTodoEditor->geometry().y(); | 2988 | y = mTodoEditor->geometry().y(); |
2989 | w = mTodoEditor->width(); | 2989 | w = mTodoEditor->width(); |
2990 | h = mTodoEditor->height(); | 2990 | h = mTodoEditor->height(); |
2991 | mTodoEditor->show(); | 2991 | mTodoEditor->show(); |
2992 | mTodoEditor->setGeometry(x,y,w,h); | 2992 | mTodoEditor->setGeometry(x,y,w,h); |
2993 | #else | 2993 | #else |
2994 | if ( mTodoEditor->width() < QApplication::desktop()->width() -60|| mTodoEditor->width() > QApplication::desktop()->width() ) { | 2994 | if ( mTodoEditor->width() < QApplication::desktop()->width() -60|| mTodoEditor->width() > QApplication::desktop()->width() ) { |
2995 | topLevelWidget()->setCaption( i18n("Recreating edit dialog. Please wait...") ); | 2995 | topLevelWidget()->setCaption( i18n("Recreating edit dialog. Please wait...") ); |
2996 | qDebug("KO: CalendarView: recreate mTodoEditor %d %d ", mTodoEditor->width() ,QApplication::desktop()->width() ); | 2996 | qDebug("KO: CalendarView: recreate mTodoEditor %d %d ", mTodoEditor->width() ,QApplication::desktop()->width() ); |
2997 | qApp->processEvents(); | 2997 | qApp->processEvents(); |
2998 | delete mTodoEditor; | 2998 | delete mTodoEditor; |
2999 | mTodoEditor = mDialogManager->getTodoEditor(); | 2999 | mTodoEditor = mDialogManager->getTodoEditor(); |
3000 | topLevelWidget()->setCaption( i18n("") ); | 3000 | topLevelWidget()->setCaption( i18n("") ); |
3001 | } | 3001 | } |
3002 | mTodoEditor->showMaximized(); | 3002 | mTodoEditor->showMaximized(); |
3003 | #endif | 3003 | #endif |
3004 | } | 3004 | } |
3005 | 3005 | ||
3006 | void CalendarView::cloneIncidence() | 3006 | void CalendarView::cloneIncidence() |
3007 | { | 3007 | { |
3008 | Incidence *incidence = currentSelection(); | 3008 | Incidence *incidence = currentSelection(); |
3009 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); | 3009 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); |
3010 | if ( incidence ) { | 3010 | if ( incidence ) { |
3011 | cloneIncidence(incidence); | 3011 | cloneIncidence(incidence); |
3012 | } | 3012 | } |
3013 | } | 3013 | } |
3014 | void CalendarView::moveIncidence() | 3014 | void CalendarView::moveIncidence() |
3015 | { | 3015 | { |
3016 | Incidence *incidence = currentSelection(); | 3016 | Incidence *incidence = currentSelection(); |
3017 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); | 3017 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); |
3018 | if ( incidence ) { | 3018 | if ( incidence ) { |
3019 | moveIncidence(incidence); | 3019 | moveIncidence(incidence); |
3020 | } | 3020 | } |
3021 | } | 3021 | } |
3022 | void CalendarView::beamIncidence() | 3022 | void CalendarView::beamIncidence() |
3023 | { | 3023 | { |
3024 | Incidence *incidence = currentSelection(); | 3024 | Incidence *incidence = currentSelection(); |
3025 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); | 3025 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); |
3026 | if ( incidence ) { | 3026 | if ( incidence ) { |
3027 | beamIncidence(incidence); | 3027 | beamIncidence(incidence); |
3028 | } | 3028 | } |
3029 | } | 3029 | } |
3030 | void CalendarView::toggleCancelIncidence() | 3030 | void CalendarView::toggleCancelIncidence() |
3031 | { | 3031 | { |
3032 | Incidence *incidence = currentSelection(); | 3032 | Incidence *incidence = currentSelection(); |
3033 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); | 3033 | if ( !incidence ) incidence = mTodoList->selectedIncidences().first(); |
3034 | if ( incidence ) { | 3034 | if ( incidence ) { |
3035 | cancelIncidence(incidence); | 3035 | cancelIncidence(incidence); |
3036 | } | 3036 | } |
3037 | } | 3037 | } |
3038 | 3038 | ||
3039 | 3039 | ||
3040 | void CalendarView::cancelIncidence(Incidence * inc ) | 3040 | void CalendarView::cancelIncidence(Incidence * inc ) |
3041 | { | 3041 | { |
3042 | inc->setCancelled( ! inc->cancelled() ); | 3042 | inc->setCancelled( ! inc->cancelled() ); |
3043 | changeIncidenceDisplay( inc,KOGlobals::EVENTEDITED ); | 3043 | changeIncidenceDisplay( inc,KOGlobals::EVENTEDITED ); |
3044 | updateView(); | 3044 | updateView(); |
3045 | } | 3045 | } |
3046 | void CalendarView::cloneIncidence(Incidence * orgInc ) | 3046 | void CalendarView::cloneIncidence(Incidence * orgInc ) |
3047 | { | 3047 | { |
3048 | Incidence * newInc = orgInc->clone(); | 3048 | Incidence * newInc = orgInc->clone(); |
3049 | newInc->recreate(); | 3049 | newInc->recreate(); |
3050 | 3050 | ||
3051 | if ( newInc->typeID() == todoID ) { | 3051 | if ( newInc->typeID() == todoID ) { |
3052 | Todo* t = (Todo*) newInc; | 3052 | Todo* t = (Todo*) newInc; |
3053 | bool cloneSub = false; | 3053 | bool cloneSub = false; |
3054 | if ( orgInc->relations().count() ) { | 3054 | if ( orgInc->relations().count() ) { |
3055 | int result = KMessageBox::warningYesNoCancel(this, | 3055 | int result = KMessageBox::warningYesNoCancel(this, |
3056 | i18n("The todo\n%1\nwill be cloned!\nIt has subtodos!\nDo you want to clone\nall subtodos as well?").arg( newInc->summary().left ( 25 ) ), | 3056 | i18n("The todo\n%1\nwill be cloned!\nIt has subtodos!\nDo you want to clone\nall subtodos as well?").arg( newInc->summary().left ( 25 ) ), |
3057 | i18n("Todo has subtodos"), | 3057 | i18n("Todo has subtodos"), |
3058 | i18n("Yes"), | 3058 | i18n("Yes"), |
3059 | i18n("No")); | 3059 | i18n("No")); |
3060 | 3060 | ||
3061 | if ( result == KMessageBox::Cancel ) { | 3061 | if ( result == KMessageBox::Cancel ) { |
3062 | delete t; | 3062 | delete t; |
3063 | return; | 3063 | return; |
3064 | } | 3064 | } |
3065 | if (result == KMessageBox::Yes) cloneSub = true; | 3065 | if (result == KMessageBox::Yes) cloneSub = true; |
3066 | } | 3066 | } |
3067 | showTodoEditor(); | 3067 | showTodoEditor(); |