summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/kaddressbook/germantranslation.txt738
-rw-r--r--bin/kdepim/korganizer/usertranslation.txt250
-rw-r--r--kaddressbook/kabprefs.cpp74
-rw-r--r--kaddressbook/kabprefs.h3
-rw-r--r--kaddressbook/kaddressbookmain.cpp3
-rw-r--r--kaddressbook/kaddressbookview.cpp1
-rw-r--r--kaddressbook/mainembedded.cpp6
-rw-r--r--kmicromail/main.cpp3
-rw-r--r--kmicromail/mainwindow.cpp48
-rw-r--r--kmicromail/opiemail.cpp41
-rw-r--r--korganizer/main.cpp4
-rw-r--r--korganizer/wordsgerman.h245
-rw-r--r--microkde/kdecore/klocale.cpp44
13 files changed, 1406 insertions, 54 deletions
diff --git a/bin/kdepim/kaddressbook/germantranslation.txt b/bin/kdepim/kaddressbook/germantranslation.txt
new file mode 100644
index 0000000..d7e9d0a
--- a/dev/null
+++ b/bin/kdepim/kaddressbook/germantranslation.txt
@@ -0,0 +1,738 @@
1{ "file","file" },
2{ "Choose one file","Choose one file" },
3{ "dir","dir" },
4{ "Choose a directory with may files","Choose a directory with may files" },
5{ "ldap","ldap" },
6{ "No description available","No description available" },
7{ "Library files for "%1" not found in paths","Library files for "%1" not found in paths" },
8{ "qtopia","qtopia" },
9{ "Qtopia PIM Addressbook.","Qtopia PIM Addressbook." },
10{ "vCard","vCard" },
11{ "vCard Format","vCard Format" },
12{ "microkabcformat_binary","microkabcformat_binary" },
13{ "Binary","Binary" },
14{ "No description available.","No description available." },
15{ "Department","Department" },
16{ "Profession","Profession" },
17{ "Assistant's Name","Assistant's Name" },
18{ "Manager's Name","Manager's Name" },
19{ "Spouse's Name","Spouse's Name" },
20{ "Office","Office" },
21{ "IM Address","IM Address" },
22{ "Anniversary","Anniversary" },
23{ "Gender","Gender" },
24{ "Children","Children" },
25{ "FreeBusyUrl","FreeBusyUrl" },
26{ "ExternalID","ExternalID" },
27{ "Resource loaded: '%1'","Resource loaded: '%1'" },
28{ "Select View","Select View" },
29{ "Modify View...","Modify View..." },
30{ "Add View...","Add View..." },
31{ "Delete View","Delete View" },
32{ "Refresh View","Refresh View" },
33{ "Edit &Filters...","Edit &Filters..." },
34{ "Select Filter","Select Filter" },
35{ "Style:","Style:" },
36{ "HTML table style.","HTML table style." },
37{ "Default Table View","Default Table View" },
38{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" },
39{ "Show Extension Bar","Show Extension Bar" },
40{ "None","None" },
41{ "Name...","Name..." },
42{ "Role:","Role:" },
43{ "Organization:","Organization:" },
44{ "Formatted name:","Formatted name:" },
45{ "Edit Phone Numbers...","Edit Phone Numbers..." },
46{ "Categories","Categories" },
47{ "Public","Public" },
48{ "Private","Private" },
49{ "Confidential","Confidential" },
50{ "&General","&General" },
51{ "&Edit Addresses...","&Edit Addresses..." },
52{ "Edit Email Addresses...","Edit Email Addresses..." },
53{ "Email:","Email:" },
54{ "URL:","URL:" },
55{ "&IM address:","&IM address:" },
56{ "&Address","&Address" },
57{ "Department:","Department:" },
58{ "Office:","Office:" },
59{ "Profession:","Profession:" },
60{ "Manager's name:","Manager's name:" },
61{ "Assistant's name:","Assistant's name:" },
62{ "Nick name:","Nick name:" },
63{ "Spouse's name:","Spouse's name:" },
64{ "Children's names:","Children's names:" },
65{ "Birthday:","Birthday:" },
66{ " Local Time"," Local Time" },
67{ "+12:00 Asia/Kamchatka","+12:00 Asia/Kamchatka" },
68{ "+11:00 Asia/Magadan","+11:00 Asia/Magadan" },
69{ "+10:00 Asia/Vladivostok","+10:00 Asia/Vladivostok" },
70{ "+09:00 Asia/Tokyo","+09:00 Asia/Tokyo" },
71{ "+08:00 Asia/Hongkong","+08:00 Asia/Hongkong" },
72{ "+07:00 Asia/Bangkok","+07:00 Asia/Bangkok" },
73{ "+06:00 Indian/Chagos","+06:00 Indian/Chagos" },
74{ "+05:00 Indian/Maldives","+05:00 Indian/Maldives" },
75{ "+04:00 Indian/Mauritius","+04:00 Indian/Mauritius" },
76{ "+03:00 Europe/Moscow","+03:00 Europe/Moscow" },
77{ "+02:00 Europe/Helsinki","+02:00 Europe/Helsinki" },
78{ " 00:00 Europe/London(UTC)"," 00:00 Europe/London(UTC)" },
79{ "-01:00 Atlantic/Azores","-01:00 Atlantic/Azores" },
80{ "-02:00 Brazil/DeNoronha","-02:00 Brazil/DeNoronha" },
81{ "-03:00 Brazil/East","-03:00 Brazil/East" },
82{ "-04:00 Brazil/West","-04:00 Brazil/West" },
83{ "-05:00 US/Eastern","-05:00 US/Eastern" },
84{ "-06:00 US/Central","-06:00 US/Central" },
85{ "-07:00 US/Mountain","-07:00 US/Mountain" },
86{ "-08:00 US/Pacific","-08:00 US/Pacific" },
87{ "-09:00 US/Alaska","-09:00 US/Alaska" },
88{ "-10:00 US/Hawaii","-10:00 US/Hawaii" },
89{ "-11:00 US/Samoa","-11:00 US/Samoa" },
90{ "Mon","Mon" },
91{ "Tue","Tue" },
92{ "Wed","Wed" },
93{ "Thu","Thu" },
94{ "Fri","Fri" },
95{ "Sat","Sat" },
96{ "Sun","Sun" },
97{ "January","January" },
98{ "February","February" },
99{ "March","March" },
100{ "April","April" },
101{ "May","May" },
102{ "June","June" },
103{ "July","July" },
104{ "August","August" },
105{ "September","September" },
106{ "October","October" },
107{ "November","November" },
108{ "December","December" },
109{ "tomorrow","tomorrow" },
110{ "today","today" },
111{ "yesterday","yesterday" },
112{ "Monday","Monday" },
113{ "Tuesday","Tuesday" },
114{ "Wednesday","Wednesday" },
115{ "Thursday","Thursday" },
116{ "Friday","Friday" },
117{ "Saturday","Saturday" },
118{ "Sunday","Sunday" },
119{ "Anniversary:","Anniversary:" },
120{ "Gender:","Gender:" },
121{ "ALIEN (gender undefined)","ALIEN (gender undefined)" },
122{ "female","female" },
123{ "male","male" },
124{ "&Details","&Details" },
125{ "Note:","Note:" },
126{ "&Notes","&Notes" },
127{ "Use geo data","Use geo data" },
128{ "Latitude:","Latitude:" },
129{ "Longitude:","Longitude:" },
130{ "Edit Geo Data...","Edit Geo Data..." },
131{ "Keys:","Keys:" },
132{ "Add","Add" },
133{ "Remove","Remove" },
134{ "Export","Export" },
135{ "&Misc","&Misc" },
136{ "Photo","Photo" },
137{ "Store as URL","Store as URL" },
138{ "Logo","Logo" },
139{ "&Images","&Images" },
140{ "Home","Home" },
141{ "Work","Work" },
142{ "Mobile","Mobile" },
143{ "Fax","Fax" },
144{ "Contact Editor","Contact Editor" },
145{ "&Mail...","&Mail..." },
146{ "&Print...","&Print..." },
147{ "&Save","&Save" },
148{ "&New Contact...","&New Contact..." },
149{ "Mail &vCard...","Mail &vCard..." },
150{ "Selected to phone","Selected to phone" },
151{ "Beam selected v&Card(s)","Beam selected v&Card(s)" },
152{ "&Beam personal vCard","&Beam personal vCard" },
153{ "&Edit Contact...","&Edit Contact..." },
154{ "&Exit","&Exit" },
155{ "&Copy","&Copy" },
156{ "Cu&t","Cu&t" },
157{ "&Paste","&Paste" },
158{ "Select &All","Select &All" },
159{ "&Undo","&Undo" },
160{ "Re&do","Re&do" },
161{ "&Delete Contact","&Delete Contact" },
162{ "Configure &Resources...","Configure &Resources..." },
163{ "&Configure %1...","&Configure %1..." },
164{ "Configure S&hortcuts...","Configure S&hortcuts..." },
165{ "Show Jump Bar","Show Jump Bar" },
166{ "Show Details","Show Details" },
167{ "Beam receice enabled","Beam receice enabled" },
168{ "Set Who Am I","Set Who Am I" },
169{ "Set Categories","Set Categories" },
170{ "Remove "voice"...","Remove "voice"..." },
171{ "Import from Outlook...","Import from Outlook..." },
172{ "Licence","Licence" },
173{ "Faq","Faq" },
174{ "What's New?","What's New?" },
175{ "Sync HowTo","Sync HowTo" },
176{ "&About KAddressBook","&About KAddressBook" },
177{ "Select Incremental Search Field","Select Incremental Search Field" },
178{ "Synchronize","Synchronize" },
179{ "Configure...","Configure..." },
180{ "Enable Pi-Sync","Enable Pi-Sync" },
181{ "Multiple sync","Multiple sync" },
182{ "Import CSV List...","Import CSV List..." },
183{ "Export CSV List...","Export CSV List..." },
184{ "Import KDE 2 Addressbook...","Import KDE 2 Addressbook..." },
185{ "Import vCard...","Import vCard..." },
186{ "Export vCard 3.0...","Export vCard 3.0..." },
187{ "Import Qtopia...","Import Qtopia..." },
188{ "Export Qtopia...","Export Qtopia..." },
189{ "Edit Contact","Edit Contact" },
190{ "Ok","Ok" },
191{ "Apply","Apply" },
192{ "Cancel","Cancel" },
193{ "KAddressbook/Pi","KAddressbook/Pi" },
194{ "No Filter","No Filter" },
195{ "Given Name","Given Name" },
196{ "Family Name","Family Name" },
197{ "Email Address","Email Address" },
198{ "All Fields","All Fields" },
199{ "Question","Question" },
200{ "After importing, phone numbers\nmay have two or more types.\n(E.g. work+voice)\nThese numbers are shown as "other".\nClick Yes to remove the voice type\nfrom numbers with more than one type.\n\nRemove voice type?","After importing, phone numbers\nmay have two or more types.\n(E.g. work+voice)\nThese numbers are shown as "other".\nClick Yes to remove the voice type\nfrom numbers with more than one type.\n\nRemove voice type?" },
201{ "No","No" },
202{ "Yes","Yes" },
203{ "Synchronization Preferences","Synchronization Preferences" },
204{ "Local device name:","Local device name:" },
205{ "New profile","New profile" },
206{ "Clone profile","Clone profile" },
207{ "Delete profile","Delete profile" },
208{ "Profile:","Profile:" },
209{ "Include in multiple ","Include in multiple " },
210{ "calendar ","calendar " },
211{ "addressbook ","addressbook " },
212{ "pwmanager","pwmanager" },
213{ " sync"," sync" },
214{ "Ask for preferences before sync","Ask for preferences before sync" },
215{ "Sync preferences","Sync preferences" },
216{ "Take local entry on conflict","Take local entry on conflict" },
217{ "Take remote entry on conflict","Take remote entry on conflict" },
218{ "Take newest entry on conflict","Take newest entry on conflict" },
219{ "Ask for every entry on conflict","Ask for every entry on conflict" },
220{ "Force: Take local entry always","Force: Take local entry always" },
221{ "Force: Take remote entry always","Force: Take remote entry always" },
222{ "Show summary after sync","Show summary after sync" },
223{ "Write back synced data","Write back synced data" },
224{ "-- Write back (on remote) existing entries only","-- Write back (on remote) existing entries only" },
225{ "-- Write back (calendar) entries in future only","-- Write back (calendar) entries in future only" },
226{ "---- Max. weeks in future: ","---- Max. weeks in future: " },
227{ "Profile kind","Profile kind" },
228{ "Local file","Local file" },
229{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direct Kx/Pi to Kx/Pi sync )" },
230{ "Remote file (w down/upload command)","Remote file (w down/upload command)" },
231{ "Mobile device (cell phone)","Mobile device (cell phone)" },
232{ "I/O device: ","I/O device: " },
233{ "Help...","Help..." },
234{ "Connection: ","Connection: " },
235{ "Model(opt.): ","Model(opt.): " },
236{ "Local file Cal:","Local file Cal:" },
237{ "Local file ABook:","Local file ABook:" },
238{ "Local file PWMgr:","Local file PWMgr:" },
239{ "Choose...","Choose..." },
240{ "Addressbook file (*.vcf) is used by KA/Pi","Addressbook file (*.vcf) is used by KA/Pi" },
241{ "Calendar:","Calendar:" },
242{ "AddressBook:","AddressBook:" },
243{ "PWManager:","PWManager:" },
244{ "Pre sync (download) command:","Pre sync (download) command:" },
245{ "Local temp file:","Local temp file:" },
246{ "Post sync (upload) command:","Post sync (upload) command:" },
247{ "Addressbook file is used by KA/Pi","Addressbook file is used by KA/Pi" },
248{ "Fill in default values for:","Fill in default values for:" },
249{ "ssh/scp","ssh/scp" },
250{ "ftp","ftp" },
251{ "Hint: Use $PWD$ for placeholder of password!","Hint: Use $PWD$ for placeholder of password!" },
252{ "Password for remote access: (could be the same for each)","Password for remote access: (could be the same for each)" },
253{ "Remote IP address: (could be the same for each)","Remote IP address: (could be the same for each)" },
254{ "Remote port number: (should be different for each)","Remote port number: (should be different for each)" },
255{ "command for downloading remote file to local device","command for downloading remote file to local device" },
256{ "command for uploading local temp file to remote device","command for uploading local temp file to remote device" },
257{ "Insert device where\nphone is connected. E.g.:\n","Insert device where\nphone is connected. E.g.:\n" },
258{ "KDE-Pim sync config","KDE-Pim sync config" },
259{ "Insert kind of connection,e.g.:\n","Insert kind of connection,e.g.:\n" },
260{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n" },
261{ "KO/Pi config error","KO/Pi config error" },
262{ "Local device name undefined!\nPlease define device name!","Local device name undefined!\nPlease define device name!" },
263{ "Edit Address Book Filters","Edit Address Book Filters" },
264{ "&Add...","&Add..." },
265{ "&Edit...","&Edit..." },
266{ "&Remove","&Remove" },
267{ "Modify View: ","Modify View: " },
268{ "Fields","Fields" },
269{ "Select Fields to Display","Select Fields to Display" },
270{ "All","All" },
271{ "Frequent","Frequent" },
272{ "Address","Address" },
273{ "Email","Email" },
274{ "Personal","Personal" },
275{ "Organization","Organization" },
276{ "Custom","Custom" },
277{ "&Selected\nfields:","&Selected\nfields:" },
278{ "Formatted Name","Formatted Name" },
279{ "Additional Names","Additional Names" },
280{ "Honorific Prefixes","Honorific Prefixes" },
281{ "Honorific Suffixes","Honorific Suffixes" },
282{ "Nick Name","Nick Name" },
283{ "Birthday","Birthday" },
284{ "Home Address Street","Home Address Street" },
285{ "Home Address Locality","Home Address Locality" },
286{ "Home Address Region","Home Address Region" },
287{ "Home Address Postal Code","Home Address Postal Code" },
288{ "Home Address Country","Home Address Country" },
289{ "Home Address Label","Home Address Label" },
290{ "Business Address Street","Business Address Street" },
291{ "Business Address Locality","Business Address Locality" },
292{ "Business Address Region","Business Address Region" },
293{ "Business Address Postal Code","Business Address Postal Code" },
294{ "Business Address Country","Business Address Country" },
295{ "Business Address Label","Business Address Label" },
296{ "Home Phone","Home Phone" },
297{ "Business Phone","Business Phone" },
298{ "Mobile Phone","Mobile Phone" },
299{ "Home Fax","Home Fax" },
300{ "Business Fax","Business Fax" },
301{ "Car Phone","Car Phone" },
302{ "ISDN","ISDN" },
303{ "Pager","Pager" },
304{ "Mail Client","Mail Client" },
305{ "Title","Title" },
306{ "Role","Role" },
307{ "Note","Note" },
308{ "URL","URL" },
309{ "Resource","Resource" },
310{ "SIP","SIP" },
311{ "Default Filter","Default Filter" },
312{ "The default filter will be activated whenever this view is displayed. This feature allows you to configure views that only interact with certain types of information based on the filter. Once the view is activated, the filter can be changed at anytime.","The default filter will be activated whenever this view is displayed. This feature allows you to configure views that only interact with certain types of information based on the filter. Once the view is activated, the filter can be changed at anytime." },
313{ "No default filter","No default filter" },
314{ "Use last active filter","Use last active filter" },
315{ "Use filter:","Use filter:" },
316{ "Look & Feel","Look & Feel" },
317{ "Row Separator","Row Separator" },
318{ "Alternating backgrounds","Alternating backgrounds" },
319{ "Single line","Single line" },
320{ "Enable background image:","Enable background image:" },
321{ "Enable contact tooltips","Enable contact tooltips" },
322{ "&Enable custom Colors","&Enable custom Colors" },
323{ "&Colors","&Colors" },
324{ "If custom colors are enabled, you may choose the colors for the view below. Otherwise colors from your current KDE color scheme are used.","If custom colors are enabled, you may choose the colors for the view below. Otherwise colors from your current KDE color scheme are used." },
325{ "Double click or press RETURN on a item to select a color for the related strings in the view.","Double click or press RETURN on a item to select a color for the related strings in the view." },
326{ "&Enable custom fonts","&Enable custom fonts" },
327{ "&Text font:","&Text font:" },
328{ "&Header font:","&Header font:" },
329{ "If custom fonts are enabled, you may choose which fonts to use for this view below. Otherwise the default KDE font will be used, in bold style for the header and normal style for the data.","If custom fonts are enabled, you may choose which fonts to use for this view below. Otherwise the default KDE font will be used, in bold style for the header and normal style for the data." },
330{ "&Fonts","&Fonts" },
331{ "Background Color","Background Color" },
332{ "Text Color","Text Color" },
333{ "Header Background Color","Header Background Color" },
334{ "Header Text Color","Header Text Color" },
335{ "Highlight Color","Highlight Color" },
336{ "Highlighted Text Color","Highlighted Text Color" },
337{ "Alternating Background Color","Alternating Background Color" },
338{ "Postal","Postal" },
339{ "Dr.","Dr." },
340{ "Miss","Miss" },
341{ "Mr.","Mr." },
342{ "Mrs.","Mrs." },
343{ "Ms.","Ms." },
344{ "Prof.","Prof." },
345{ "I","I" },
346{ "II","II" },
347{ "III","III" },
348{ "Jr.","Jr." },
349{ "Sr.","Sr." },
350{ "Name:","Name:" },
351{ "Documents","Documents" },
352{ "Files","Files" },
353{ "All Files","All Files" },
354{ "Name","Name" },
355{ "Size","Size" },
356{ "Date","Date" },
357{ "Mime Type","Mime Type" },
358{ "Geo Data Input","Geo Data Input" },
359{ "Sexagesimal","Sexagesimal" },
360{ "North","North" },
361{ "South","South" },
362{ "East","East" },
363{ "West","West" },
364{ "Undefined","Undefined" },
365{ "Edit Address","Edit Address" },
366{ "Street:","Street:" },
367{ "Post office box:","Post office box:" },
368{ "Locality:","Locality:" },
369{ "Region:","Region:" },
370{ "Postal code:","Postal code:" },
371{ "Country:","Country:" },
372{ "Afghanistan","Afghanistan" },
373{ "Albania","Albania" },
374{ "Algeria","Algeria" },
375{ "American Samoa","American Samoa" },
376{ "Andorra","Andorra" },
377{ "Angola","Angola" },
378{ "Anguilla","Anguilla" },
379{ "Antarctica","Antarctica" },
380{ "Antigua and Barbuda","Antigua and Barbuda" },
381{ "Argentina","Argentina" },
382{ "Armenia","Armenia" },
383{ "Aruba","Aruba" },
384{ "Ashmore and Cartier Islands","Ashmore and Cartier Islands" },
385{ "Australia","Australia" },
386{ "Austria","Austria" },
387{ "Azerbaijan","Azerbaijan" },
388{ "Bahamas","Bahamas" },
389{ "Bahrain","Bahrain" },
390{ "Bangladesh","Bangladesh" },
391{ "Barbados","Barbados" },
392{ "Belarus","Belarus" },
393{ "Belgium","Belgium" },
394{ "Belize","Belize" },
395{ "Benin","Benin" },
396{ "Bermuda","Bermuda" },
397{ "Bhutan","Bhutan" },
398{ "Bolivia","Bolivia" },
399{ "Bosnia and Herzegovina","Bosnia and Herzegovina" },
400{ "Botswana","Botswana" },
401{ "Brazil","Brazil" },
402{ "Brunei","Brunei" },
403{ "Bulgaria","Bulgaria" },
404{ "Burkina Faso","Burkina Faso" },
405{ "Burundi","Burundi" },
406{ "Cambodia","Cambodia" },
407{ "Cameroon","Cameroon" },
408{ "Canada","Canada" },
409{ "Cape Verde","Cape Verde" },
410{ "Cayman Islands","Cayman Islands" },
411{ "Central African Republic","Central African Republic" },
412{ "Chad","Chad" },
413{ "Chile","Chile" },
414{ "China","China" },
415{ "Colombia","Colombia" },
416{ "Comoros","Comoros" },
417{ "Congo","Congo" },
418{ "Congo, Dem. Rep.","Congo, Dem. Rep." },
419{ "Costa Rica","Costa Rica" },
420{ "Croatia","Croatia" },
421{ "Cuba","Cuba" },
422{ "Cyprus","Cyprus" },
423{ "Czech Republic","Czech Republic" },
424{ "Denmark","Denmark" },
425{ "Djibouti","Djibouti" },
426{ "Dominica","Dominica" },
427{ "Dominican Republic","Dominican Republic" },
428{ "Ecuador","Ecuador" },
429{ "Egypt","Egypt" },
430{ "El Salvador","El Salvador" },
431{ "Equatorial Guinea","Equatorial Guinea" },
432{ "Eritrea","Eritrea" },
433{ "Estonia","Estonia" },
434{ "England","England" },
435{ "Ethiopia","Ethiopia" },
436{ "European Union","European Union" },
437{ "Faroe Islands","Faroe Islands" },
438{ "Fiji","Fiji" },
439{ "Finland","Finland" },
440{ "France","France" },
441{ "French Polynesia","French Polynesia" },
442{ "Gabon","Gabon" },
443{ "Gambia","Gambia" },
444{ "Georgia","Georgia" },
445{ "Germany","Germany" },
446{ "Ghana","Ghana" },
447{ "Greece","Greece" },
448{ "Greenland","Greenland" },
449{ "Grenada","Grenada" },
450{ "Guam","Guam" },
451{ "Guatemala","Guatemala" },
452{ "Guinea","Guinea" },
453{ "Guinea-Bissau","Guinea-Bissau" },
454{ "Guyana","Guyana" },
455{ "Haiti","Haiti" },
456{ "Honduras","Honduras" },
457{ "Hong Kong","Hong Kong" },
458{ "Hungary","Hungary" },
459{ "Iceland","Iceland" },
460{ "India","India" },
461{ "Indonesia","Indonesia" },
462{ "Iran","Iran" },
463{ "Iraq","Iraq" },
464{ "Ireland","Ireland" },
465{ "Israel","Israel" },
466{ "Italy","Italy" },
467{ "Ivory Coast","Ivory Coast" },
468{ "Jamaica","Jamaica" },
469{ "Japan","Japan" },
470{ "Jordan","Jordan" },
471{ "Kazakhstan","Kazakhstan" },
472{ "Kenya","Kenya" },
473{ "Kiribati","Kiribati" },
474{ "Korea, North","Korea, North" },
475{ "Korea, South","Korea, South" },
476{ "Kuwait","Kuwait" },
477{ "Kyrgyzstan","Kyrgyzstan" },
478{ "Laos","Laos" },
479{ "Latvia","Latvia" },
480{ "Lebanon","Lebanon" },
481{ "Lesotho","Lesotho" },
482{ "Liberia","Liberia" },
483{ "Libya","Libya" },
484{ "Liechtenstein","Liechtenstein" },
485{ "Lithuania","Lithuania" },
486{ "Luxembourg","Luxembourg" },
487{ "Macau","Macau" },
488{ "Madagascar","Madagascar" },
489{ "Malawi","Malawi" },
490{ "Malaysia","Malaysia" },
491{ "Maldives","Maldives" },
492{ "Mali","Mali" },
493{ "Malta","Malta" },
494{ "Marshall Islands","Marshall Islands" },
495{ "Martinique","Martinique" },
496{ "Mauritania","Mauritania" },
497{ "Mauritius","Mauritius" },
498{ "Mexico","Mexico" },
499{ "Micronesia, Federated States Of","Micronesia, Federated States Of" },
500{ "Moldova","Moldova" },
501{ "Monaco","Monaco" },
502{ "Mongolia","Mongolia" },
503{ "Montserrat","Montserrat" },
504{ "Morocco","Morocco" },
505{ "Mozambique","Mozambique" },
506{ "Myanmar","Myanmar" },
507{ "Namibia","Namibia" },
508{ "Nauru","Nauru" },
509{ "Nepal","Nepal" },
510{ "Netherlands","Netherlands" },
511{ "Netherlands Antilles","Netherlands Antilles" },
512{ "New Caledonia","New Caledonia" },
513{ "New Zealand","New Zealand" },
514{ "Nicaragua","Nicaragua" },
515{ "Niger","Niger" },
516{ "Nigeria","Nigeria" },
517{ "Niue","Niue" },
518{ "North Korea","North Korea" },
519{ "Northern Ireland","Northern Ireland" },
520{ "Northern Mariana Islands","Northern Mariana Islands" },
521{ "Norway","Norway" },
522{ "Oman","Oman" },
523{ "Pakistan","Pakistan" },
524{ "Palau","Palau" },
525{ "Palestinian","Palestinian" },
526{ "Panama","Panama" },
527{ "Papua New Guinea","Papua New Guinea" },
528{ "Paraguay","Paraguay" },
529{ "Peru","Peru" },
530{ "Philippines","Philippines" },
531{ "Poland","Poland" },
532{ "Portugal","Portugal" },
533{ "Puerto Rico","Puerto Rico" },
534{ "Qatar","Qatar" },
535{ "Romania","Romania" },
536{ "Russia","Russia" },
537{ "Rwanda","Rwanda" },
538{ "St. Kitts and Nevis","St. Kitts and Nevis" },
539{ "St. Lucia","St. Lucia" },
540{ "St. Vincent and the Grenadines","St. Vincent and the Grenadines" },
541{ "San Marino","San Marino" },
542{ "Sao Tome and Principe","Sao Tome and Principe" },
543{ "Saudi Arabia","Saudi Arabia" },
544{ "Senegal","Senegal" },
545{ "Serbia & Montenegro","Serbia & Montenegro" },
546{ "Seychelles","Seychelles" },
547{ "Sierra Leone","Sierra Leone" },
548{ "Singapore","Singapore" },
549{ "Slovakia","Slovakia" },
550{ "Slovenia","Slovenia" },
551{ "Solomon Islands","Solomon Islands" },
552{ "Somalia","Somalia" },
553{ "South Africa","South Africa" },
554{ "South Korea","South Korea" },
555{ "Spain","Spain" },
556{ "Sri Lanka","Sri Lanka" },
557{ "Sudan","Sudan" },
558{ "Suriname","Suriname" },
559{ "Swaziland","Swaziland" },
560{ "Sweden","Sweden" },
561{ "Switzerland","Switzerland" },
562{ "Syria","Syria" },
563{ "Taiwan","Taiwan" },
564{ "Tajikistan","Tajikistan" },
565{ "Tanzania","Tanzania" },
566{ "Thailand","Thailand" },
567{ "Tibet","Tibet" },
568{ "Togo","Togo" },
569{ "Tonga","Tonga" },
570{ "Trinidad and Tobago","Trinidad and Tobago" },
571{ "Tunisia","Tunisia" },
572{ "Turkey","Turkey" },
573{ "Turkmenistan","Turkmenistan" },
574{ "Turks and Caicos Islands","Turks and Caicos Islands" },
575{ "Tuvalu","Tuvalu" },
576{ "Uganda ","Uganda " },
577{ "Ukraine","Ukraine" },
578{ "United Arab Emirates","United Arab Emirates" },
579{ "United Kingdom","United Kingdom" },
580{ "United States","United States" },
581{ "Uruguay","Uruguay" },
582{ "Uzbekistan","Uzbekistan" },
583{ "Vanuatu","Vanuatu" },
584{ "Vatican City","Vatican City" },
585{ "Venezuela","Venezuela" },
586{ "Vietnam","Vietnam" },
587{ "Western Samoa","Western Samoa" },
588{ "Yemen","Yemen" },
589{ "Yugoslavia","Yugoslavia" },
590{ "Zaire","Zaire" },
591{ "Zambia","Zambia" },
592{ "Zimbabwe","Zimbabwe" },
593{ "This is the preferred address","This is the preferred address" },
594{ "New...","New..." },
595{ "Change Type","Change Type" },
596{ "Edit Address Type","Edit Address Type" },
597{ "Address Types","Address Types" },
598{ "Domestic","Domestic" },
599{ "International","International" },
600{ "Parcel","Parcel" },
601{ "Edit Contact Name","Edit Contact Name" },
602{ "Honorific prefixes:","Honorific prefixes:" },
603{ "Given name:","Given name:" },
604{ "Additional names:","Additional names:" },
605{ "Family names:","Family names:" },
606{ "Honorific suffixes:","Honorific suffixes:" },
607{ "Parse name automatically","Parse name automatically" },
608{ "Edit Phone Numbers","Edit Phone Numbers" },
609{ "Number","Number" },
610{ "Type","Type" },
611{ "Edit Phone Number","Edit Phone Number" },
612{ "Number:","Number:" },
613{ "This is the preferred phone number","This is the preferred phone number" },
614{ "Types","Types" },
615{ "Messenger","Messenger" },
616{ "Other","Other" },
617{ "Video","Video" },
618{ "Mailbox","Mailbox" },
619{ "Modem","Modem" },
620{ "Car","Car" },
621{ "PCS","PCS" },
622{ "Category","Category" },
623{ "Select Categories","Select Categories" },
624{ " &Deselect All "," &Deselect All " },
625{ " &Edit Categories "," &Edit Categories " },
626{ "&OK","&OK" },
627{ "&Cancel","&Cancel" },
628{ "Configure","Configure" },
629{ "Default","Default" },
630{ "Addressbook","Addressbook" },
631{ "Details view font","Details view font" },
632{ "phone:123","phone:123" },
633{ "Search only after <return> key pressed","Search only after <return> key pressed" },
634{ "Honor KDE single click","Honor KDE single click" },
635{ "Automatic name parsing for new addressees","Automatic name parsing for new addressees" },
636{ "Display List and Details at once (restart)","Display List and Details at once (restart)" },
637{ "Ask for quit when closing Ka/Pi","Ask for quit when closing Ka/Pi" },
638{ "General","General" },
639{ "Extensions (restart)","Extensions (restart)" },
640{ "Description","Description" },
641{ "Extensions","Extensions" },
642{ "Prefixes","Prefixes" },
643{ "Inclusions","Inclusions" },
644{ "Suffixes","Suffixes" },
645{ "Default formatted name:","Default formatted name:" },
646{ "Empty","Empty" },
647{ "Simple Name","Simple Name" },
648{ "Full Name","Full Name" },
649{ "Reverse Name","Reverse Name" },
650{ "Contact","Contact" },
651{ "Global","Global" },
652{ "Phone","Phone" },
653{ "SMS","SMS" },
654{ "Language:(needs restart)","Language:(needs restart)" },
655{ "English","English" },
656{ "German","Deutsch" },
657{ "French","French" },
658{ "Italian","Italian" },
659{ "User defined (usertranslation.txt)","User defined (usertranslation.txt)" },
660{ "Time Format(nr):","Time Format(nr):" },
661{ "24:00","24:00" },
662{ "12:00am","12:00am" },
663{ "Week starts on Sunday","Week starts on Sunday" },
664{ "Locale","Locale" },
665{ "Date Format:","Date Format:" },
666{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" },
667{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" },
668{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" },
669{ "User defined","User defined" },
670{ "User long date:","User long date:" },
671{ "User short date:","User short date:" },
672{ "Monday 19 April 2004: %A %d %B %Y","Monday 19 April 2004: %A %d %B %Y" },
673{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" },
674{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" },
675{ "Date Format","Date Format" },
676{ "Timezone:","Timezone:" },
677{ "Add 30 min (+00:30) to selected Timezone","Add 30 min (+00:30) to selected Timezone" },
678{ "Timezone has daylight saving","Timezone has daylight saving" },
679{ "Actual start and end is the\nsunday before this date.","Actual start and end is the\nsunday before this date." },
680{ "The year in the date is ignored.","The year in the date is ignored." },
681{ "Daylight start:","Daylight start:" },
682{ "Daylight end:","Daylight end:" },
683{ "Time Zone","Time Zone" },
684{ "Used Mail Client","Used Mail Client" },
685{ "Channel:","Channel:" },
686{ "Message:","Message:" },
687{ "Parameters:","Parameters:" },
688{ "HINT: Delimiter=; Name=%1,Email=%2","HINT: Delimiter=; Name=%1,Email=%2" },
689{ "extra Message:","extra Message:" },
690{ "extra Parameters:","extra Parameters:" },
691{ "HINT: Emails=%1,Attachments=%2","HINT: Emails=%1,Attachments=%2" },
692{ "External Apps.","External Apps." },
693{ "+01:00 Europa/Oslo(CET)","+01:00 Europa/Oslo(CET)" },
694{ "Used %1 Client","Used %1 Client" },
695{ "No email client installed","No email client installed" },
696{ "Userdefined email client","Userdefined email client" },
697{ "OM/Pi email client","OM/Pi email client" },
698{ "Close KA/Pi?","Close KA/Pi?" },
699{ "\nChanges will be saved!","\nChanges will be saved!" },
700{ "Yes!","Yes!" },
701{ "There was an error while attempting to save\n the address book. Please check that some \nother application is not using it. ","There was an error while attempting to save\n the address book. Please check that some \nother application is not using it. " },
702{ "Saving addressbook ... ","Saving addressbook ... " },
703{ "Addressbook saved!","Addressbook saved!" },
704{ "Default Table View","Default Table View" },
705{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" },
706{ "Merge and Remove","Merge and Remove" },
707{ "Merge","Merge" },
708{ "Merge Contacts Editor","Merge Contacts Editor" },
709{ "New List...","New List..." },
710{ "Rename List...","Rename List..." },
711{ "Remove List","Remove List" },
712{ "Add Contact","Add Contact" },
713{ "Change Email...","Change Email..." },
714{ "Remove Contact","Remove Contact" },
715{ "Use Preferred","Use Preferred" },
716{ "Distribution List Editor","Distribution List Editor" },
717{ "Choose which contacts to export","Choose which contacts to export" },
718{ "Which contacts do you want to export?","Which contacts do you want to export?" },
719{ "Contact Selection","Contact Selection" },
720{ "&All","&All" },
721{ "Export the entire address book","Export the entire address book" },
722{ "&Selected","&Selected" },
723{ "Only export contacts selected in KAddressBook.\nThis option is disabled if no contacts are selected.","Only export contacts selected in KAddressBook.\nThis option is disabled if no contacts are selected." },
724{ "By matching &filter","By matching &filter" },
725{ "Only export contacts matching the selected filter.\nThis option is disabled if you haven't defined any filters","Only export contacts matching the selected filter.\nThis option is disabled if you haven't defined any filters" },
726{ "By Cate&gories","By Cate&gories" },
727{ "Only export contacts who are members of a category that is checked on the list to the left.\nThis option is disabled if you have no categories.","Only export contacts who are members of a category that is checked on the list to the left.\nThis option is disabled if you have no categories." },
728{ "Select a filter to decide which contacts to export.","Select a filter to decide which contacts to export." },
729{ "Check the categories whose members you want to export.","Check the categories whose members you want to export." },
730{ "Sorting","Sorting" },
731{ "Criterion:","Criterion:" },
732{ "Order:","Order:" },
733{ "Ascending","Ascending" },
734{ "Descending","Descending" },
735{ "Save file","Save file" },
736{ "Error","Error" },
737{ "Unable to export contacts.","Unable to export contacts." },
738{ "\nNo unsaved changes detected!\nNothing will be saved!","\nNo unsaved changes detected!\nNothing will be saved!" },
diff --git a/bin/kdepim/korganizer/usertranslation.txt b/bin/kdepim/korganizer/usertranslation.txt
index 13ed7b8..a693fa2 100644
--- a/bin/kdepim/korganizer/usertranslation.txt
+++ b/bin/kdepim/korganizer/usertranslation.txt
@@ -1,49 +1,49 @@
1{ "10 minutes","10 Minuten", }, 1{ "10 minutes","10 Minuten" },
2{ "10th","10." }, 2{ "10th","10." },
3{ "11th","11." }, 3{ "11th","11." },
4{ "12 pm Format","12 AM/PM Format" }, 4{ "12 pm Format","12 AM/PM Format" },
5{ "12th","12." }, 5{ "12th","12." },
6{ "13th","13." }, 6{ "13th","13." },
7{ "14th","14." }, 7{ "14th","14." },
8{ "15th","15." }, 8{ "15th","15." },
9{ "16th","16." }, 9{ "16th","16." },
10{ "17th","17." }, 10{ "17th","17." },
11{ "18th","18." }, 11{ "18th","18." },
12{ "19th","19." }, 12{ "19th","19." },
13{ "1 Day","1 Tag" }, 13{ "1 Day","1 Tag" },
14{ "1 h","1 Std" }, 14{ "1 h","1 Std" },
15{ "1 (high)","1 (hoch)" }, 15{ "1 (high)","1 (hoch)" },
16{ "5 (low)","5" }, 16{ "5 (low)","5" },
17{ "1st","1." }, 17{ "1st","1." },
18{ "20th","20." }, 18{ "20th","20." },
19{ "21st","21." }, 19{ "21st","21." },
20{ "22nd","22." }, 20{ "22nd","22." },
21{ "23rd","23." }, 21{ "23rd","23." },
22{ "24:00 Hour Format","24:00 Stunden Format" }, 22{ "24:00 Hour Format","24:00 Stunden Format" },
23{ "24th","24." }, 23{ "24th","24." },
24{ "25th","25." }, 24{ "25th","25." },
25{ "26th","26." }, 25{ "26th","26." },
26{ "27th","27." }, 26{ "27th","27." },
27{ "28th","28." }, 27{ "28th","28." },
28{ "29th","29." }, 28{ "29th","29." },
29{ "2nd","2." }, 29{ "2nd","2." },
30{ "30 minutes","30 Minuten" }, 30{ "30 minutes","30 Minuten" },
31{ "30th","30." }, 31{ "30th","30." },
32{ "31st","31." }, 32{ "31st","31." },
33{ "3rd","3." }, 33{ "3rd","3." },
34{ "4th","4." }, 34{ "4th","4." },
35{ "5 (lowest)","5 (Niedrigster)" }, 35{ "5 (lowest)","5 (Niedrigster)" },
36{ "5th","5." }, 36{ "5th","5." },
37{ "6th","6." }, 37{ "6th","6." },
38{ "7th","7." }, 38{ "7th","7." },
39{ "8th","8." }, 39{ "8th","8." },
40{ "9th","9." }, 40{ "9th","9." },
41{ "About...","Über..." }, 41{ "About...","Über..." },
42{ "&Accept","&Akzeptieren" }, 42{ "&Accept","&Akzeptieren" },
43{ "Accept","Akzeptieren" }, 43{ "Accept","Akzeptieren" },
44{ "Accept A&ll","A&lles Akzepieren" }, 44{ "Accept A&ll","A&lles Akzepieren" },
45{ "Access:","Zugriff:" }, 45{ "Access:","Zugriff:" },
46{ "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" }, 46{ "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" },
47{ "Actions","Aktionen" }, 47{ "Actions","Aktionen" },
48{ "Add Filter","Filter Hinzufügen" }, 48{ "Add Filter","Filter Hinzufügen" },
49{ "&Add","Hinzufügen" }, 49{ "&Add","Hinzufügen" },
@@ -790,60 +790,308 @@
790{ "Load backup filename","Lade Backup Dateiname" }, 790{ "Load backup filename","Lade Backup Dateiname" },
791{ "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" }, 791{ "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" },
792{ "KO/Pi:Loaded %1","KO/Pi:Geladen %1" }, 792{ "KO/Pi:Loaded %1","KO/Pi:Geladen %1" },
793{ "Save backup filename","Speichere Backup Dateiname" }, 793{ "Save backup filename","Speichere Backup Dateiname" },
794{ "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" }, 794{ "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" },
795{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, 795{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" },
796{ "Details of attendee","Teilnehmerdetails" }, 796{ "Details of attendee","Teilnehmerdetails" },
797{ "Work phone:\n","Telefon Arbeit:\n" }, 797{ "Work phone:\n","Telefon Arbeit:\n" },
798{ "Work mobile phone:\n","Mobiltelefon Arbeit:\n" }, 798{ "Work mobile phone:\n","Mobiltelefon Arbeit:\n" },
799{ "Home phone:\n","Telefon privat:\n" }, 799{ "Home phone:\n","Telefon privat:\n" },
800{ "Mobile home phone:\n","Mobiltelefon privat:\n" }, 800{ "Mobile home phone:\n","Mobiltelefon privat:\n" },
801{ "Email:\n","Email:\n" }, 801{ "Email:\n","Email:\n" },
802{ "Alarm disabled","Alarm deaktiviert" }, 802{ "Alarm disabled","Alarm deaktiviert" },
803{ "Audio.Al.: ","Audio Al.: " }, 803{ "Audio.Al.: ","Audio Al.: " },
804{ "Proc.Al.: ","Proc.Al.: " }, 804{ "Proc.Al.: ","Proc.Al.: " },
805{ "No sound set","Kein Sound definiert" }, 805{ "No sound set","Kein Sound definiert" },
806{ "*.wav|Wav Files","*.wav|Wav Dateien" }, 806{ "*.wav|Wav Files","*.wav|Wav Dateien" },
807{ "No program set","Kein Programm definiert" }, 807{ "No program set","Kein Programm definiert" },
808{ "Running '%1'","Ausführen '%1'" }, 808{ "Running '%1'","Ausführen '%1'" },
809{ "Playing '%1'","Abspielen '%1'" }, 809{ "Playing '%1'","Abspielen '%1'" },
810{ "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" }, 810{ "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" },
811{ "User defined (usertranslation.txt)","File usertranslation.txt loaded" }, 811{ "User defined (usertranslation.txt)","File usertranslation.txt loaded" },
812{ "Load!","Laden!" }, 812{ "Load!","Laden!" },
813{ "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" }, 813{ "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" },
814{ "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" }, 814{ "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" },
815{ "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" }, 815{ "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" },
816{ "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" }, 816{ "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" },
817{ "Features + hints...","Eigenschaften + Tipps..." }, 817{ "Features + hints...","Eigenschaften + Tipps..." },
818{ "User translation...","Benutzer Übersetzung..." }, 818{ "User translation...","Benutzer Übersetzung..." },
819{ "Sync HowTo...","Synchronisation HowTo..." }, 819{ "Sync HowTo...","Synchronisation HowTo..." },
820{ "Print calendar...","Drucke Kalender..." }, 820{ "Print calendar...","Drucke Kalender..." },
821{ "Anniversary","Jahrestag" }, 821{ "Anniversary","Jahrestag" },
822{ "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" }, 822{ "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" },
823{ "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" }, 823{ "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" },
824{ "Next recurrence is on: ","Nächste Wiederholung ist am:" }, 824{ "Next recurrence is on: ","Nächste Wiederholung ist am:" },
825{ "<b>Alarm on: </b>","<b>Alarm am: </b>" }, 825{ "<b>Alarm on: </b>","<b>Alarm am: </b>" },
826{ "<b>Access: </b>","<b>Zugriff: </b>" }, 826{ "<b>Access: </b>","<b>Zugriff: </b>" },
827{ "(%1 min before)","(%1 min vorher)" }, 827{ "(%1 min before)","(%1 min vorher)" },
828{ "<b>Categories: </b>","<b>Kategorien: </b>" }, 828{ "<b>Categories: </b>","<b>Kategorien: </b>" },
829{ "Save Journal/Description...","Speichere Journal/Details..." }, 829{ "Save Journal/Description...","Speichere Journal/Details..." },
830{ "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." }, 830{ "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." },
831{ "Continue","Weitermachen" }, 831{ "Continue","Weitermachen" },
832{ " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" }, 832{ " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" },
833{ "Attendee:","Teilnehmer:" }, 833{ "Attendee:","Teilnehmer:" },
834{ "Click OK to search ->","Klicke zum Suchen auf OK ->" }, 834{ "Click OK to search ->","Klicke zum Suchen auf OK ->" },
835{ "On day ","Am Tag " }, 835{ "On day ","Am Tag " },
836{ "%1 of ","%1 des Monats" }, 836{ "%1 of ","%1 des Monats" },
837{ "%1 of the year","%1 des Jahres" }, 837{ "%1 of the year","%1 des Jahres" },
838{ "Anonymous","Anonym" },
839{ "nobody@nowhere","niemand@nirgendwo" },
840{ "calendar.html","calendar.html" },
841{ "+01:00 Europe/Oslo(CET)","+01:00 Europa/Oslo(CET)" },
842{ " Local Time"," Locale Zeit" },
843{ "+12:00 Asia/Kamchatka","+12:00 Asien/Kamchatka" },
844{ "+11:00 Asia/Magadan","+11:00 Asien/Magadan" },
845{ "+10:00 Asia/Vladivostok","+10:00 Asien/Vladivostok" },
846{ "+09:00 Asia/Tokyo","+09:00 Asien/Tokyo" },
847{ "+08:00 Asia/Hongkong","+08:00 Asien/Hongkong" },
848{ "+07:00 Asia/Bangkok","+07:00 Asien/Bangkok" },
849{ "+06:00 Indian/Chagos","+06:00 Indien/Chagos" },
850{ "+05:00 Indian/Maldives","+05:00 Indien/Maldiven" },
851{ "+04:00 Indian/Mauritius","+04:00 Indien/Mauritius" },
852{ "+03:00 Europe/Moscow","+03:00 Europa/Moskau" },
853{ "+02:00 Europe/Helsinki","+02:00 Europa/Helsinki" },
854{ " 00:00 Europe/London(UTC)"," 00:00 Europa/London(UTC)" },
855{ "-01:00 Atlantic/Azores","-01:00 Atlantik/Azoren" },
856{ "-02:00 Brazil/DeNoronha","-02:00 Brasilien/DeNoronha" },
857{ "-03:00 Brazil/East","-03:00 Brasilien/Ost" },
858{ "-04:00 Brazil/West","-04:00 Brasilien/West" },
859{ "-05:00 US/Eastern","-05:00 US/Eastern" },
860{ "-06:00 US/Central","-06:00 US/Central" },
861{ "-07:00 US/Mountain","-07:00 US/Mountain" },
862{ "-08:00 US/Pacific","-08:00 US/Pacific" },
863{ "-09:00 US/Alaska","-09:00 US/Alaska" },
864{ "-10:00 US/Hawaii","-10:00 US/Hawaii" },
865{ "-11:00 US/Samoa","-11:00 US/Samoa" },
866{ "Unknown Name","Unbekannter Name" },
867{ "unknown@nowhere","unbekannt@nirgendwo" },
868{ "Beam via IR!","Beam via IR!" },
869{ "Next Month","Nächster Monat" },
870{ "Prio","Prio" },
871{ "Reparent Todo","Mache Sub-Todo" },
872{ "tomorrow","morgen" },
873{ "today","heute" },
874{ "yesterday","gestern" },
875{ "Ok","Ok" },
876{ "Ok+Agenda","Ok+Agenda" },
877{ "Email","Email" },
878{ "RSVP","RSVP" },
879{ "Email:","Email:" },
880{ "Appointment Time ","Termin Zeit " },
881{ "2","2" },
882{ "3","3" },
883{ "4","4" },
884{ " 0 %"," 0 %" },
885{ " 20 %"," 20 %" },
886{ " 40 %"," 40 %" },
887{ " 60 %"," 60 %" },
888{ " 80 %"," 80 %" },
889{ "100 %","100 %" },
890{ "Filter","Filter" },
891{ "Configure","Konfiguriere" },
892{ "What's Next","What's Next" },
893{ "Complete calendar...","Kompletten Kalender..." },
894{ "Filtered calendar...","Gefilterten Kalender..." },
895{ "Export to phone","Exportiere zum Handy" },
896{ "Beam receice enabled","Beam Empfang an" },
897{ "What's new?","Was ist neu?" },
898{ "FAQ...","FAQ..." },
899{ "Licence...","Licence..." },
900{ "What's This?","What's This?" },
901{ "&Edit...","&Editiere..." },
902{ "Oktober","Oktober" },
903{ "Title","Titel" },
904{ "%1 %","%1 %" },
905{ "Enable Pi-Sync","Schalte Pi-Sync an" },
906{ "Import!","Importiere!" },
907{ "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" },
908{ "Export to phone options","Export ans Handy Optionen" },
909{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." },
910{ "I/O device: ","I/O device: " },
911{ "Connection: ","Connection: " },
912{ "Model(opt.): ","Model(opt.): " },
913{ "Write back events in future only","Schreibe nur zukünftige Termine zurück" },
914{ "Max. weeks in future: ","Max. Wochen in der Zukunft: " },
915{ "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nToDo/Kalender Daten auf dem Handy!" },
916{ "Export to mobile phone!","Exportiere auf das Handy!" },
917{ "Export complete calendar","Exportiere kompletten Kalender" },
918{ "Writing to phone...","Sende Daten ans Handy..." },
919{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" },
920{ "Retry","Nochmal versuchen" },
921{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" },
922{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" },
923{ "Error exporting to phone!","Fehler beim Export auf das Handy!" },
924{ "Export filtered calendar","Exportiere gefilterten Kalender" },
925{ "Preferences","Vorlieben" },
926{ "Global","Global" },
927{ "Phone","Phone" },
928{ "SMS","SMS" },
929{ "Fax","Fax" },
930{ "Pager","Pager" },
931{ "SIP","SIP" },
932{ "Italian","Italienisch" },
933{ "24:00","24:00" },
934{ "12:00am","12:00am" },
935{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" },
936{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" },
937{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" },
938{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" },
939{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" },
940{ "Add 30 min (+00:30) to selected Timezone","Addiere 30 min zur selektierten Zeitzone" },
941{ "Used Mail Client","Benutzter Mail Client" },
942{ "Channel:","Channel:" },
943{ "Message:","Message:" },
944{ "Parameters:","Parameter:" },
945{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" },
946{ "extra Message:","extra Message:" },
947{ "extra Parameters:","extra Parameter:" },
948{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" },
949{ "External Apps.","Externe Appl." },
950{ "24 hours","24 Std." },
951{ "3 hours","3 Std." },
952{ "1 hour","1 Std." },
953{ "15 minutes","15 Min." },
954{ "5 minutes","5 Min." },
955{ "1 minute","1 Min." },
956{ "23","23" },
957{ "Mon 15","Mon 15" },
958{ "Configure KO","Konfiguriere KO" },
959{ "Event text","Termin Text" },
960{ "ToDo","ToDo" },
961{ "Today","Heute" },
962{ "What's Next View","What's Next Ansicht" },
963{ "Show Sync Events in \nWhat's Next/Agenda view","Zeige Sync Termine in \nWhat's Next/Agenda view" },
964{ "Use short date in \nWhat's Next/Event view","Zeige Kurzdatum in \nWhat's Next/Event view" },
965{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" },
966{ "Alarm","Alarm" },
967{ "Used %1 Client","Benutzter %1 Client" },
968{ "No email client installed","Kein Email Klient installiert" },
969{ "Userdefined email client","Benutzerdef. Email Klient" },
970{ "OM/Pi email client","OM/Pi Email Klient" },
971{ "Include in multiple ","Beziehe in multiple " },
972{ "calendar ","Kalender " },
973{ "addressbook ","Adressbuch " },
974{ "pwmanager","PWmanager" },
975{ " sync"," Sync ein" },
976{ "Write back synced data","Schreibe gesyncte Daten zurück" },
977{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" },
978{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" },
979{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " },
980{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" },
981{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" },
982{ "Help...","Hilfe..." },
983{ "Local file Cal:","Lokale Datei Kal:" },
984{ "Local file ABook:","Lokale Datei ABuch:" },
985{ "Local file PWMgr:","Lokale Datei PWMgr:" },
986{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" },
987{ "Calendar:","Kalender:" },
988{ "AddressBook:","AdressBuch:" },
989{ "PWManager:","PWManager:" },
990{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" },
991{ "ssh/scp","ssh/scp" },
992{ "ftp","ftp" },
993{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" },
994{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" },
995{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" },
996{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" },
997{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" },
998{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" },
999{ "KDE-Pim sync config","KDE-Pim sync Konfig" },
1000{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" },
1001{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Model\nautomatisch erkannt\nwerden kann)\nOder füge Model Name ein:\n" },
1002{ "Port number (Default: %1)","Port Nummer (Default: %1)" },
1003{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" },
1004{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" },
1005{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" },
1006{ "Enter port for Pi-Sync","Gib Port für Pi-Sync ein" },
1007{ "Disable Pi-Sync","Schalte Pi-Sync ab" },
1008{ "Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!","Wollen Sie wirklich\nmit allen selektierten\nProfilen \"Multi-Syncen\"?\nDas Syncen dauert einige Zeit -\nalle Profile werden zweimal gesynct!" },
1009{ "KDE-Pim Sync","KDE-Pim Sync" },
1010{ "Multiple profiles","Multi-Sync Profile" },
1011{ "Device: ","Gerät: " },
1012{ "Multiple sync started.","Multi-Sync gestartet." },
1013{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" },
1014{ "Turn filter on","Schalte Filter an" },
1015{ "Turn filter off","Schalte Filter ab" },
1016{ "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" },
1017{ "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" },
1018{ "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" },
1019{ "<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n","<p><b>Schwarz</b>: Termin/Todo mit Teilnehmern. Sie sind der Organisator!</p>\n" },
1020{ "<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n","<p><b>Dunkelgrün</b>: Information(Beschreibung) verfügbar.([i] in WN Anzeige)</p>\n" },
1021{ "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Anzeige)</p>\n" },
1022{ "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Anzeige)</p>\n" },
1023{ "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Anzeige)</p>\n" },
1024{ "<p><b>(for square icons in agenda and month view)</b></p>\n","<p><b>(für quadratische Icons in Agenda und Monats Anzeige)</b></p>\n" },
1025{ "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" },
1026{ "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" },
1027{ "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Anzeige.</p>\n" },
1028{ "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" },
1029{ "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" },
1030{ "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" },
1031{ "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" },
1032{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" },
1033{ "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" },
1034{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" },
1035{ "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" },
1036{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Anzeige:</h3></p>\n" },
1037{ "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" },
1038{ "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" },
1039{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" },
1040{ "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" },
1041{ "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" },
1042{ "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" },
1043{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" },
1044{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Anzeige</p>\n" },
1045{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Anzeige</p>\n" },
1046{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Anzeige:</h3></p>\n" },
1047{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" },
1048{ "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" },
1049{ "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" },
1050{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" },
1051{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Anzeige</p>\n" },
1052{ "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" },
1053{ "<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X</b>: Zeige/verstecke Datenavigator</p>\n" },
1054{ "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" },
1055{ "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" },
1056{ "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monats Ansicht</p>\n" },
1057{ "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochen Ansicht | <b>U</b>: Wochen Ansicht</p>\n" },
1058{ "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" },
1059{ "<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ","<p><b>N</b>: Nächste-Tage Ansicht days view| <b>W</b>: What's next Ansicht\n " },
1060{ "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" },
1061{ "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" },
1062{ "<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n","<p><b>F</b>: Zeige/verstecke Filter Ansicht |<b>F+ctrl</b>: Editiere Filter </p>\n" },
1063{ "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" },
1064{ "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" },
1065{ "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" },
1066{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" },
1067{ "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configureable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" },
1068{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" },
1069{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" },
1070{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" },
1071{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.net\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.net\n" },
1072{ "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" },
1073{ "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" },
1074{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" },
1075{ "KO/Pi FAQ","KO/Pi FAQ" },
1076{ "(c) 2004 Lutz Rogowski\nEmail:lutz@pi-sync.net\nKO/Pi is based on KOrganizer\n(c) 2002,2003 Cornelius Schumacher\nEmail: schumacher@kde.org\nKOrganizer/Pi is licensed\nunder the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.korganizer.org\nwww.pi-sync.net\n","(c) 2004 Lutz Rogowski\nEmail:lutz@pi-sync.net\nKO/Pi basiert auf KOrganizer\n(c) 2002,2003 Cornelius Schumacher\nEmail: schumacher@kde.org\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.korganizer.org\nwww.pi-sync.net\n" },
1077{ "PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n","PDA-Edition\nfür: Zaurus 5x00 / 7x0 / 8x0\n" },
1078{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" },
1079{ "About KOrganizer/Pi","Über KOrganizer/Pi" },
1080{ "From: ","Von: " },
1081{ "","" },
1082{ "","" },
1083{ "","" },
1084{ "","" },
1085{ "","" },
838{ "","" }, 1086{ "","" },
839{ "","" }, 1087{ "","" },
840{ "","" }, 1088{ "","" },
841{ "","" }, 1089{ "","" },
842{ "","" }, 1090{ "","" },
843{ "","" }, 1091{ "","" },
844{ "","" }, 1092{ "","" },
845{ "","" }, 1093{ "","" },
846{ "","" }, 1094{ "","" },
847{ "","" }, 1095{ "","" },
848{ "","" }, 1096{ "","" },
849 1097
diff --git a/kaddressbook/kabprefs.cpp b/kaddressbook/kabprefs.cpp
index 9270a7d..4b3ee47 100644
--- a/kaddressbook/kabprefs.cpp
+++ b/kaddressbook/kabprefs.cpp
@@ -1,135 +1,209 @@
1/* 1/*
2 This file is part of KAddressBook. 2 This file is part of KAddressBook.
3 Copyright (c) 2002 Mike Pilone <mpilone@slac.com> 3 Copyright (c) 2002 Mike Pilone <mpilone@slac.com>
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23 23
24//US#ifdef KAB_EMBEDDED 24//US#ifdef KAB_EMBEDDED
25//#include <qstring.h> 25//#include <qstring.h>
26//#endif //KAB_EMBEDDED 26//#endif //KAB_EMBEDDED
27 27
28#include <qtextstream.h>
29#include <qfile.h>
30#include <stdlib.h>
31#include <libkdepim/kpimglobalprefs.h>
28 32
29#include <kconfig.h> 33#include <kconfig.h>
30#include <klocale.h> 34#include <klocale.h>
31#include <kstaticdeleter.h> 35#include <kstaticdeleter.h>
32//US#include <kdebug.h> // defines kdDebug() 36//US#include <kdebug.h> // defines kdDebug()
33 37
34#include "kabprefs.h" 38#include "kabprefs.h"
35 39
36KABPrefs *KABPrefs::sInstance = 0; 40KABPrefs *KABPrefs::sInstance = 0;
37static KStaticDeleter<KABPrefs> staticDeleter; 41static KStaticDeleter<KABPrefs> staticDeleter;
38 42
39KABPrefs::KABPrefs() 43KABPrefs::KABPrefs()
40 : KPimPrefs("kaddressbookrc") 44 : KPimPrefs("kaddressbookrc")
41{ 45{
46
47 mLocaleDict = 0;
42 mDetailsFont = QFont("helvetica",12); 48 mDetailsFont = QFont("helvetica",12);
43 KPrefs::setCurrentGroup( "Views" ); 49 KPrefs::setCurrentGroup( "Views" );
44 addItemBool( "HonorSingleClick", &mHonorSingleClick, false ); 50 addItemBool( "HonorSingleClick", &mHonorSingleClick, false );
45 51
46 KPrefs::setCurrentGroup( "General" ); 52 KPrefs::setCurrentGroup( "General" );
47 addItemBool( "AutomaticNameParsing", &mAutomaticNameParsing, true ); 53 addItemBool( "AutomaticNameParsing", &mAutomaticNameParsing, true );
48 addItemInt( "CurrentIncSearchField", &mCurrentIncSearchField, 0 ); 54 addItemInt( "CurrentIncSearchField", &mCurrentIncSearchField, 0 );
49 55
50#ifdef KAB_EMBEDDED 56#ifdef KAB_EMBEDDED
51 addItemBool("AskForQuit",&mAskForQuit,true); 57 addItemBool("AskForQuit",&mAskForQuit,true);
52 addItemBool("ToolBarHor",&mToolBarHor, true ); 58 addItemBool("ToolBarHor",&mToolBarHor, true );
53 addItemBool("ToolBarUp",&mToolBarUp, false ); 59 addItemBool("ToolBarUp",&mToolBarUp, false );
54 addItemBool("SearchWithReturn",&mSearchWithReturn, true ); 60 addItemBool("SearchWithReturn",&mSearchWithReturn, true );
55 addItemFont("DetailsFont",&mDetailsFont); 61 addItemFont("DetailsFont",&mDetailsFont);
56 62
57 63
58#endif //KAB_EMBEDDED 64#endif //KAB_EMBEDDED
59 65
60 KPrefs::setCurrentGroup( "MainWindow" ); 66 KPrefs::setCurrentGroup( "MainWindow" );
61 addItemBool( "JumpButtonBarVisible", &mJumpButtonBarVisible, false ); 67 addItemBool( "JumpButtonBarVisible", &mJumpButtonBarVisible, false );
62 addItemBool( "DetailsPageVisible", &mDetailsPageVisible, true ); 68 addItemBool( "DetailsPageVisible", &mDetailsPageVisible, true );
63 addItemIntList( "ExtensionsSplitter", &mExtensionsSplitter ); 69 addItemIntList( "ExtensionsSplitter", &mExtensionsSplitter );
64 addItemIntList( "DetailsSplitter", &mDetailsSplitter ); 70 addItemIntList( "DetailsSplitter", &mDetailsSplitter );
65 addItemBool( "MultipleViewsAtOnce", &mMultipleViewsAtOnce, true ); 71 addItemBool( "MultipleViewsAtOnce", &mMultipleViewsAtOnce, true );
66 72
67 73
68 KPrefs::setCurrentGroup( "Extensions_General" ); 74 KPrefs::setCurrentGroup( "Extensions_General" );
69 QStringList defaultExtensions; 75 QStringList defaultExtensions;
70 defaultExtensions << "merge"; 76 defaultExtensions << "merge";
71 defaultExtensions << "distribution_list_editor"; 77 defaultExtensions << "distribution_list_editor";
72 addItemInt( "CurrentExtension", &mCurrentExtension, 0 ); 78 addItemInt( "CurrentExtension", &mCurrentExtension, 0 );
73 addItemStringList( "ActiveExtensions", &mActiveExtensions, defaultExtensions ); 79 addItemStringList( "ActiveExtensions", &mActiveExtensions, defaultExtensions );
74 80
75 KPrefs::setCurrentGroup( "Views" ); 81 KPrefs::setCurrentGroup( "Views" );
76 QString defaultView = i18n( "Default Table View" ); 82 QString defaultView = i18n( "Default Table View" );
77 addItemString( "CurrentView", &mCurrentView, defaultView ); 83 addItemString( "CurrentView", &mCurrentView, defaultView );
78 addItemStringList( "ViewNames", &mViewNames, defaultView ); 84 addItemStringList( "ViewNames", &mViewNames, defaultView );
79 85
80 KPrefs::setCurrentGroup( "Filters" ); 86 KPrefs::setCurrentGroup( "Filters" );
81 addItemInt( "CurrentFilter", &mCurrentFilter, 0 ); 87 addItemInt( "CurrentFilter", &mCurrentFilter, 0 );
82 88
83} 89}
84 90
85KABPrefs::~KABPrefs() 91KABPrefs::~KABPrefs()
86{ 92{
87 //qDebug("KABPrefs::~KABPrefs() "); 93 //qDebug("KABPrefs::~KABPrefs() ");
94 setLocaleDict( 0 );
95 if ( mLocaleDict )
96 delete mLocaleDict;
88} 97}
89 98
90KABPrefs *KABPrefs::instance() 99KABPrefs *KABPrefs::instance()
91{ 100{
92 if ( !sInstance ) { 101 if ( !sInstance ) {
93#ifdef KAB_EMBEDDED 102#ifdef KAB_EMBEDDED
94 sInstance = staticDeleter.setObject( new KABPrefs() ); 103 sInstance = staticDeleter.setObject( new KABPrefs() );
95#else //KAB_EMBEDDED 104#else //KAB_EMBEDDED
96 //US the following line has changed ???. Why 105 //US the following line has changed ???. Why
97 staticDeleter.setObject( sInstance, new KABPrefs() ); 106 staticDeleter.setObject( sInstance, new KABPrefs() );
98#endif //KAB_EMBEDDED 107#endif //KAB_EMBEDDED
99 sInstance->readConfig(); 108 sInstance->readConfig();
100 } 109 }
101 110
102 return sInstance; 111 return sInstance;
103} 112}
104 113
105void KABPrefs::setCategoryDefaults() 114void KABPrefs::setCategoryDefaults()
106{ 115{
107 mCustomCategories.clear(); 116 mCustomCategories.clear();
108 117
109 mCustomCategories << i18n( "Business" ) << i18n( "Family" ) << i18n( "School" ) 118 mCustomCategories << i18n( "Business" ) << i18n( "Family" ) << i18n( "School" )
110 << i18n( "Customer" ) << i18n( "Friend" ); 119 << i18n( "Customer" ) << i18n( "Friend" );
111} 120}
112 121
113 // US introduce a nonconst way to return the config object. 122 // US introduce a nonconst way to return the config object.
114KConfig* KABPrefs::getConfig() 123KConfig* KABPrefs::getConfig()
115{ 124{
116 return config(); 125 return config();
117} 126}
127void KABPrefs::usrReadConfig()
128{
129 QString fileName ;
130#ifndef DESKTOP_VERSION
131 fileName= QString(getenv("QPEDIR"))+"/pics/kdepim/kaddressbook/";
132#else
133 fileName = qApp->applicationDirPath () + "/kdepim/kaddressbook/";
134#endif
135 int mPreferredLanguage = KPimGlobalPrefs::instance()->mPreferredLanguage;
136 mLocaleDict = 0;
137 if ( mPreferredLanguage > 0 && mPreferredLanguage < 5 ) {
138
139 if ( mPreferredLanguage == 1 )
140 fileName = fileName+"germantranslation.txt";
141 else if ( mPreferredLanguage == 4 )
142 fileName = fileName+"usertranslation.txt";
143 else if ( mPreferredLanguage == 2 )
144 fileName = fileName+"frenchtranslation.txt";
145 else if ( mPreferredLanguage == 3 )
146 fileName = fileName+"italiantranslation.txt";
147 QFile file( fileName );
148 if (file.open( IO_ReadOnly ) ) {
149 QTextStream ts( &file );
150 ts.setEncoding( QTextStream::Latin1 );
151 //ts.setCodec( QTextCodec::latin1 );
152 QString text = ts.read();
153 file.close();
154 text.replace( QRegExp("\\\\n"), "\n" );
155 QString line;
156 QString we;
157 QString wt;
158 int br = 0;
159 int nbr;
160 nbr = text.find ( "},", br );
161 line = text.mid( br, nbr - br );
162 br = nbr+1;
163 int se, ee, st, et;
164 mLocaleDict = new QDict<QString>;
165 QString end = "{ \"\",\"\" }";
166 while ( (line != end) && (br > 1) ) {
167 //qDebug("%d *%s* ", br, line.latin1());
168 se = line.find("\"")+1;
169 et = line.findRev("\"",-1);
170 ee = line.find("\",\"");
171 st = ee+3;
172 we = line.mid( se, ee-se );
173 wt = line.mid( st, et-st );
174 //qDebug("*%s* *%s* ", we.latin1(), wt.latin1());
175 mLocaleDict->insert( we, new QString (wt) );
176 nbr = text.find ( "}", br );
177 line = text.mid( br, nbr - br );
178 br = nbr+1;
179 }
180 //qDebug("end *%s* ", end.latin1());
181
182 setLocaleDict( mLocaleDict );
183 } else {
184 qDebug("KO: Cannot find translation file %s",fileName.latin1() );
185 }
186
187
188 }
189 qDebug("KABPrefs::usrReadConfig********************** ");
190 KPimPrefs::usrReadConfig();
191}
118 192
119 193
120/*US 194/*US
121void KABPrefs::usrSetDefaults() 195void KABPrefs::usrSetDefaults()
122{ 196{
123 KPimPrefs::usrSetDefaults(); 197 KPimPrefs::usrSetDefaults();
124} 198}
125 199
126void KABPrefs::usrReadConfig() 200void KABPrefs::usrReadConfig()
127{ 201{
128 KPimPrefs::usrReadConfig(); 202 KPimPrefs::usrReadConfig();
129} 203}
130 204
131void KABPrefs::usrWriteConfig() 205void KABPrefs::usrWriteConfig()
132{ 206{
133 KPimPrefs::usrWriteConfig(); 207 KPimPrefs::usrWriteConfig();
134} 208}
135*/ 209*/
diff --git a/kaddressbook/kabprefs.h b/kaddressbook/kabprefs.h
index 4a3b6e2..1098f4c 100644
--- a/kaddressbook/kabprefs.h
+++ b/kaddressbook/kabprefs.h
@@ -1,93 +1,96 @@
1/* 1/*
2 This file is part of KAddressBook. 2 This file is part of KAddressBook.
3 Copyright (c) 2002 Mike Pilone <mpilone@slac.com> 3 Copyright (c) 2002 Mike Pilone <mpilone@slac.com>
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23 23
24#ifndef KABPREFS_H 24#ifndef KABPREFS_H
25#define KABPREFS_H 25#define KABPREFS_H
26 26
27#include <qstringlist.h> 27#include <qstringlist.h>
28#include <qdict.h>
28 29
29#include <libkdepim/kpimprefs.h> 30#include <libkdepim/kpimprefs.h>
30 31
31class KConfig; 32class KConfig;
32 33
33class KABPrefs : public KPimPrefs 34class KABPrefs : public KPimPrefs
34{ 35{
35 public: 36 public:
36 virtual ~KABPrefs(); 37 virtual ~KABPrefs();
37 38
38 static KABPrefs *instance(); 39 static KABPrefs *instance();
39 40
40 // General 41 // General
41 bool mHonorSingleClick; 42 bool mHonorSingleClick;
42 bool mAutomaticNameParsing; 43 bool mAutomaticNameParsing;
43 int mCurrentIncSearchField; 44 int mCurrentIncSearchField;
44 45
45#ifdef KAB_EMBEDDED 46#ifdef KAB_EMBEDDED
46 // US introduce a nonconst way to return the config object. 47 // US introduce a nonconst way to return the config object.
47 KConfig* getConfig(); 48 KConfig* getConfig();
48 49
49 bool mToolBarHor; 50 bool mToolBarHor;
50 bool mToolBarUp; 51 bool mToolBarUp;
51 bool mAskForQuit; 52 bool mAskForQuit;
52 53
53 54
54 /** Set preferences to default values */ 55 /** Set preferences to default values */
55// void usrSetDefaults(); 56// void usrSetDefaults();
56 57
57 /** Read preferences from config file */ 58 /** Read preferences from config file */
58// void usrReadConfig(); 59// void usrReadConfig();
59 60
60 /** Write preferences to config file */ 61 /** Write preferences to config file */
61// void usrWriteConfig(); 62// void usrWriteConfig();
62#endif //KAB_EMBEDDED 63#endif //KAB_EMBEDDED
64 void usrReadConfig();
63 65
64 66
65 // GUI 67 // GUI
66 bool mJumpButtonBarVisible; 68 bool mJumpButtonBarVisible;
67 bool mDetailsPageVisible; 69 bool mDetailsPageVisible;
68 bool mMultipleViewsAtOnce; 70 bool mMultipleViewsAtOnce;
69 bool mSearchWithReturn; 71 bool mSearchWithReturn;
70 QValueList<int> mExtensionsSplitter; 72 QValueList<int> mExtensionsSplitter;
71 QValueList<int> mDetailsSplitter; 73 QValueList<int> mDetailsSplitter;
72 74
73 // Extensions stuff 75 // Extensions stuff
74 int mCurrentExtension; 76 int mCurrentExtension;
75 QStringList mActiveExtensions; 77 QStringList mActiveExtensions;
76 78
77 // Views stuff 79 // Views stuff
78 QString mCurrentView; 80 QString mCurrentView;
79 QStringList mViewNames; 81 QStringList mViewNames;
80 82
81 // Filter 83 // Filter
82 int mCurrentFilter; 84 int mCurrentFilter;
83 85
84 void setCategoryDefaults(); 86 void setCategoryDefaults();
85 QFont mDetailsFont; 87 QFont mDetailsFont;
86 88
87 private: 89 private:
88 KABPrefs(); 90 KABPrefs();
89 91
92 QDict<QString> *mLocaleDict;
90 static KABPrefs *sInstance; 93 static KABPrefs *sInstance;
91}; 94};
92 95
93#endif 96#endif
diff --git a/kaddressbook/kaddressbookmain.cpp b/kaddressbook/kaddressbookmain.cpp
index f48f214..2832257 100644
--- a/kaddressbook/kaddressbookmain.cpp
+++ b/kaddressbook/kaddressbookmain.cpp
@@ -1,98 +1,97 @@
1/* 1/*
2 This file is part of KAddressbook. 2 This file is part of KAddressbook.
3 Copyright (c) 1999 Don Sanders <dsanders@kde.org> 3 Copyright (c) 1999 Don Sanders <dsanders@kde.org>
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23 23
24#ifdef KAB_EMBEDDED 24#ifdef KAB_EMBEDDED
25#include "kabprefs.h" 25#include "kabprefs.h"
26#include <kglobal.h> 26#include <kglobal.h>
27#include <qmessagebox.h> 27#include <qmessagebox.h>
28#include <qtoolbar.h> 28#include <qtoolbar.h>
29#include <qapplication.h> 29#include <qapplication.h>
30#else //KAB_EMBEDDED 30#else //KAB_EMBEDDED
31#include <kedittoolbar.h> 31#include <kedittoolbar.h>
32#include <kkeydialog.h> 32#include <kkeydialog.h>
33#include <kmessagebox.h> 33#include <kmessagebox.h>
34#include <kstatusbar.h> 34#include <kstatusbar.h>
35#endif //KAB_EMBEDDED 35#endif //KAB_EMBEDDED
36#include <klocale.h> 36#include <klocale.h>
37 37
38#include "kabcore.h" 38#include "kabcore.h"
39#include "kaddressbookmain.h" 39#include "kaddressbookmain.h"
40#include "kactioncollection.h" 40#include "kactioncollection.h"
41 41
42#ifdef KAB_EMBEDDED 42#ifdef KAB_EMBEDDED
43KAddressBookMain::KAddressBookMain() : KMainWindow( 0, "adrressbook" ) 43KAddressBookMain::KAddressBookMain() : KMainWindow( 0, "adrressbook" )
44#else //KAB_EMBEDDED 44#else //KAB_EMBEDDED
45//MOC_SKIP_BEGIN 45//MOC_SKIP_BEGIN
46KAddressBookMain::KAddressBookMain() : DCOPObject( "KAddressBookIface" ), KMainWindow( 0 ) 46KAddressBookMain::KAddressBookMain() : DCOPObject( "KAddressBookIface" ), KMainWindow( 0 )
47//MOC_SKIP_END 47//MOC_SKIP_END
48#endif //KAB_EMBEDDED 48#endif //KAB_EMBEDDED
49{ 49{
50
51 setIcon(SmallIcon( "ka24" ) ); 50 setIcon(SmallIcon( "ka24" ) );
52#if 0 51#if 0
53 //US for embedded systems, create the toolbar before we initiate KABCore. 52 //US for embedded systems, create the toolbar before we initiate KABCore.
54 // KABCore will fill the toolbar with menues and icons 53 // KABCore will fill the toolbar with menues and icons
55 QMainWindow::ToolBarDock tbd; 54 QMainWindow::ToolBarDock tbd;
56 tbd = Top; 55 tbd = Top;
57 iconToolBar = new QToolBar( this ); 56 iconToolBar = new QToolBar( this );
58 addToolBar (iconToolBar , tbd ); 57 addToolBar (iconToolBar , tbd );
59 iconToolBar->setHorizontalStretchable(true); 58 iconToolBar->setHorizontalStretchable(true);
60//US iconToolBar->setWidth(300); 59//US iconToolBar->setWidth(300);
61#endif // 0 60#endif // 0
62 61
63 mCore = new KABCore( this, true, this ); 62 mCore = new KABCore( this, true, this );
64 63
65#ifdef KAB_EMBEDDED 64#ifdef KAB_EMBEDDED
66 setCaption( i18n( "KAddressbook/Pi" ) ); 65 setCaption( i18n( "KAddressbook/Pi" ) );
67#else //KAB_EMBEDDED 66#else //KAB_EMBEDDED
68 setCaption( i18n( "Address Book Browser" ) ); 67 setCaption( i18n( "Address Book Browser" ) );
69#endif //KAB_EMBEDDED 68#endif //KAB_EMBEDDED
70 69
71 //mCore->restoreSettings(); 70 //mCore->restoreSettings();
72 71
73 initActions(); 72 initActions();
74 73
75 setCentralWidget( mCore ); 74 setCentralWidget( mCore );
76 75
77//US statusBar()->show(); 76//US statusBar()->show();
78 77
79#ifndef KAB_EMBEDDED 78#ifndef KAB_EMBEDDED
80 setStandardToolBarMenuEnabled(true); 79 setStandardToolBarMenuEnabled(true);
81 80
82 createGUI( "kaddressbookui.rc", false ); 81 createGUI( "kaddressbookui.rc", false );
83 82
84 83
85#endif //KAB_EMBEDDED 84#endif //KAB_EMBEDDED
86 setAutoSaveSettings(); 85 setAutoSaveSettings();
87 qApp->processEvents(); 86 qApp->processEvents();
88 mCore->restoreSettings(); 87 mCore->restoreSettings();
89} 88}
90 89
91KAddressBookMain::~KAddressBookMain() 90KAddressBookMain::~KAddressBookMain()
92{ 91{
93 // mCore->saveSettings(); 92 // mCore->saveSettings();
94} 93}
95 94
96void KAddressBookMain::showMinimized () 95void KAddressBookMain::showMinimized ()
97{ 96{
98 QWidget::showMinimized () ; 97 QWidget::showMinimized () ;
diff --git a/kaddressbook/kaddressbookview.cpp b/kaddressbook/kaddressbookview.cpp
index da28870..8062354 100644
--- a/kaddressbook/kaddressbookview.cpp
+++ b/kaddressbook/kaddressbookview.cpp
@@ -1,93 +1,94 @@
1/* 1/*
2 This file is part of KAddressBook. 2 This file is part of KAddressBook.
3 Copyright (c) 2002 Mike Pilone <mpilone@slac.com> 3 Copyright (c) 2002 Mike Pilone <mpilone@slac.com>
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23 23
24#ifndef KAB_EMBEDDED 24#ifndef KAB_EMBEDDED
25#include <qapplication.h> 25#include <qapplication.h>
26 26
27#include <kabc/distributionlistdialog.h> 27#include <kabc/distributionlistdialog.h>
28#include <kconfig.h> 28#include <kconfig.h>
29#include <klocale.h> 29#include <klocale.h>
30 30
31#include "viewmanager.h" 31#include "viewmanager.h"
32 32
33#endif //KAB_EMBEDDED 33#endif //KAB_EMBEDDED
34#include <qlayout.h> 34#include <qlayout.h>
35 35
36#include <kabc/distributionlistdialog.h> 36#include <kabc/distributionlistdialog.h>
37#include <kabc/addressbook.h> 37#include <kabc/addressbook.h>
38#include <kdebug.h> 38#include <kdebug.h>
39 39
40#include "kaddressbookview.h" 40#include "kaddressbookview.h"
41 41
42KAddressBookView::KAddressBookView( KABC::AddressBook *ab, QWidget *parent, 42KAddressBookView::KAddressBookView( KABC::AddressBook *ab, QWidget *parent,
43 const char *name ) 43 const char *name )
44 : QWidget( parent, name ), mAddressBook( ab ), mFieldList() 44 : QWidget( parent, name ), mAddressBook( ab ), mFieldList()
45{ 45{
46
46 initGUI(); 47 initGUI();
47} 48}
48 49
49KAddressBookView::~KAddressBookView() 50KAddressBookView::~KAddressBookView()
50{ 51{
51 kdDebug(5720) << "KAddressBookView::~KAddressBookView: destroying - " 52 kdDebug(5720) << "KAddressBookView::~KAddressBookView: destroying - "
52 << name() << endl; 53 << name() << endl;
53} 54}
54 55
55void KAddressBookView::readConfig( KConfig *config ) 56void KAddressBookView::readConfig( KConfig *config )
56{ 57{
57 mFieldList = KABC::Field::restoreFields( config, "KABCFields" ); 58 mFieldList = KABC::Field::restoreFields( config, "KABCFields" );
58 59
59 if ( mFieldList.isEmpty() ) 60 if ( mFieldList.isEmpty() )
60 mFieldList = KABC::Field::defaultFields(); 61 mFieldList = KABC::Field::defaultFields();
61 62
62 mDefaultFilterType = (DefaultFilterType)config->readNumEntry( "DefaultFilterType", 1 ); 63 mDefaultFilterType = (DefaultFilterType)config->readNumEntry( "DefaultFilterType", 1 );
63 mDefaultFilterName = config->readEntry( "DefaultFilterName", QString::null ); 64 mDefaultFilterName = config->readEntry( "DefaultFilterName", QString::null );
64} 65}
65 66
66void KAddressBookView::writeConfig( KConfig* ) 67void KAddressBookView::writeConfig( KConfig* )
67{ 68{
68 // Most of writing the config is handled by the ConfigureViewDialog 69 // Most of writing the config is handled by the ConfigureViewDialog
69} 70}
70 71
71QString KAddressBookView::selectedEmails() 72QString KAddressBookView::selectedEmails()
72{ 73{
73 bool first = true; 74 bool first = true;
74 QString emailAddrs; 75 QString emailAddrs;
75 QStringList uidList = selectedUids(); 76 QStringList uidList = selectedUids();
76 KABC::Addressee addr; 77 KABC::Addressee addr;
77 QString email; 78 QString email;
78 79
79 QStringList::Iterator it; 80 QStringList::Iterator it;
80 for ( it = uidList.begin(); it != uidList.end(); ++it ) { 81 for ( it = uidList.begin(); it != uidList.end(); ++it ) {
81 addr = mAddressBook->findByUid( *it ); 82 addr = mAddressBook->findByUid( *it );
82 83
83 if ( !addr.isEmpty() ) { 84 if ( !addr.isEmpty() ) {
84 QString m = QString::null; 85 QString m = QString::null;
85 86
86 if ( addr.emails().count() > 1 ) 87 if ( addr.emails().count() > 1 )
87 m = KABC::EmailSelector::getEmail( addr.emails(), addr.preferredEmail(), this ); 88 m = KABC::EmailSelector::getEmail( addr.emails(), addr.preferredEmail(), this );
88 89
89 email = addr.fullEmail( m ); 90 email = addr.fullEmail( m );
90 91
91 if ( !first ) 92 if ( !first )
92 emailAddrs += ", "; 93 emailAddrs += ", ";
93 else 94 else
diff --git a/kaddressbook/mainembedded.cpp b/kaddressbook/mainembedded.cpp
index 40089a1..a8816f9 100644
--- a/kaddressbook/mainembedded.cpp
+++ b/kaddressbook/mainembedded.cpp
@@ -1,95 +1,99 @@
1#ifndef DESKTOP_VERSION 1#ifndef DESKTOP_VERSION
2#include <qpe/qpeapplication.h> 2#include <qpe/qpeapplication.h>
3#include <qcopchannel_qws.h> 3#include <qcopchannel_qws.h>
4#include <stdlib.h> 4#include <stdlib.h>
5#else 5#else
6#include <qapplication.h> 6#include <qapplication.h>
7#include <qwindowsstyle.h> 7#include <qwindowsstyle.h>
8#include <qplatinumstyle.h> 8#include <qplatinumstyle.h>
9#include <qmainwindow.h> 9#include <qmainwindow.h>
10#endif 10#endif
11 11
12#include <qtextcodec.h> 12#include <qtextcodec.h>
13#include <kstandarddirs.h> 13#include <kstandarddirs.h>
14#include <qregexp.h> 14#include <qregexp.h>
15#include <kglobal.h> 15#include <kglobal.h>
16#include <stdio.h> 16#include <stdio.h>
17#include <qdir.h> 17#include <qdir.h>
18#include "kabprefs.h"
18#include "kaddressbookmain.h" 19#include "kaddressbookmain.h"
19#include "externalapphandler.h" 20#include "externalapphandler.h"
20#include <libkdepim/kpimglobalprefs.h> 21#include <libkdepim/kpimglobalprefs.h>
21 22void dumpMissing();
22int main( int argc, char **argv ) 23int main( int argc, char **argv )
23{ 24{
24#ifndef DESKTOP_VERSION 25#ifndef DESKTOP_VERSION
25 QPEApplication a( argc, argv ); 26 QPEApplication a( argc, argv );
26 a.setKeepRunning (); 27 a.setKeepRunning ();
27#else 28#else
28 QApplication a( argc, argv ); 29 QApplication a( argc, argv );
29 QApplication::setStyle( new QPlatinumStyle ()); 30 QApplication::setStyle( new QPlatinumStyle ());
30 QString hdir = QDir::homeDirPath(); 31 QString hdir = QDir::homeDirPath();
31 // there is a bug when creating dirs for WIN 98 32 // there is a bug when creating dirs for WIN 98
32 // it is difficult to fix, because we have no WIN 98 runnung 33 // it is difficult to fix, because we have no WIN 98 runnung
33 // such that we try it to create the dirs at startup here 34 // such that we try it to create the dirs at startup here
34 if ( hdir == "C:\\" ) { // win 98 or ME 35 if ( hdir == "C:\\" ) { // win 98 or ME
35 QDir app_dir; 36 QDir app_dir;
36 if ( !app_dir.exists("C:\\kdepim") ) 37 if ( !app_dir.exists("C:\\kdepim") )
37 app_dir.mkdir ("C:\\kdepim"); 38 app_dir.mkdir ("C:\\kdepim");
38 if ( !app_dir.exists("C:\\kdepim\\apps") ) 39 if ( !app_dir.exists("C:\\kdepim\\apps") )
39 app_dir.mkdir ("C:\\kdepim\\apps"); 40 app_dir.mkdir ("C:\\kdepim\\apps");
40 if ( !app_dir.exists("C:\\kdepim\\config") ) 41 if ( !app_dir.exists("C:\\kdepim\\config") )
41 app_dir.mkdir ("C:\\kdepim\\config"); 42 app_dir.mkdir ("C:\\kdepim\\config");
42 if ( !app_dir.exists("C:\\kdepim\\apps\\kaddressbook") ) 43 if ( !app_dir.exists("C:\\kdepim\\apps\\kaddressbook") )
43 app_dir.mkdir ("C:\\kdepim\\apps\\kaddressbook"); 44 app_dir.mkdir ("C:\\kdepim\\apps\\kaddressbook");
44 } 45 }
45#endif 46#endif
46 47
47 bool exitHelp = false; 48 bool exitHelp = false;
48 if ( argc > 1 ) { 49 if ( argc > 1 ) {
49 QString command = argv[1]; 50 QString command = argv[1];
50 if ( command == "-help" ){ 51 if ( command == "-help" ){
51 printf("KA/E command line commands:\n"); 52 printf("KA/E command line commands:\n");
52 printf(" no command: Start KA/E in usual way\n"); 53 printf(" no command: Start KA/E in usual way\n");
53 printf(" -help: This output\n"); 54 printf(" -help: This output\n");
54 printf(" KA/E is exiting now. Bye!\n"); 55 printf(" KA/E is exiting now. Bye!\n");
55 exitHelp = true; 56 exitHelp = true;
56 } 57 }
57 } 58 }
58 if ( ! exitHelp ) { 59 if ( ! exitHelp ) {
59 60
60 KGlobal::setAppName( "kaddressbook" ); 61 KGlobal::setAppName( "kaddressbook" );
61#ifndef DESKTOP_VERSION 62#ifndef DESKTOP_VERSION
62 if ( QApplication::desktop()->width() > 320 ) 63 if ( QApplication::desktop()->width() > 320 )
63 KGlobal::iconLoader()->setIconPath(QString(getenv("QPEDIR"))+"/pics/kdepim/kaddressbook/icons22/"); 64 KGlobal::iconLoader()->setIconPath(QString(getenv("QPEDIR"))+"/pics/kdepim/kaddressbook/icons22/");
64 else 65 else
65 KGlobal::iconLoader()->setIconPath(QString(getenv("QPEDIR"))+"/pics/kdepim/kaddressbook/icons16/"); 66 KGlobal::iconLoader()->setIconPath(QString(getenv("QPEDIR"))+"/pics/kdepim/kaddressbook/icons16/");
66#else 67#else
67 QString fileName ; 68 QString fileName ;
68 fileName = qApp->applicationDirPath () + "/kdepim/kaddressbook/icons22/"; 69 fileName = qApp->applicationDirPath () + "/kdepim/kaddressbook/icons22/";
69 KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName)); 70 KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName));
70 QApplication::addLibraryPath ( qApp->applicationDirPath () ); 71 QApplication::addLibraryPath ( qApp->applicationDirPath () );
71 72
72#endif 73#endif
73 KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kaddressbook"))); 74 KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kaddressbook")));
75 // init language
76 KABPrefs::instance();
74 KAddressBookMain m ; 77 KAddressBookMain m ;
75//US MainWindow m; 78//US MainWindow m;
76 QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & ))); 79 QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & )));
77 80
78 { 81 {
79 KPimGlobalPrefs::instance()->setGlobalConfig(); 82 KPimGlobalPrefs::instance()->setGlobalConfig();
80 } 83 }
81#ifndef DESKTOP_VERSION 84#ifndef DESKTOP_VERSION
82 a.showMainWidget( &m ); 85 a.showMainWidget( &m );
83 86
84#else 87#else
85 a.setMainWidget( &m ); 88 a.setMainWidget( &m );
86 m.resize (640, 480 ); 89 m.resize (640, 480 );
87 m.show(); 90 m.show();
88#endif 91#endif
89 a.exec(); 92 a.exec();
90 93
94 dumpMissing();
91 95
92 } 96 }
93 qDebug("KA: Bye! "); 97 qDebug("KA: Bye! ");
94} 98}
95 99
diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp
index 5362f08..8947ff8 100644
--- a/kmicromail/main.cpp
+++ b/kmicromail/main.cpp
@@ -1,62 +1,63 @@
1// CHANGED 2004-08-06 Lutz Rogowski 1// CHANGED 2004-08-06 Lutz Rogowski
2 2
3 3
4#ifndef DESKTOP_VERSION 4#ifndef DESKTOP_VERSION
5#include <qpe/qpeapplication.h> 5#include <qpe/qpeapplication.h>
6#include <libkdepim/externalapphandler.h> 6#include <libkdepim/externalapphandler.h>
7#include <stdlib.h> 7#include <stdlib.h>
8#else 8#else
9#include <qapplication.h> 9#include <qapplication.h>
10#include <qstring.h> 10#include <qstring.h>
11#include <qwindowsstyle.h> 11#include <qwindowsstyle.h>
12#include <qplatinumstyle.h> 12#include <qplatinumstyle.h>
13#include <qsgistyle.h> 13#include <qsgistyle.h>
14#endif 14#endif
15#include "opiemail.h" 15#include "opiemail.h"
16#include <qdir.h> 16#include <qdir.h>
17#include <kstandarddirs.h> 17#include <kstandarddirs.h>
18#include <kglobal.h> 18#include <kglobal.h>
19#include <stdio.h> 19#include <stdio.h>
20#include "mainwindow.h" 20#include "mainwindow.h"
21#include "koprefs.h" 21#include "koprefs.h"
22 22void dumpMissing();
23//using namespace Opie::Core; 23//using namespace Opie::Core;
24int main( int argc, char **argv ) { 24int main( int argc, char **argv ) {
25 25
26#ifndef DESKTOP_VERSION 26#ifndef DESKTOP_VERSION
27 QPEApplication a( argc, argv ); 27 QPEApplication a( argc, argv );
28 a.setKeepRunning (); 28 a.setKeepRunning ();
29#else 29#else
30 QApplication a( argc, argv ); 30 QApplication a( argc, argv );
31 QApplication::setStyle( new QPlatinumStyle ()); 31 QApplication::setStyle( new QPlatinumStyle ());
32#endif 32#endif
33 a.setFont( KOPrefs::instance()->mAppFont ); 33 a.setFont( KOPrefs::instance()->mAppFont );
34 KGlobal::setAppName( "kopiemail" ); 34 KGlobal::setAppName( "kopiemail" );
35 QString fileName ; 35 QString fileName ;
36#ifndef DESKTOP_VERSION 36#ifndef DESKTOP_VERSION
37 fileName = getenv("QPEDIR"); 37 fileName = getenv("QPEDIR");
38 if ( QApplication::desktop()->width() > 320 ) 38 if ( QApplication::desktop()->width() > 320 )
39 KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/icons22/"); 39 KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/icons22/");
40 else 40 else
41 KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/"); 41 KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/");
42#else 42#else
43 fileName = qApp->applicationDirPath () + "/kdepim/kopiemail/"; 43 fileName = qApp->applicationDirPath () + "/kdepim/kopiemail/";
44 KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName)); 44 KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName));
45#endif 45#endif
46 KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kopiemail"))); 46 KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kopiemail")));
47 OpieMail mw; 47 OpieMail mw;
48#ifndef DESKTOP_VERSION 48#ifndef DESKTOP_VERSION
49 //qDebug("CONNECT "); 49 //qDebug("CONNECT ");
50 QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&mw, SLOT(message( const QCString&, const QByteArray& ))); 50 QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&mw, SLOT(message( const QCString&, const QByteArray& )));
51 // QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & ))); 51 // QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & )));
52 a.showMainWidget(&mw ); 52 a.showMainWidget(&mw );
53#else 53#else
54 a.setMainWidget(&mw ); 54 a.setMainWidget(&mw );
55 mw.show(); 55 mw.show();
56 //m.resize( 800, 600 ); 56 //m.resize( 800, 600 );
57 QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); 57 QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
58#endif 58#endif
59 int rv = a.exec(); 59 int rv = a.exec();
60 dumpMissing();
60 return rv; 61 return rv;
61 62
62} 63}
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp
index ddded2a..c77345b 100644
--- a/kmicromail/mainwindow.cpp
+++ b/kmicromail/mainwindow.cpp
@@ -1,225 +1,225 @@
1 1
2// CHANGED 2004-08-06 Lutz Rogowski 2// CHANGED 2004-08-06 Lutz Rogowski
3#include <qlabel.h> 3#include <qlabel.h>
4#include <qvbox.h> 4#include <qvbox.h>
5#include <qheader.h> 5#include <qheader.h>
6#include <qtimer.h> 6#include <qtimer.h>
7#include <qlayout.h> 7#include <qlayout.h>
8#include <kdialog.h> 8#include <kdialog.h>
9#include <kiconloader.h> 9#include <kiconloader.h>
10#include <kapplication.h> 10#include <kapplication.h>
11 11
12#ifndef DESKTOP_VERSION 12#ifndef DESKTOP_VERSION
13#include <qpe/qpeapplication.h> 13#include <qpe/qpeapplication.h>
14#endif 14#endif
15#include "defines.h" 15#include "defines.h"
16#include "mainwindow.h" 16#include "mainwindow.h"
17#include <KDGanttMinimizeSplitter.h> 17#include <KDGanttMinimizeSplitter.h>
18 18
19 19
20#include <kabc/stdaddressbook.h> 20#include <kabc/stdaddressbook.h>
21 21
22MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) 22MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
23 : QMainWindow( parent, name ) //, flags ) 23 : QMainWindow( parent, name ) //, flags )
24{ 24{
25 setCaption( tr( "KOpieMail/Pi" ) ); 25 setCaption( i18n( "KOpieMail/Pi" ) );
26 setToolBarsMovable( false ); 26 setToolBarsMovable( false );
27 //KABC::StdAddressBook::self(); 27 //KABC::StdAddressBook::self();
28 toolBar = new QToolBar( this ); 28 toolBar = new QToolBar( this );
29 menuBar = new QPEMenuBar( toolBar ); 29 menuBar = new QPEMenuBar( toolBar );
30 mailMenu = new QPopupMenu( menuBar ); 30 mailMenu = new QPopupMenu( menuBar );
31 menuBar->insertItem( tr( "Mail" ), mailMenu ); 31 menuBar->insertItem( i18n( "Mail" ), mailMenu );
32 settingsMenu = new QPopupMenu( menuBar ); 32 settingsMenu = new QPopupMenu( menuBar );
33 menuBar->insertItem( tr( "Settings" ), settingsMenu ); 33 menuBar->insertItem( i18n( "Settings" ), settingsMenu );
34 34
35 addToolBar( toolBar ); 35 addToolBar( toolBar );
36 toolBar->setHorizontalStretchable( true ); 36 toolBar->setHorizontalStretchable( true );
37 QAction* getMail = new QAction( tr( "Get all new mails" ), SmallIcon("enter"), 37 QAction* getMail = new QAction( i18n( "Get all new mails" ), SmallIcon("enter"),
38 0, 0, this ); 38 0, 0, this );
39 connect(getMail, SIGNAL( activated() ), 39 connect(getMail, SIGNAL( activated() ),
40 SLOT( slotGetAllMail() ) ); 40 SLOT( slotGetAllMail() ) );
41 getMail->addTo( mailMenu ); 41 getMail->addTo( mailMenu );
42 42
43 getMail = new QAction( tr( "Get new messages" ), SmallIcon("add"), 43 getMail = new QAction( i18n( "Get new messages" ), SmallIcon("add"),
44 0, 0, this ); 44 0, 0, this );
45 getMail->addTo( toolBar ); 45 getMail->addTo( toolBar );
46 getMail->addTo( mailMenu ); 46 getMail->addTo( mailMenu );
47 connect(getMail, SIGNAL( activated() ), 47 connect(getMail, SIGNAL( activated() ),
48 SLOT( slotGetMail() ) ); 48 SLOT( slotGetMail() ) );
49 49
50 composeMail = new QAction( tr( "Compose new mail" ), SmallIcon("composemail"), 50 composeMail = new QAction( i18n( "Compose new mail" ), SmallIcon("composemail"),
51 0, 0, this ); 51 0, 0, this );
52 composeMail->addTo( toolBar ); 52 composeMail->addTo( toolBar );
53 composeMail->addTo( mailMenu ); 53 composeMail->addTo( mailMenu );
54 54
55 sendQueued = new QAction( tr( "Send queued mails" ), SmallIcon("sendqueued") , 55 sendQueued = new QAction( i18n( "Send queued mails" ), SmallIcon("sendqueued") ,
56 0, 0, this ); 56 0, 0, this );
57 sendQueued->addTo( toolBar ); 57 sendQueued->addTo( toolBar );
58 sendQueued->addTo( mailMenu ); 58 sendQueued->addTo( mailMenu );
59 59
60 /* 60 /*
61 syncFolders = new QAction( tr( "Sync mailfolders" ), ICON_SYNC, 61 syncFolders = new QAction( i18n( "Sync mailfolders" ), ICON_SYNC,
62 0, 0, this ); 62 0, 0, this );
63 syncFolders->addTo( toolBar ); 63 syncFolders->addTo( toolBar );
64 syncFolders->addTo( mailMenu ); 64 syncFolders->addTo( mailMenu );
65 */ 65 */
66 66
67 showFolders = new QAction( tr( "Show/Hide folders" ), SmallIcon("showfolders") , 67 showFolders = new QAction( i18n( "Show/Hide folders" ), SmallIcon("showfolders") ,
68 0, 0, this, 0, true ); 68 0, 0, this, 0, true );
69 showFolders->addTo( toolBar ); 69 showFolders->addTo( toolBar );
70 showFolders->addTo( mailMenu ); 70 showFolders->addTo( mailMenu );
71 showFolders->setOn( true ); 71 showFolders->setOn( true );
72 connect(showFolders, SIGNAL( toggled(bool) ), 72 connect(showFolders, SIGNAL( toggled(bool) ),
73 SLOT( slotShowFolders(bool) ) ); 73 SLOT( slotShowFolders(bool) ) );
74 74
75 /* 75 /*
76 searchMails = new QAction( tr( "Search mails" ), SmallIcon("find") ), 76 searchMails = new QAction( i18n( "Search mails" ), SmallIcon("find") ),
77 0, 0, this ); 77 0, 0, this );
78 searchMails->addTo( toolBar ); 78 searchMails->addTo( toolBar );
79 searchMails->addTo( mailMenu ); 79 searchMails->addTo( mailMenu );
80 */ 80 */
81 81
82 deleteMails = new QAction(tr("Delete Mail"), SmallIcon("trash"), 0, 0, this); 82 deleteMails = new QAction(i18n("Delete Mail"), SmallIcon("trash"), 0, 0, this);
83 deleteMails->addTo( toolBar ); 83 deleteMails->addTo( toolBar );
84 deleteMails->addTo( mailMenu ); 84 deleteMails->addTo( mailMenu );
85 connect( deleteMails, SIGNAL( activated() ), 85 connect( deleteMails, SIGNAL( activated() ),
86 SLOT( slotDeleteMail() ) ); 86 SLOT( slotDeleteMail() ) );
87 87
88 editSettings = new QAction( tr( "Edit settings" ), SmallIcon("SettingsIcon") , 88 editSettings = new QAction( i18n( "Edit settings" ), SmallIcon("SettingsIcon") ,
89 0, 0, this ); 89 0, 0, this );
90 editSettings->addTo( settingsMenu ); 90 editSettings->addTo( settingsMenu );
91 connect( editSettings, SIGNAL( activated() ), 91 connect( editSettings, SIGNAL( activated() ),
92 SLOT( slotEditSettings() ) ); 92 SLOT( slotEditSettings() ) );
93 editAccounts = new QAction( tr( "Configure accounts" ), SmallIcon("editaccounts") , 93 editAccounts = new QAction( i18n( "Configure accounts" ), SmallIcon("editaccounts") ,
94 0, 0, this ); 94 0, 0, this );
95 editAccounts->addTo( settingsMenu ); 95 editAccounts->addTo( settingsMenu );
96 96
97 //setCentralWidget( view ); 97 //setCentralWidget( view );
98 98
99 QVBox* wrapperBox = new QVBox( this ); 99 QVBox* wrapperBox = new QVBox( this );
100 setCentralWidget( wrapperBox ); 100 setCentralWidget( wrapperBox );
101 101
102 // QWidget *view = new QWidget( wrapperBox ); 102 // QWidget *view = new QWidget( wrapperBox );
103 KDGanttMinimizeSplitter* split = new KDGanttMinimizeSplitter( Qt::Horizontal, wrapperBox); 103 KDGanttMinimizeSplitter* split = new KDGanttMinimizeSplitter( Qt::Horizontal, wrapperBox);
104 split->setMinimizeDirection( KDGanttMinimizeSplitter::Left); 104 split->setMinimizeDirection( KDGanttMinimizeSplitter::Left);
105 //layout = new QBoxLayout ( split, QBoxLayout::LeftToRight ); 105 //layout = new QBoxLayout ( split, QBoxLayout::LeftToRight );
106 106
107 folderView = new AccountView( split ); 107 folderView = new AccountView( split );
108 folderView->header()->hide(); 108 folderView->header()->hide();
109 folderView->setRootIsDecorated( false ); 109 folderView->setRootIsDecorated( false );
110 folderView->addColumn( tr( "Mailbox" ) ); 110 folderView->addColumn( i18n( "Mailbox" ) );
111 111
112 //layout->addWidget( folderView ); 112 //layout->addWidget( folderView );
113 113
114 mailView = new QListView( split ); 114 mailView = new QListView( split );
115 mailView->addColumn( tr( " " ) ); 115 mailView->addColumn( i18n( " " ) );
116 mailView->addColumn( tr( "Subject" ),QListView::Manual ); 116 mailView->addColumn( i18n( "Subject" ),QListView::Manual );
117 mailView->addColumn( tr( "Sender" ),QListView::Manual ); 117 mailView->addColumn( i18n( "Sender" ),QListView::Manual );
118 mailView->addColumn( tr( "Size" ),QListView::Manual); 118 mailView->addColumn( i18n( "Size" ),QListView::Manual);
119 mailView->addColumn( tr( "Date" ),QListView::Manual); 119 mailView->addColumn( i18n( "Date" ),QListView::Manual);
120 mailView->setAllColumnsShowFocus(true); 120 mailView->setAllColumnsShowFocus(true);
121 //mailView->setSorting(-1); 121 //mailView->setSorting(-1);
122 mailView->setRootIsDecorated( false ); 122 mailView->setRootIsDecorated( false );
123 statusWidget = new StatusWidget( wrapperBox ); 123 statusWidget = new StatusWidget( wrapperBox );
124 statusWidget->hide(); 124 statusWidget->hide();
125 125
126 //layout->addWidget( mailView ); 126 //layout->addWidget( mailView );
127 //layout->setStretchFactor( folderView, 1 ); 127 //layout->setStretchFactor( folderView, 1 );
128 //layout->setStretchFactor( mailView, 2 ); 128 //layout->setStretchFactor( mailView, 2 );
129 129
130 slotAdjustLayout(); 130 slotAdjustLayout();
131#ifndef DESKTOP_VERSION 131#ifndef DESKTOP_VERSION
132 QPEApplication::setStylusOperation( mailView->viewport(),QPEApplication::RightOnHold); 132 QPEApplication::setStylusOperation( mailView->viewport(),QPEApplication::RightOnHold);
133 QPEApplication::setStylusOperation( folderView->viewport(),QPEApplication::RightOnHold); 133 QPEApplication::setStylusOperation( folderView->viewport(),QPEApplication::RightOnHold);
134#endif 134#endif
135 connect( mailView, SIGNAL( doubleClicked (QListViewItem* )),this, 135 connect( mailView, SIGNAL( doubleClicked (QListViewItem* )),this,
136 SLOT( mailLeftClicked(QListViewItem*) ) ); 136 SLOT( mailLeftClicked(QListViewItem*) ) );
137 connect( mailView, SIGNAL( returnPressed (QListViewItem* )),this, 137 connect( mailView, SIGNAL( returnPressed (QListViewItem* )),this,
138 SLOT( mailLeftClicked(QListViewItem*) ) ); 138 SLOT( mailLeftClicked(QListViewItem*) ) );
139 connect( mailView, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int) ),this, 139 connect( mailView, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int) ),this,
140 SLOT( mailHold(int,QListViewItem*,const QPoint&,int) ) ); 140 SLOT( mailHold(int,QListViewItem*,const QPoint&,int) ) );
141 connect(folderView, SIGNAL(refreshMailview(const QValueList<RecMailP>&)), 141 connect(folderView, SIGNAL(refreshMailview(const QValueList<RecMailP>&)),
142 this,SLOT(refreshMailView(const QValueList<RecMailP>&))); 142 this,SLOT(refreshMailView(const QValueList<RecMailP>&)));
143 connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); 143 connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) );
144 connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); 144 connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) );
145// connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); 145// connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) );
146 connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); 146 connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) );
147 //mailView->setMultiSelection ( true ); 147 //mailView->setMultiSelection ( true );
148 mailView->setSelectionMode( QListView::Extended ); 148 mailView->setSelectionMode( QListView::Extended );
149 QValueList<int> list; 149 QValueList<int> list;
150 int fw = 100; 150 int fw = 100;
151 if ( QApplication::desktop()->width() > 320 ) 151 if ( QApplication::desktop()->width() > 320 )
152 fw = 50; 152 fw = 50;
153 list.append( fw ); 153 list.append( fw );
154 list.append( 100 ); 154 list.append( 100 );
155 split->setSizes( list ); 155 split->setSizes( list );
156 QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) ); 156 QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) );
157 mailView->setShowSortIndicator ( true ); 157 mailView->setShowSortIndicator ( true );
158 QLabel *spacer = new QLabel( toolBar ); 158 QLabel *spacer = new QLabel( toolBar );
159 spacer->setBackgroundMode( QWidget::PaletteButton ); 159 spacer->setBackgroundMode( QWidget::PaletteButton );
160 toolBar->setStretchableWidget( spacer ); 160 toolBar->setStretchableWidget( spacer );
161 161
162 QAction* closeMail = new QAction(tr("Close"),SmallIcon("exit"), 0, 0, this); 162 QAction* closeMail = new QAction(i18n("Close"),SmallIcon("exit"), 0, 0, this);
163 connect( closeMail, SIGNAL( activated() ), SLOT( close() ) ); 163 connect( closeMail, SIGNAL( activated() ), SLOT( close() ) );
164 if ( QApplication::desktop()->width() > 320 ) 164 if ( QApplication::desktop()->width() > 320 )
165 closeMail->addTo(toolBar); 165 closeMail->addTo(toolBar);
166 closeMail->addTo(mailMenu); 166 closeMail->addTo(mailMenu);
167 167
168 168
169 QPopupMenu* helpMenu = new QPopupMenu( menuBar ); 169 QPopupMenu* helpMenu = new QPopupMenu( menuBar );
170 menuBar->insertItem( tr( "Help" ), helpMenu ); 170 menuBar->insertItem( i18n( "Help" ), helpMenu );
171 QAction* li = new QAction(tr("About"), QPixmap(), 0, 0, this); 171 QAction* li = new QAction(i18n("About"), QPixmap(), 0, 0, this);
172 connect( li, SIGNAL( activated() ), SLOT( showAbout()) ); 172 connect( li, SIGNAL( activated() ), SLOT( showAbout()) );
173 li->addTo(helpMenu); 173 li->addTo(helpMenu);
174 li = new QAction(tr("Licence"),QPixmap(), 0, 0, this); 174 li = new QAction(i18n("Licence"),QPixmap(), 0, 0, this);
175 connect( li, SIGNAL( activated() ), SLOT( showLicence()) ); 175 connect( li, SIGNAL( activated() ), SLOT( showLicence()) );
176 li->addTo(helpMenu); 176 li->addTo(helpMenu);
177 li = new QAction(tr("LibEtPan Licence"), QPixmap(), 0, 0, this); 177 li = new QAction(i18n("LibEtPan Licence"), QPixmap(), 0, 0, this);
178 connect( li, SIGNAL( activated() ), SLOT( showEtpanLicence()) ); 178 connect( li, SIGNAL( activated() ), SLOT( showEtpanLicence()) );
179 li->addTo(helpMenu); 179 li->addTo(helpMenu);
180} 180}
181 181
182MainWindow::~MainWindow() 182MainWindow::~MainWindow()
183{ 183{
184} 184}
185 185
186void MainWindow::showLicence() 186void MainWindow::showLicence()
187{ 187{
188 KApplication::showLicence(); 188 KApplication::showLicence();
189} 189}
190void MainWindow::showAbout() 190void MainWindow::showAbout()
191{ 191{
192 QString version; 192 QString version;
193#include <../version> 193#include <../version>
194 194
195 QString cap = "About KOpieMail/Pi"; 195 QString cap = "About KOpieMail/Pi";
196 QString text =i18n("KOpieMail/Platform-independent\n") + 196 QString text =i18n("KOpieMail/Platform-independent\n") +
197 "(OM/Pi) " + version + " - " 197 "(OM/Pi) " + version + " - "
198 198
199#ifdef DESKTOP_VERSION 199#ifdef DESKTOP_VERSION
200 "Desktop Edition\n" 200 "Desktop Edition\n"
201#else 201#else
202 "PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n" 202 "PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n"
203#endif 203#endif
204 "www.pi-sync.net\n\n" 204 "www.pi-sync.net\n\n"
205 205
206 206
207 207
208"Copyright (c) 2004 Lutz Rogowski <lutz@pi-sync.net>\n" 208"Copyright (c) 2004 Lutz Rogowski <lutz@pi-sync.net>\n"
209 "KOpieMail/Pi is based on Opie Mail\n" 209 "KOpieMail/Pi is based on Opie Mail\n"
210 "Copyright (c) Rajko Albrecht and the Opie team\n" 210 "Copyright (c) Rajko Albrecht and the Opie team\n"
211 "KOpieMail/Pi is licensed under the GPL\n" 211 "KOpieMail/Pi is licensed under the GPL\n"
212 "\n" 212 "\n"
213 "KOpieMail/Pi uses LibEtPan - a mail stuff library\n" 213 "KOpieMail/Pi uses LibEtPan - a mail stuff library\n"
214 "Copyright (C) 2001, 2002 - DINH Viet Hoa\n" 214 "Copyright (C) 2001, 2002 - DINH Viet Hoa\n"
215 "libEtPan has its own licence - see LibEtPan licence\n"; 215 "libEtPan has its own licence - see LibEtPan licence\n";
216 216
217 KApplication::showText( cap, text ); 217 KApplication::showText( cap, text );
218} 218}
219void MainWindow::showEtpanLicence() 219void MainWindow::showEtpanLicence()
220{ 220{
221 KApplication::showFile( "LibEtPan licence", "kdepim/kopiemail/COPYRIGHTlibetpan" ); 221 KApplication::showFile( "LibEtPan licence", "kdepim/kopiemail/COPYRIGHTlibetpan" );
222 222
223} 223}
224void MainWindow::appMessage(const QCString &, const QByteArray &) 224void MainWindow::appMessage(const QCString &, const QByteArray &)
225{ 225{
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp
index 164988c..3aa7905 100644
--- a/kmicromail/opiemail.cpp
+++ b/kmicromail/opiemail.cpp
@@ -1,61 +1,62 @@
1// CHANGED 2004-09-31 Lutz Rogowski 1// CHANGED 2004-09-31 Lutz Rogowski
2// CHANGED 2004-08-06 Lutz Rogowski 2// CHANGED 2004-08-06 Lutz Rogowski
3 3
4#include "settingsdialog.h" 4#include "settingsdialog.h"
5#include "opiemail.h" 5#include "opiemail.h"
6#include "editaccounts.h" 6#include "editaccounts.h"
7#include "composemail.h" 7#include "composemail.h"
8#include "mailistviewitem.h" 8#include "mailistviewitem.h"
9#include "viewmail.h" 9#include "viewmail.h"
10#include "selectstore.h" 10#include "selectstore.h"
11#include "selectsmtp.h" 11#include "selectsmtp.h"
12#include "accountitem.h" 12#include "accountitem.h"
13#include "koprefsdialog.h" 13#include "koprefsdialog.h"
14#include "klocale.h"
14 15
15#include <qmessagebox.h> 16#include <qmessagebox.h>
16#include <qtimer.h> 17#include <qtimer.h>
17#include <libkdepim/externalapphandler.h> 18#include <libkdepim/externalapphandler.h>
18#include <libkdepim/kpimglobalprefs.h> 19#include <libkdepim/kpimglobalprefs.h>
19 20
20#include <qpe/qpeapplication.h> 21#include <qpe/qpeapplication.h>
21#include <libmailwrapper/smtpwrapper.h> 22#include <libmailwrapper/smtpwrapper.h>
22#include <libmailwrapper/mailtypes.h> 23#include <libmailwrapper/mailtypes.h>
23#include <libmailwrapper/abstractmail.h> 24#include <libmailwrapper/abstractmail.h>
24/* OPIE */ 25/* OPIE */
25//#include <qpe/resource.h> 26//#include <qpe/resource.h>
26//#include <qpe/qpeapplication.h> 27//#include <qpe/qpeapplication.h>
27 28
28/* QT */ 29/* QT */
29 30
30//using namespace Opie::Core; 31//using namespace Opie::Core;
31 32
32OpieMail::OpieMail( QWidget *parent, const char *name ) 33OpieMail::OpieMail( QWidget *parent, const char *name )
33 : MainWindow( parent, name) //, WStyle_ContextHelp ) 34 : MainWindow( parent, name) //, WStyle_ContextHelp )
34{ 35{
35 settings = new Settings(); 36 settings = new Settings();
36 KPimGlobalPrefs::instance()->setGlobalConfig(); 37 KPimGlobalPrefs::instance()->setGlobalConfig();
37 38
38 folderView->populate( settings->getAccounts() ); 39 folderView->populate( settings->getAccounts() );
39 40
40} 41}
41 42
42OpieMail::~OpieMail() 43OpieMail::~OpieMail()
43{ 44{
44 if (settings) delete settings; 45 if (settings) delete settings;
45} 46}
46 47
47void OpieMail::appMessage(const QCString &msg, const QByteArray &data) 48void OpieMail::appMessage(const QCString &msg, const QByteArray &data)
48{ 49{
49 50
50} 51}
51#include <stdlib.h> 52#include <stdlib.h>
52void OpieMail::message(const QCString &msg, const QByteArray &data) 53void OpieMail::message(const QCString &msg, const QByteArray &data)
53{ 54{
54 // copied from old mail2 55 // copied from old mail2
55 static int ii = 0; 56 static int ii = 0;
56 //qDebug("QCOP CALL ############################# %d ", ii); 57 //qDebug("QCOP CALL ############################# %d ", ii);
57 //QString mess ( msg ); 58 //QString mess ( msg );
58 //qDebug("Message = %s ",mess.latin1()); 59 //qDebug("Message = %s ",mess.latin1());
59 ++ii; 60 ++ii;
60 //qDebug("KM:appMessage %d *%s* %x", ii, msg.data(), this); 61 //qDebug("KM:appMessage %d *%s* %x", ii, msg.data(), this);
61 62
@@ -131,338 +132,338 @@ void OpieMail::slotwriteMail(const QString&name,const QString&email)
131 if (!email.isEmpty()) 132 if (!email.isEmpty())
132 { 133 {
133 if (!name.isEmpty()) 134 if (!name.isEmpty())
134 { 135 {
135 compose.setTo("\"" + name + "\"" + " " + "<"+ email + ">"); 136 compose.setTo("\"" + name + "\"" + " " + "<"+ email + ">");
136 } 137 }
137 else 138 else
138 { 139 {
139 compose.setTo(email); 140 compose.setTo(email);
140 } 141 }
141 } 142 }
142 compose.slotAdjustColumns(); 143 compose.slotAdjustColumns();
143 compose.showMaximized(); 144 compose.showMaximized();
144 compose.exec(); 145 compose.exec();
145 raise(); 146 raise();
146} 147}
147 148
148void OpieMail::slotComposeMail() 149void OpieMail::slotComposeMail()
149{ 150{
150 if ( mPendingEmail == QString::null && mPendingName == QString::null) 151 if ( mPendingEmail == QString::null && mPendingName == QString::null)
151 slotwriteMail2( QString () ); 152 slotwriteMail2( QString () );
152 else { 153 else {
153 if ( mPendingEmail == QString::null ) 154 if ( mPendingEmail == QString::null )
154 slotwriteMail2( mPendingName ); 155 slotwriteMail2( mPendingName );
155 else 156 else
156 slotwriteMail( mPendingName, mPendingEmail ); 157 slotwriteMail( mPendingName, mPendingEmail );
157 } 158 }
158 //slotwriteMail(0l,0l); 159 //slotwriteMail(0l,0l);
159} 160}
160 161
161void OpieMail::slotSendQueued() 162void OpieMail::slotSendQueued()
162{ 163{
163 SMTPaccount *smtp = 0; 164 SMTPaccount *smtp = 0;
164 165
165 QList<Account> list = settings->getAccounts(); 166 QList<Account> list = settings->getAccounts();
166 QList<SMTPaccount> smtpList; 167 QList<SMTPaccount> smtpList;
167 smtpList.setAutoDelete(false); 168 smtpList.setAutoDelete(false);
168 Account *it; 169 Account *it;
169 for ( it = list.first(); it; it = list.next() ) 170 for ( it = list.first(); it; it = list.next() )
170 { 171 {
171 if ( it->getType() == MAILLIB::A_SMTP ) 172 if ( it->getType() == MAILLIB::A_SMTP )
172 { 173 {
173 smtp = static_cast<SMTPaccount *>(it); 174 smtp = static_cast<SMTPaccount *>(it);
174 smtpList.append(smtp); 175 smtpList.append(smtp);
175 } 176 }
176 } 177 }
177 if (smtpList.count()==0) 178 if (smtpList.count()==0)
178 { 179 {
179 QMessageBox::information(0,tr("Info"),tr("Define a smtp account first!\n")); 180 QMessageBox::information(0,i18n("Info"),i18n("Define a smtp account first!\n"));
180 return; 181 return;
181 } 182 }
182 if (smtpList.count()==1) 183 if (smtpList.count()==1)
183 { 184 {
184 smtp = smtpList.at(0); 185 smtp = smtpList.at(0);
185 } 186 }
186 else 187 else
187 { 188 {
188 smtp = 0; 189 smtp = 0;
189 selectsmtp selsmtp; 190 selectsmtp selsmtp;
190 selsmtp.setSelectionlist(&smtpList); 191 selsmtp.setSelectionlist(&smtpList);
191 selsmtp.showMaximized(); 192 selsmtp.showMaximized();
192 if ( selsmtp.exec() == QDialog::Accepted ) 193 if ( selsmtp.exec() == QDialog::Accepted )
193 { 194 {
194 smtp = selsmtp.selected_smtp(); 195 smtp = selsmtp.selected_smtp();
195 } 196 }
196 } 197 }
197 if (smtp) 198 if (smtp)
198 { 199 {
199 SMTPwrapper * wrap = new SMTPwrapper(smtp); 200 SMTPwrapper * wrap = new SMTPwrapper(smtp);
200 if ( wrap->flushOutbox() ) 201 if ( wrap->flushOutbox() )
201 { 202 {
202 QMessageBox::information(0,tr("Info"),tr("Mail queue flushed")); 203 QMessageBox::information(0,i18n("Info"),i18n("Mail queue flushed"));
203 } 204 }
204 delete wrap; 205 delete wrap;
205 } 206 }
206} 207}
207 208
208void OpieMail::slotSearchMails() 209void OpieMail::slotSearchMails()
209{ 210{
210 qDebug("OpieMail::slotSearchMails():not implemented "); 211 qDebug("OpieMail::slotSearchMails():not implemented ");
211} 212}
212 213
213void OpieMail::slotEditSettings() 214void OpieMail::slotEditSettings()
214{ 215{
215#if 0 216#if 0
216 SettingsDialog settingsDialog( this, 0, true, WStyle_ContextHelp ); 217 SettingsDialog settingsDialog( this, 0, true, WStyle_ContextHelp );
217 settingsDialog.showMaximized(); 218 settingsDialog.showMaximized();
218 settingsDialog.exec(); 219 settingsDialog.exec();
219#endif 220#endif
220 KOPrefsDialog settingsDialog( this, "koprefs", true ); 221 KOPrefsDialog settingsDialog( this, "koprefs", true );
221 settingsDialog.showMaximized(); 222 settingsDialog.showMaximized();
222 settingsDialog.exec(); 223 settingsDialog.exec();
223} 224}
224 225
225void OpieMail::slotEditAccounts() 226void OpieMail::slotEditAccounts()
226{ 227{
227 EditAccounts eaDialog( settings, this, 0, true ); 228 EditAccounts eaDialog( settings, this, 0, true );
228 eaDialog.slotAdjustColumns(); 229 eaDialog.slotAdjustColumns();
229 eaDialog.showMaximized(); 230 eaDialog.showMaximized();
230 eaDialog.exec(); 231 eaDialog.exec();
231 if ( settings ) delete settings; 232 if ( settings ) delete settings;
232 settings = new Settings(); 233 settings = new Settings();
233 234
234 folderView->populate( settings->getAccounts() ); 235 folderView->populate( settings->getAccounts() );
235} 236}
236 237
237void OpieMail::displayMail() 238void OpieMail::displayMail()
238{ 239{
239 QListViewItem*item = mailView->currentItem(); 240 QListViewItem*item = mailView->currentItem();
240 if (!item) return; 241 if (!item) return;
241 RecMailP mail = ((MailListViewItem*)item)->data(); 242 RecMailP mail = ((MailListViewItem*)item)->data();
242 RecBodyP body = folderView->fetchBody(mail); 243 RecBodyP body = folderView->fetchBody(mail);
243 ViewMail readMail( this,"", Qt::WType_Modal ); 244 ViewMail readMail( this,"", Qt::WType_Modal );
244 readMail.setBody( body ); 245 readMail.setBody( body );
245 readMail.setMail( mail ); 246 readMail.setMail( mail );
246 readMail.showMaximized(); 247 readMail.showMaximized();
247 readMail.exec(); 248 readMail.exec();
248 249
249 if ( readMail.deleted ) 250 if ( readMail.deleted )
250 { 251 {
251 folderView->refreshCurrent(); 252 folderView->refreshCurrent();
252 } 253 }
253 else 254 else
254 { 255 {
255 ( (MailListViewItem*)item )->setPixmap( 0, QPixmap() ); 256 ( (MailListViewItem*)item )->setPixmap( 0, QPixmap() );
256 } 257 }
257} 258}
258void OpieMail::slotGetAllMail() 259void OpieMail::slotGetAllMail()
259{ 260{
260 QListViewItem * item = folderView->firstChild(); 261 QListViewItem * item = folderView->firstChild();
261 while ( item ){ 262 while ( item ){
262 ((AccountViewItem *)item)->contextMenuSelected( 101 ); 263 ((AccountViewItem *)item)->contextMenuSelected( 101 );
263 item = item->nextSibling (); 264 item = item->nextSibling ();
264 } 265 }
265} 266}
266void OpieMail::slotGetMail() 267void OpieMail::slotGetMail()
267{ 268{
268 QListViewItem * item = folderView->currentItem(); 269 QListViewItem * item = folderView->currentItem();
269 if ( ! item ) return; 270 if ( ! item ) return;
270 ((AccountViewItem *)item)->contextMenuSelected( 101 ); 271 ((AccountViewItem *)item)->contextMenuSelected( 101 );
271} 272}
272void OpieMail::slotDeleteMail() 273void OpieMail::slotDeleteMail()
273{ 274{
274 if (!mailView->currentItem()) return; 275 if (!mailView->currentItem()) return;
275 RecMailP mail = ((MailListViewItem*)mailView->currentItem() )->data(); 276 RecMailP mail = ((MailListViewItem*)mailView->currentItem() )->data();
276 if ( QMessageBox::warning(this, tr("Delete Mail"), QString( tr("<p>Do you really want to delete this mail? <br><br>" ) + mail->getFrom() + " - " + mail->getSubject() ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes ) 277 if ( QMessageBox::warning(this, i18n("Delete Mail"), QString( i18n("<p>Do you really want to delete this mail? <br><br>" ) + mail->getFrom() + " - " + mail->getSubject() ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes )
277 { 278 {
278 mail->Wrapper()->deleteMail( mail ); 279 mail->Wrapper()->deleteMail( mail );
279 folderView->refreshCurrent(); 280 folderView->refreshCurrent();
280 } 281 }
281} 282}
282void OpieMail::slotDeleteAllMail() 283void OpieMail::slotDeleteAllMail()
283{ 284{
284 285
285 QValueList<RecMailP> t; 286 QValueList<RecMailP> t;
286 if ( QMessageBox::warning(this, tr("Delete All Mails"), tr("Do you really want to delete\nall selected mails?" ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes ) 287 if ( QMessageBox::warning(this, i18n("Delete All Mails"), i18n("Do you really want to delete\nall selected mails?" ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes )
287 { 288 {
288 MailListViewItem* item = (MailListViewItem*)mailView->firstChild (); 289 MailListViewItem* item = (MailListViewItem*)mailView->firstChild ();
289 while ( item ) { 290 while ( item ) {
290 if ( item->isSelected() ) { 291 if ( item->isSelected() ) {
291 t.append( item->data() ); 292 t.append( item->data() );
292 } 293 }
293 item = (MailListViewItem*)item->nextSibling(); 294 item = (MailListViewItem*)item->nextSibling();
294 } 295 }
295 } 296 }
296 else 297 else
297 return; 298 return;
298 if ( t.count() == 0 ) 299 if ( t.count() == 0 )
299 return; 300 return;
300 RecMailP mail = t.first(); 301 RecMailP mail = t.first();
301 mail->Wrapper()->deleteMailList(t); 302 mail->Wrapper()->deleteMailList(t);
302 folderView->refreshCurrent(); 303 folderView->refreshCurrent();
303 304
304 305
305} 306}
306void OpieMail::clearSelection() 307void OpieMail::clearSelection()
307{ 308{
308 mailView->clearSelection(); 309 mailView->clearSelection();
309 310
310} 311}
311 312
312void OpieMail::mailHold(int button, QListViewItem *item,const QPoint&,int ) 313void OpieMail::mailHold(int button, QListViewItem *item,const QPoint&,int )
313{ 314{
314 if (!mailView->currentItem()) return; 315 if (!mailView->currentItem()) return;
315 MAILLIB::ATYPE mailtype = ((MailListViewItem*)mailView->currentItem() )->wrapperType(); 316 MAILLIB::ATYPE mailtype = ((MailListViewItem*)mailView->currentItem() )->wrapperType();
316 /* just the RIGHT button - or hold on pda */ 317 /* just the RIGHT button - or hold on pda */
317 if (button!=2) {return;} 318 if (button!=2) {return;}
318 if (!item) return; 319 if (!item) return;
319 QPopupMenu *m = new QPopupMenu(0); 320 QPopupMenu *m = new QPopupMenu(0);
320 if (m) 321 if (m)
321 { 322 {
322 if (mailtype==MAILLIB::A_NNTP) { 323 if (mailtype==MAILLIB::A_NNTP) {
323 m->insertItem(tr("Read this posting"),this,SLOT(displayMail())); 324 m->insertItem(i18n("Read this posting"),this,SLOT(displayMail()));
324 m->insertItem(tr("Copy this posting"),this,SLOT(slotMoveCopyMail())); 325 m->insertItem(i18n("Copy this posting"),this,SLOT(slotMoveCopyMail()));
325 m->insertSeparator(); 326 m->insertSeparator();
326 m->insertItem(tr("Copy all selected postings"),this,SLOT(slotMoveCopyAllMail())); 327 m->insertItem(i18n("Copy all selected postings"),this,SLOT(slotMoveCopyAllMail()));
327 m->insertItem(tr("Clear selection"),this,SLOT(clearSelection())); 328 m->insertItem(i18n("Clear selection"),this,SLOT(clearSelection()));
328 } else { 329 } else {
329 if (folderView->currentisDraft()) { 330 if (folderView->currentisDraft()) {
330 m->insertItem(tr("Edit this mail"),this,SLOT(reEditMail())); 331 m->insertItem(i18n("Edit this mail"),this,SLOT(reEditMail()));
331 } 332 }
332 m->insertItem(tr("Read this mail"),this,SLOT(displayMail())); 333 m->insertItem(i18n("Read this mail"),this,SLOT(displayMail()));
333 m->insertItem(tr("Move/Copy this mail"),this,SLOT(slotMoveCopyMail())); 334 m->insertItem(i18n("Move/Copy this mail"),this,SLOT(slotMoveCopyMail()));
334 m->insertItem(tr("Delete this mail"),this,SLOT(slotDeleteMail())); 335 m->insertItem(i18n("Delete this mail"),this,SLOT(slotDeleteMail()));
335 m->insertSeparator(); 336 m->insertSeparator();
336 m->insertItem(tr("Move/Copy all selected mail"),this,SLOT(slotMoveCopyAllMail())); 337 m->insertItem(i18n("Move/Copy all selected mail"),this,SLOT(slotMoveCopyAllMail()));
337 m->insertItem(tr("Delete all selected mails"),this,SLOT(slotDeleteAllMail())); 338 m->insertItem(i18n("Delete all selected mails"),this,SLOT(slotDeleteAllMail()));
338 m->insertItem(tr("Clear selection"),this,SLOT(clearSelection())); 339 m->insertItem(i18n("Clear selection"),this,SLOT(clearSelection()));
339 } 340 }
340 m->setFocus(); 341 m->setFocus();
341 m->exec( QPoint( QCursor::pos().x(), QCursor::pos().y()) ); 342 m->exec( QPoint( QCursor::pos().x(), QCursor::pos().y()) );
342 delete m; 343 delete m;
343 } 344 }
344} 345}
345 346
346void OpieMail::slotShowFolders( bool show ) 347void OpieMail::slotShowFolders( bool show )
347{ 348{
348 if ( show && folderView->isHidden() ) 349 if ( show && folderView->isHidden() )
349 { 350 {
350 folderView->show(); 351 folderView->show();
351 } 352 }
352 else if ( !show && !folderView->isHidden() ) 353 else if ( !show && !folderView->isHidden() )
353 { 354 {
354 folderView->hide(); 355 folderView->hide();
355 } 356 }
356} 357}
357 358
358void OpieMail::refreshMailView(const QValueList<RecMailP>&list) 359void OpieMail::refreshMailView(const QValueList<RecMailP>&list)
359{ 360{
360 MailListViewItem*item = 0; 361 MailListViewItem*item = 0;
361 mailView->clear(); 362 mailView->clear();
362 363
363 QValueList<RecMailP>::ConstIterator it; 364 QValueList<RecMailP>::ConstIterator it;
364 for (it = list.begin(); it != list.end();++it) 365 for (it = list.begin(); it != list.end();++it)
365 { 366 {
366 item = new MailListViewItem(mailView,item); 367 item = new MailListViewItem(mailView,item);
367 item->storeData((*it)); 368 item->storeData((*it));
368 item->showEntry(); 369 item->showEntry();
369 } 370 }
370} 371}
371 372
372void OpieMail::mailLeftClicked( QListViewItem *item ) 373void OpieMail::mailLeftClicked( QListViewItem *item )
373{ 374{
374 mailView->clearSelection(); 375 mailView->clearSelection();
375 /* just LEFT button - or tap with stylus on pda */ 376 /* just LEFT button - or tap with stylus on pda */
376 //if (button!=1) return; 377 //if (button!=1) return;
377 if (!item) return; 378 if (!item) return;
378 if (folderView->currentisDraft()) { 379 if (folderView->currentisDraft()) {
379 reEditMail(); 380 reEditMail();
380 } else { 381 } else {
381 displayMail(); 382 displayMail();
382 } 383 }
383} 384}
384 385
385void OpieMail::slotMoveCopyMail() 386void OpieMail::slotMoveCopyMail()
386{ 387{
387 if (!mailView->currentItem()) return; 388 if (!mailView->currentItem()) return;
388 RecMailP mail = ((MailListViewItem*)mailView->currentItem() )->data(); 389 RecMailP mail = ((MailListViewItem*)mailView->currentItem() )->data();
389 AbstractMail*targetMail = 0; 390 AbstractMail*targetMail = 0;
390 QString targetFolder = ""; 391 QString targetFolder = "";
391 Selectstore sels; 392 Selectstore sels;
392 folderView->setupFolderselect(&sels); 393 folderView->setupFolderselect(&sels);
393 if (!sels.exec()) return; 394 if (!sels.exec()) return;
394 targetMail = sels.currentMail(); 395 targetMail = sels.currentMail();
395 targetFolder = sels.currentFolder(); 396 targetFolder = sels.currentFolder();
396 if ( (mail->Wrapper()==targetMail && mail->getMbox()==targetFolder) || 397 if ( (mail->Wrapper()==targetMail && mail->getMbox()==targetFolder) ||
397 targetFolder.isEmpty()) 398 targetFolder.isEmpty())
398 { 399 {
399 return; 400 return;
400 } 401 }
401 if (sels.newFolder() && !targetMail->createMbox(targetFolder)) 402 if (sels.newFolder() && !targetMail->createMbox(targetFolder))
402 { 403 {
403 QMessageBox::critical(0,tr("Error creating new Folder"), 404 QMessageBox::critical(0,i18n("Error creating new Folder"),
404 tr("<center>Error while creating<br>new folder - breaking.</center>")); 405 i18n("<center>Error while creating<br>new folder - breaking.</center>"));
405 return; 406 return;
406 } 407 }
407 sels.hide(); 408 sels.hide();
408 qApp->processEvents(); 409 qApp->processEvents();
409 // qDebug("hiding sels "); 410 // qDebug("hiding sels ");
410 mail->Wrapper()->mvcpMail(mail,targetFolder,targetMail,sels.moveMails()); 411 mail->Wrapper()->mvcpMail(mail,targetFolder,targetMail,sels.moveMails());
411 folderView->refreshCurrent(); 412 folderView->refreshCurrent();
412} 413}
413 414
414void OpieMail::slotMoveCopyAllMail() 415void OpieMail::slotMoveCopyAllMail()
415{ 416{
416 417
417 if (!mailView->currentItem()) return; 418 if (!mailView->currentItem()) return;
418 QValueList<RecMailP> t; 419 QValueList<RecMailP> t;
419 // if ( QMessageBox::warning(this, tr("Move/Copy all selected mails"), tr("Do you really want to copy/move\nall selected mails?" ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes ) 420 // if ( QMessageBox::warning(this, i18n("Move/Copy all selected mails"), i18n("Do you really want to copy/move\nall selected mails?" ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes )
420 { 421 {
421 MailListViewItem* item = (MailListViewItem*)mailView->firstChild (); 422 MailListViewItem* item = (MailListViewItem*)mailView->firstChild ();
422 while ( item ) { 423 while ( item ) {
423 if ( item->isSelected() ) { 424 if ( item->isSelected() ) {
424 t.append( item->data() ); 425 t.append( item->data() );
425 } 426 }
426 item = (MailListViewItem*)item->nextSibling(); 427 item = (MailListViewItem*)item->nextSibling();
427 } 428 }
428 } 429 }
429 // else 430 // else
430 // return; 431 // return;
431 if ( t.count() == 0 ) 432 if ( t.count() == 0 )
432 return; 433 return;
433 RecMailP mail = t.first(); 434 RecMailP mail = t.first();
434 AbstractMail*targetMail = 0; 435 AbstractMail*targetMail = 0;
435 QString targetFolder = ""; 436 QString targetFolder = "";
436 Selectstore sels; 437 Selectstore sels;
437 folderView->setupFolderselect(&sels); 438 folderView->setupFolderselect(&sels);
438 if (!sels.exec()) return; 439 if (!sels.exec()) return;
439 targetMail = sels.currentMail(); 440 targetMail = sels.currentMail();
440 targetFolder = sels.currentFolder(); 441 targetFolder = sels.currentFolder();
441 if ( (mail->Wrapper()==targetMail && mail->getMbox()==targetFolder) || 442 if ( (mail->Wrapper()==targetMail && mail->getMbox()==targetFolder) ||
442 targetFolder.isEmpty()) 443 targetFolder.isEmpty())
443 { 444 {
444 return; 445 return;
445 } 446 }
446 if (sels.newFolder() && !targetMail->createMbox(targetFolder)) 447 if (sels.newFolder() && !targetMail->createMbox(targetFolder))
447 { 448 {
448 QMessageBox::critical(0,tr("Error creating new Folder"), 449 QMessageBox::critical(0,i18n("Error creating new Folder"),
449 tr("<center>Error while creating<br>new folder - breaking.</center>")); 450 i18n("<center>Error while creating<br>new folder - breaking.</center>"));
450 return; 451 return;
451 } 452 }
452 sels.hide(); 453 sels.hide();
453 qApp->processEvents(); 454 qApp->processEvents();
454 //qDebug("hiding sels "); 455 //qDebug("hiding sels ");
455 mail->Wrapper()->mvcpMailList(t,targetFolder,targetMail,sels.moveMails()); 456 mail->Wrapper()->mvcpMailList(t,targetFolder,targetMail,sels.moveMails());
456 folderView->refreshCurrent(); 457 folderView->refreshCurrent();
457} 458}
458 459
459void OpieMail::reEditMail() 460void OpieMail::reEditMail()
460{ 461{
461 if (!mailView->currentItem()) return; 462 if (!mailView->currentItem()) return;
462 463
463 ComposeMail compose( settings, this, 0, true ); 464 ComposeMail compose( settings, this, 0, true );
464 compose.reEditMail(((MailListViewItem*)mailView->currentItem() )->data()); 465 compose.reEditMail(((MailListViewItem*)mailView->currentItem() )->data());
465 compose.slotAdjustColumns(); 466 compose.slotAdjustColumns();
466 compose.showMaximized(); 467 compose.showMaximized();
467 compose.exec(); 468 compose.exec();
468} 469}
diff --git a/korganizer/main.cpp b/korganizer/main.cpp
index ca53828..4194d12 100644
--- a/korganizer/main.cpp
+++ b/korganizer/main.cpp
@@ -1,106 +1,106 @@
1 1
2 2
3#ifndef DESKTOP_VERSION 3#ifndef DESKTOP_VERSION
4#include <qpe/qpeapplication.h> 4#include <qpe/qpeapplication.h>
5#include <qcopchannel_qws.h> 5#include <qcopchannel_qws.h>
6#include <qpe/global.h> 6#include <qpe/global.h>
7#include <stdlib.h> 7#include <stdlib.h>
8#else 8#else
9#include <qapplication.h> 9#include <qapplication.h>
10#include <qstring.h> 10#include <qstring.h>
11#include <qwindowsstyle.h> 11#include <qwindowsstyle.h>
12#include <qplatinumstyle.h> 12#include <qplatinumstyle.h>
13#include <qsgistyle.h> 13#include <qsgistyle.h>
14#endif 14#endif
15#include <qtextcodec.h> 15#include <qtextcodec.h>
16 16
17#include <qdir.h> 17#include <qdir.h>
18#include <kstandarddirs.h> 18#include <kstandarddirs.h>
19#include <kglobal.h> 19#include <kglobal.h>
20#include <stdio.h> 20#include <stdio.h>
21#include "mainwindow.h" 21#include "mainwindow.h"
22 22void dumpMissing();
23int main( int argc, char **argv ) 23int main( int argc, char **argv )
24{ 24{
25#ifndef DESKTOP_VERSION 25#ifndef DESKTOP_VERSION
26 QPEApplication a( argc, argv ); 26 QPEApplication a( argc, argv );
27 a.setKeepRunning (); 27 a.setKeepRunning ();
28#else 28#else
29 QApplication a( argc, argv ); 29 QApplication a( argc, argv );
30 QApplication::setStyle( new QPlatinumStyle ()); 30 QApplication::setStyle( new QPlatinumStyle ());
31 QString hdir = QDir::homeDirPath(); 31 QString hdir = QDir::homeDirPath();
32 // there is a bug when creating dirs for WIN 98 32 // there is a bug when creating dirs for WIN 98
33 // it is difficult to fix, because we have no WIN 98 runnung 33 // it is difficult to fix, because we have no WIN 98 runnung
34 // such that we try it to create the dirs at startup here 34 // such that we try it to create the dirs at startup here
35 if ( hdir == "C:\\" ) { // win 98 or ME 35 if ( hdir == "C:\\" ) { // win 98 or ME
36 QDir app_dir; 36 QDir app_dir;
37 if ( !app_dir.exists("C:\\kdepim") ) 37 if ( !app_dir.exists("C:\\kdepim") )
38 app_dir.mkdir ("C:\\kdepim"); 38 app_dir.mkdir ("C:\\kdepim");
39 if ( !app_dir.exists("C:\\kdepim\\apps") ) 39 if ( !app_dir.exists("C:\\kdepim\\apps") )
40 app_dir.mkdir ("C:\\kdepim\\apps"); 40 app_dir.mkdir ("C:\\kdepim\\apps");
41 if ( !app_dir.exists("C:\\kdepim\\config") ) 41 if ( !app_dir.exists("C:\\kdepim\\config") )
42 app_dir.mkdir ("C:\\kdepim\\config"); 42 app_dir.mkdir ("C:\\kdepim\\config");
43 if ( !app_dir.exists("C:\\kdepim\\apps\\korganizer") ) 43 if ( !app_dir.exists("C:\\kdepim\\apps\\korganizer") )
44 app_dir.mkdir ("C:\\kdepim\\apps\\korganizer"); 44 app_dir.mkdir ("C:\\kdepim\\apps\\korganizer");
45 } 45 }
46#endif 46#endif
47 bool exitHelp = false; 47 bool exitHelp = false;
48 if ( argc > 1 ) { 48 if ( argc > 1 ) {
49 QString command = argv[1]; 49 QString command = argv[1];
50 if ( command == "-help" ){ 50 if ( command == "-help" ){
51 printf("KO/Pi command line commands:\n"); 51 printf("KO/Pi command line commands:\n");
52 printf(" no command: Start KO/Pi in usual way\n"); 52 printf(" no command: Start KO/Pi in usual way\n");
53 printf(" -help: This output\n"); 53 printf(" -help: This output\n");
54 printf("Next Option: Open or Show after start:\n"); 54 printf("Next Option: Open or Show after start:\n");
55 printf(" -newTodo: New Todo dialog\n"); 55 printf(" -newTodo: New Todo dialog\n");
56 printf(" -newEvent: New Event dialog\n"); 56 printf(" -newEvent: New Event dialog\n");
57 printf(" -showList: List view\n"); 57 printf(" -showList: List view\n");
58 printf(" -showDay: Day view\n"); 58 printf(" -showDay: Day view\n");
59 printf(" -showWWeek: Work Week view\n"); 59 printf(" -showWWeek: Work Week view\n");
60 printf(" -showWeek: Week view\n"); 60 printf(" -showWeek: Week view\n");
61 printf(" -showTodo: Todo view\n"); 61 printf(" -showTodo: Todo view\n");
62 printf(" -showJournal: Journal view\n"); 62 printf(" -showJournal: Journal view\n");
63 printf(" -showKO: Next Days view\n"); 63 printf(" -showKO: Next Days view\n");
64 printf(" -showWNext: What's Next view\n"); 64 printf(" -showWNext: What's Next view\n");
65 printf(" -showNextXView: Next X View\n"); 65 printf(" -showNextXView: Next X View\n");
66 printf(" -new[Y] and -show[X] may be used togehther\n"); 66 printf(" -new[Y] and -show[X] may be used togehther\n");
67 printf(" KO/Pi is exiting now. Bye!\n"); 67 printf(" KO/Pi is exiting now. Bye!\n");
68 exitHelp = true; 68 exitHelp = true;
69 } 69 }
70 } 70 }
71 if ( ! exitHelp ) { 71 if ( ! exitHelp ) {
72 KGlobal::setAppName( "korganizer" ); 72 KGlobal::setAppName( "korganizer" );
73 QString fileName ; 73 QString fileName ;
74#ifndef DESKTOP_VERSION 74#ifndef DESKTOP_VERSION
75 fileName = getenv("QPEDIR"); 75 fileName = getenv("QPEDIR");
76 KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/korganizer/"); 76 KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/korganizer/");
77#else 77#else
78 fileName = qApp->applicationDirPath () + "/kdepim/korganizer/"; 78 fileName = qApp->applicationDirPath () + "/kdepim/korganizer/";
79 KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName)); 79 KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName));
80#endif 80#endif
81 KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "korganizer"))); 81 KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "korganizer")));
82 MainWindow m; 82 MainWindow m;
83#ifndef DESKTOP_VERSION 83#ifndef DESKTOP_VERSION
84 84
85 QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&m, SLOT(recieve( const QCString&, const QByteArray& ))); 85 QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&m, SLOT(recieve( const QCString&, const QByteArray& )));
86 a.showMainWidget(&m ); 86 a.showMainWidget(&m );
87#else 87#else
88 a.setMainWidget(&m ); 88 a.setMainWidget(&m );
89 m.show(); 89 m.show();
90 //m.resize( 800, 600 ); 90 //m.resize( 800, 600 );
91 QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); 91 QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
92#endif 92#endif
93 if ( argc > 1 ) { 93 if ( argc > 1 ) {
94 QCString command = argv[1]; 94 QCString command = argv[1];
95 if ( argc > 2 ) 95 if ( argc > 2 )
96 command += argv[2]; 96 command += argv[2];
97 qApp->processEvents(); 97 qApp->processEvents();
98 m.recieve(command, QByteArray() ); 98 m.recieve(command, QByteArray() );
99 99
100 } 100 }
101 101
102 a.exec(); 102 a.exec();
103 103 dumpMissing();
104 } 104 }
105 qDebug("KO: Bye! "); 105 qDebug("KO: Bye! ");
106} 106}
diff --git a/korganizer/wordsgerman.h b/korganizer/wordsgerman.h
index 6fd347c..02df615 100644
--- a/korganizer/wordsgerman.h
+++ b/korganizer/wordsgerman.h
@@ -1,49 +1,49 @@
1{ "10 minutes","10 Minuten", }, 1{ "10 minutes","10 Minuten" },
2{ "10th","10." }, 2{ "10th","10." },
3{ "11th","11." }, 3{ "11th","11." },
4{ "12 pm Format","12 AM/PM Format" }, 4{ "12 pm Format","12 AM/PM Format" },
5{ "12th","12." }, 5{ "12th","12." },
6{ "13th","13." }, 6{ "13th","13." },
7{ "14th","14." }, 7{ "14th","14." },
8{ "15th","15." }, 8{ "15th","15." },
9{ "16th","16." }, 9{ "16th","16." },
10{ "17th","17." }, 10{ "17th","17." },
11{ "18th","18." }, 11{ "18th","18." },
12{ "19th","19." }, 12{ "19th","19." },
13{ "1 Day","1 Tag" }, 13{ "1 Day","1 Tag" },
14{ "1 h","1 Std" }, 14{ "1 h","1 Std" },
15{ "1 (high)","1 (hoch)" }, 15{ "1 (high)","1 (hoch)" },
16{ "5 (low)","5" }, 16{ "5 (low)","5" },
17{ "1st","1." }, 17{ "1st","1." },
18{ "20th","20." }, 18{ "20th","20." },
19{ "21st","21." }, 19{ "21st","21." },
20{ "22nd","22." }, 20{ "22nd","22." },
21{ "23rd","23." }, 21{ "23rd","23." },
22{ "24:00 Hour Format","24:00 Stunden Format" }, 22{ "24:00 Hour Format","24:00 Stunden Format" },
23{ "24th","24." }, 23{ "24th","24." },
24{ "25th","25." }, 24{ "25th","25." },
25{ "26th","26." }, 25{ "26th","26." },
26{ "27th","27." }, 26{ "27th","27." },
27{ "28th","28." }, 27{ "28th","28." },
28{ "29th","29." }, 28{ "29th","29." },
29{ "2nd","2." }, 29{ "2nd","2." },
30{ "30 minutes","30 Minuten" }, 30{ "30 minutes","30 Minuten" },
31{ "30th","30." }, 31{ "30th","30." },
32{ "31st","31." }, 32{ "31st","31." },
33{ "3rd","3." }, 33{ "3rd","3." },
34{ "4th","4." }, 34{ "4th","4." },
35{ "5 (lowest)","5 (Niedrigster)" }, 35{ "5 (lowest)","5 (Niedrigster)" },
36{ "5th","5." }, 36{ "5th","5." },
37{ "6th","6." }, 37{ "6th","6." },
38{ "7th","7." }, 38{ "7th","7." },
39{ "8th","8." }, 39{ "8th","8." },
40{ "9th","9." }, 40{ "9th","9." },
41{ "About...","Über..." }, 41{ "About...","Über..." },
42{ "&Accept","&Akzeptieren" }, 42{ "&Accept","&Akzeptieren" },
43{ "Accept","Akzeptieren" }, 43{ "Accept","Akzeptieren" },
44{ "Accept A&ll","A&lles Akzepieren" }, 44{ "Accept A&ll","A&lles Akzepieren" },
45{ "Access:","Zugriff:" }, 45{ "Access:","Zugriff:" },
46{ "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" }, 46{ "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" },
47{ "Actions","Aktionen" }, 47{ "Actions","Aktionen" },
48{ "Add Filter","Filter Hinzufügen" }, 48{ "Add Filter","Filter Hinzufügen" },
49{ "&Add","Hinzufügen" }, 49{ "&Add","Hinzufügen" },
@@ -790,55 +790,298 @@
790{ "Load backup filename","Lade Backup Dateiname" }, 790{ "Load backup filename","Lade Backup Dateiname" },
791{ "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" }, 791{ "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" },
792{ "KO/Pi:Loaded %1","KO/Pi:Geladen %1" }, 792{ "KO/Pi:Loaded %1","KO/Pi:Geladen %1" },
793{ "Save backup filename","Speichere Backup Dateiname" }, 793{ "Save backup filename","Speichere Backup Dateiname" },
794{ "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" }, 794{ "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" },
795{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, 795{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" },
796{ "Details of attendee","Teilnehmerdetails" }, 796{ "Details of attendee","Teilnehmerdetails" },
797{ "Work phone:\n","Telefon Arbeit:\n" }, 797{ "Work phone:\n","Telefon Arbeit:\n" },
798{ "Work mobile phone:\n","Mobiltelefon Arbeit:\n" }, 798{ "Work mobile phone:\n","Mobiltelefon Arbeit:\n" },
799{ "Home phone:\n","Telefon privat:\n" }, 799{ "Home phone:\n","Telefon privat:\n" },
800{ "Mobile home phone:\n","Mobiltelefon privat:\n" }, 800{ "Mobile home phone:\n","Mobiltelefon privat:\n" },
801{ "Email:\n","Email:\n" }, 801{ "Email:\n","Email:\n" },
802{ "Alarm disabled","Alarm deaktiviert" }, 802{ "Alarm disabled","Alarm deaktiviert" },
803{ "Audio.Al.: ","Audio Al.: " }, 803{ "Audio.Al.: ","Audio Al.: " },
804{ "Proc.Al.: ","Proc.Al.: " }, 804{ "Proc.Al.: ","Proc.Al.: " },
805{ "No sound set","Kein Sound definiert" }, 805{ "No sound set","Kein Sound definiert" },
806{ "*.wav|Wav Files","*.wav|Wav Dateien" }, 806{ "*.wav|Wav Files","*.wav|Wav Dateien" },
807{ "No program set","Kein Programm definiert" }, 807{ "No program set","Kein Programm definiert" },
808{ "Running '%1'","Ausführen '%1'" }, 808{ "Running '%1'","Ausführen '%1'" },
809{ "Playing '%1'","Abspielen '%1'" }, 809{ "Playing '%1'","Abspielen '%1'" },
810{ "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" }, 810{ "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" },
811{ "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" }, 811{ "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" },
812{ "Load!","Laden!" }, 812{ "Load!","Laden!" },
813{ "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" }, 813{ "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" },
814{ "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" }, 814{ "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" },
815{ "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" }, 815{ "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" },
816{ "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" }, 816{ "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" },
817{ "Features + hints...","Eigenschaften + Tipps..." }, 817{ "Features + hints...","Eigenschaften + Tipps..." },
818{ "User translation...","Benutzer Übersetzung..." }, 818{ "User translation...","Benutzer Übersetzung..." },
819{ "Sync HowTo...","Synchronisation HowTo..." }, 819{ "Sync HowTo...","Synchronisation HowTo..." },
820{ "Print calendar...","Drucke Kalender..." }, 820{ "Print calendar...","Drucke Kalender..." },
821{ "Anniversary","Jahrestag" }, 821{ "Anniversary","Jahrestag" },
822{ "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" }, 822{ "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" },
823{ "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" }, 823{ "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" },
824{ "Next recurrence is on: ","Nächste Wiederholung ist am:" }, 824{ "Next recurrence is on: ","Nächste Wiederholung ist am:" },
825{ "<b>Alarm on: </b>","<b>Alarm am: </b>" }, 825{ "<b>Alarm on: </b>","<b>Alarm am: </b>" },
826{ "<b>Access: </b>","<b>Zugriff: </b>" }, 826{ "<b>Access: </b>","<b>Zugriff: </b>" },
827{ "(%1 min before)","(%1 min vorher)" }, 827{ "(%1 min before)","(%1 min vorher)" },
828{ "<b>Categories: </b>","<b>Kategorien: </b>" }, 828{ "<b>Categories: </b>","<b>Kategorien: </b>" },
829{ "Save Journal/Description...","Speichere Journal/Details..." }, 829{ "Save Journal/Description...","Speichere Journal/Details..." },
830{ "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." }, 830{ "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." },
831{ "Continue","Weitermachen" }, 831{ "Continue","Weitermachen" },
832{ " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" }, 832{ " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" },
833{ "Attendee:","Teilnehmer:" }, 833{ "Attendee:","Teilnehmer:" },
834{ "Click OK to search ->","Klicke zum Suchen auf OK ->" }, 834{ "Click OK to search ->","Klicke zum Suchen auf OK ->" },
835{ "On day ","Am Tag " }, 835{ "On day ","Am Tag " },
836{ "%1 of ","%1 des Monats" }, 836{ "%1 of ","%1 des Monats" },
837{ "%1 of the year","%1 des Jahres" }, 837{ "%1 of the year","%1 des Jahres" },
838{ "Anonymous","Anonymo" },
839{ "nobody@nowhere","niemand@nirgendwo" },
840{ "calendar.html","calendar.html" },
841{ "+01:00 Europe/Oslo(CET)","+01:00 Europa/Oslo(CET)" },
842{ " Local Time"," Locale Zeit" },
843{ "+12:00 Asia/Kamchatka","+12:00 Asien/Kamchatka" },
844{ "+11:00 Asia/Magadan","+11:00 Asien/Magadan" },
845{ "+10:00 Asia/Vladivostok","+10:00 Asien/Vladivostok" },
846{ "+09:00 Asia/Tokyo","+09:00 Asien/Tokyo" },
847{ "+08:00 Asia/Hongkong","+08:00 Asien/Hongkong" },
848{ "+07:00 Asia/Bangkok","+07:00 Asien/Bangkok" },
849{ "+06:00 Indian/Chagos","+06:00 Indien/Chagos" },
850{ "+05:00 Indian/Maldives","+05:00 Indien/Maldiven" },
851{ "+04:00 Indian/Mauritius","+04:00 Indien/Mauritius" },
852{ "+03:00 Europe/Moscow","+03:00 Europa/Moskau" },
853{ "+02:00 Europe/Helsinki","+02:00 Europa/Helsinki" },
854{ " 00:00 Europe/London(UTC)"," 00:00 Europa/London(UTC)" },
855{ "-01:00 Atlantic/Azores","-01:00 Atlantik/Azoren" },
856{ "-02:00 Brazil/DeNoronha","-02:00 Brasilien/DeNoronha" },
857{ "-03:00 Brazil/East","-03:00 Brasilien/Ost" },
858{ "-04:00 Brazil/West","-04:00 Brasilien/West" },
859{ "-05:00 US/Eastern","-05:00 US/Eastern" },
860{ "-06:00 US/Central","-06:00 US/Central" },
861{ "-07:00 US/Mountain","-07:00 US/Mountain" },
862{ "-08:00 US/Pacific","-08:00 US/Pacific" },
863{ "-09:00 US/Alaska","-09:00 US/Alaska" },
864{ "-10:00 US/Hawaii","-10:00 US/Hawaii" },
865{ "-11:00 US/Samoa","-11:00 US/Samoa" },
866{ "Unknown Name","Unbekannter Name" },
867{ "unknown@nowhere","unbekannt@nirgendwo" },
868{ "Beam via IR!","Beam via IR!" },
869{ "Next Month","Nächster Monat" },
870{ "Prio","Prio" },
871{ "Reparent Todo","Mache Sub-Todo" },
872{ "tomorrow","morgen" },
873{ "today","heute" },
874{ "yesterday","gestern" },
875{ "Ok","Ok" },
876{ "Ok+Agenda","Ok+Agenda" },
877{ "Email","Email" },
878{ "RSVP","RSVP" },
879{ "Email:","Email:" },
880{ "Appointment Time ","Termin Zeit " },
881{ "2","2" },
882{ "3","3" },
883{ "4","4" },
884{ " 0 %"," 0 %" },
885{ " 20 %"," 20 %" },
886{ " 40 %"," 40 %" },
887{ " 60 %"," 60 %" },
888{ " 80 %"," 80 %" },
889{ "100 %","100 %" },
890{ "Filter","Filter" },
891{ "Configure","Konfiguriere" },
892{ "What's Next","What's Next" },
893{ "Complete calendar...","Kompletten Kalender..." },
894{ "Filtered calendar...","Gefilterten Kalender..." },
895{ "Export to phone","Exportiere zum Handy" },
896{ "Beam receice enabled","Beam Empfang an" },
897{ "What's new?","Was ist neu?" },
898{ "FAQ...","FAQ..." },
899{ "Licence...","Licence..." },
900{ "What's This?","What's This?" },
901{ "&Edit...","&Editiere..." },
902{ "Oktober","Oktober" },
903{ "Title","Titel" },
904{ "%1 %","%1 %" },
905{ "Enable Pi-Sync","Schalte Pi-Sync an" },
906{ "Import!","Importiere!" },
907{ "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" },
908{ "Export to phone options","Export ans Handy Optionen" },
909{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." },
910{ "I/O device: ","I/O device: " },
911{ "Connection: ","Connection: " },
912{ "Model(opt.): ","Model(opt.): " },
913{ "Write back events in future only","Schreibe nur zukünftige Termine zurück" },
914{ "Max. weeks in future: ","Max. Wochen in der Zukunft: " },
915{ "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nToDo/Kalender Daten auf dem Handy!" },
916{ "Export to mobile phone!","Exportiere auf das Handy!" },
917{ "Export complete calendar","Exportiere kompletten Kalender" },
918{ "Writing to phone...","Sende Daten ans Handy..." },
919{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" },
920{ "Retry","Nochmal versuchen" },
921{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" },
922{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" },
923{ "Error exporting to phone!","Fehler beim Export auf das Handy!" },
924{ "Export filtered calendar","Exportiere gefilterten Kalender" },
925{ "Preferences","Vorlieben" },
926{ "Global","Global" },
927{ "Phone","Phone" },
928{ "SMS","SMS" },
929{ "Fax","Fax" },
930{ "Pager","Pager" },
931{ "SIP","SIP" },
932{ "Italian","Italienisch" },
933{ "24:00","24:00" },
934{ "12:00am","12:00am" },
935{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" },
936{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" },
937{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" },
938{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" },
939{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" },
940{ "Add 30 min (+00:30) to selected Timezone","Addiere 30 min zur selektierten Zeitzone" },
941{ "Used Mail Client","Benutzter Mail Client" },
942{ "Channel:","Channel:" },
943{ "Message:","Message:" },
944{ "Parameters:","Parameter:" },
945{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" },
946{ "extra Message:","extra Message:" },
947{ "extra Parameters:","extra Parameter:" },
948{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" },
949{ "External Apps.","Externe Appl." },
950{ "24 hours","24 Std." },
951{ "3 hours","3 Std." },
952{ "1 hour","1 Std." },
953{ "15 minutes","15 Min." },
954{ "5 minutes","5 Min." },
955{ "1 minute","1 Min." },
956{ "23","23" },
957{ "Mon 15","Mon 15" },
958{ "Configure KO","Konfiguriere KO" },
959{ "Event text","Termin Text" },
960{ "ToDo","ToDo" },
961{ "Today","Heute" },
962{ "What's Next View","What's Next Ansicht" },
963{ "Show Sync Events in \nWhat's Next/Agenda view","Zeige Sync Termine in \nWhat's Next/Agenda view" },
964{ "Use short date in \nWhat's Next/Event view","Zeige Kurzdatum in \nWhat's Next/Event view" },
965{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" },
966{ "Alarm","Alarm" },
967{ "Used %1 Client","Benutzter %1 Client" },
968{ "No email client installed","Kein Email Klient installiert" },
969{ "Userdefined email client","Benutzerdef. Email Klient" },
970{ "OM/Pi email client","OM/Pi Email Klient" },
971{ "Include in multiple ","Beziehe in multiple " },
972{ "calendar ","Kalender " },
973{ "addressbook ","Adressbuch " },
974{ "pwmanager","PWmanager" },
975{ " sync"," Sync ein" },
976{ "Write back synced data","Schreibe gesyncte Daten zurück" },
977{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" },
978{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" },
979{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " },
980{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" },
981{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" },
982{ "Help...","Hilfe..." },
983{ "Local file Cal:","Lokale Datei Kal:" },
984{ "Local file ABook:","Lokale Datei ABuch:" },
985{ "Local file PWMgr:","Lokale Datei PWMgr:" },
986{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" },
987{ "Calendar:","Kalender:" },
988{ "AddressBook:","AdressBuch:" },
989{ "PWManager:","PWManager:" },
990{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" },
991{ "ssh/scp","ssh/scp" },
992{ "ftp","ftp" },
993{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" },
994{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" },
995{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" },
996{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" },
997{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" },
998{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" },
999{ "KDE-Pim sync config","KDE-Pim sync Konfig" },
1000{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" },
1001{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Model\nautomatisch erkannt\nwerden kann)\nOder füge Model Name ein:\n" },
1002{ "Port number (Default: %1)","Port Nummer (Default: %1)" },
1003{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" },
1004{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" },
1005{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" },
1006{ "Enter port for Pi-Sync","Gib Port für Pi-Sync ein" },
1007{ "Disable Pi-Sync","Schalte Pi-Sync ab" },
1008{ "Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!","Wollen Sie wirklich\nmit allen selektierten\nProfilen \"Multi-Syncen\"?\nDas Syncen dauert einige Zeit -\nalle Profile werden zweimal gesynct!" },
1009{ "KDE-Pim Sync","KDE-Pim Sync" },
1010{ "Multiple profiles","Multi-Sync Profile" },
1011{ "Device: ","Gerät: " },
1012{ "Multiple sync started.","Multi-Sync gestartet." },
1013{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" },
1014{ "Turn filter on","Schalte Filter an" },
1015{ "Turn filter off","Schalte Filter ab" },
1016{ "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" },
1017{ "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" },
1018{ "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" },
1019{ "<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n","<p><b>Schwarz</b>: Termin/Todo mit Teilnehmern. Sie sind der Organisator!</p>\n" },
1020{ "<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n","<p><b>Dunkelgrün</b>: Information(Beschreibung) verfügbar.([i] in WN Anzeige)</p>\n" },
1021{ "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Anzeige)</p>\n" },
1022{ "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Anzeige)</p>\n" },
1023{ "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Anzeige)</p>\n" },
1024{ "<p><b>(for square icons in agenda and month view)</b></p>\n","<p><b>(für quadratische Icons in Agenda und Monats Anzeige)</b></p>\n" },
1025{ "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" },
1026{ "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" },
1027{ "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Anzeige.</p>\n" },
1028{ "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" },
1029{ "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" },
1030{ "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" },
1031{ "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" },
1032{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" },
1033{ "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" },
1034{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" },
1035{ "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" },
1036{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Anzeige:</h3></p>\n" },
1037{ "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" },
1038{ "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" },
1039{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" },
1040{ "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" },
1041{ "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" },
1042{ "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" },
1043{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" },
1044{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Anzeige</p>\n" },
1045{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Anzeige</p>\n" },
1046{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Anzeige:</h3></p>\n" },
1047{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" },
1048{ "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" },
1049{ "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" },
1050{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" },
1051{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Anzeige</p>\n" },
1052{ "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" },
1053{ "<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X</b>: Zeige/verstecke Datenavigator</p>\n" },
1054{ "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" },
1055{ "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" },
1056{ "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monats Ansicht</p>\n" },
1057{ "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochen Ansicht | <b>U</b>: Wochen Ansicht</p>\n" },
1058{ "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" },
1059{ "<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ","<p><b>N</b>: Nächste-Tage Ansicht days view| <b>W</b>: What's next Ansicht\n " },
1060{ "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" },
1061{ "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" },
1062{ "<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n","<p><b>F</b>: Zeige/verstecke Filter Ansicht |<b>F+ctrl</b>: Editiere Filter </p>\n" },
1063{ "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" },
1064{ "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" },
1065{ "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" },
1066{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" },
1067{ "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configureable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" },
1068{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" },
1069{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" },
1070{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" },
1071{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.net\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.net\n" },
1072{ "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" },
1073{ "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" },
1074{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" },
1075{ "KO/Pi FAQ","KO/Pi FAQ" },
1076{ "(c) 2004 Lutz Rogowski\nEmail:lutz@pi-sync.net\nKO/Pi is based on KOrganizer\n(c) 2002,2003 Cornelius Schumacher\nEmail: schumacher@kde.org\nKOrganizer/Pi is licensed\nunder the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.korganizer.org\nwww.pi-sync.net\n","(c) 2004 Lutz Rogowski\nEmail:lutz@pi-sync.net\nKO/Pi basiert auf KOrganizer\n(c) 2002,2003 Cornelius Schumacher\nEmail: schumacher@kde.org\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.korganizer.org\nwww.pi-sync.net\n" },
1077{ "PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n","PDA-Edition\nfür: Zaurus 5x00 / 7x0 / 8x0\n" },
1078{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" },
1079{ "About KOrganizer/Pi","Über KOrganizer/Pi" },
1080{ "From: ","Von: " },
838{ "","" }, 1081{ "","" },
839{ "","" }, 1082{ "","" },
840{ "","" }, 1083{ "","" },
841{ "","" }, 1084{ "","" },
842{ "","" }, 1085{ "","" },
843{ "","" }, 1086{ "","" },
844{ "","" }, 1087{ "","" },
diff --git a/microkde/kdecore/klocale.cpp b/microkde/kdecore/klocale.cpp
index 3674f28..21e6937 100644
--- a/microkde/kdecore/klocale.cpp
+++ b/microkde/kdecore/klocale.cpp
@@ -1,75 +1,115 @@
1#include <qregexp.h> 1#include <qregexp.h>
2#include <qapplication.h> 2#include <qapplication.h>
3 3
4#include "kdebug.h" 4#include "kdebug.h"
5#include "kcalendarsystemgregorian.h" 5#include "kcalendarsystemgregorian.h"
6 6
7#include "klocale.h" 7#include "klocale.h"
8 8
9#include <qstringlist.h>
10QStringList missingTrans;
9 11
10QDict<QString> *mLocaleDict = 0; 12QDict<QString> *mLocaleDict = 0;
11void setLocaleDict( QDict<QString> * dict ) 13void setLocaleDict( QDict<QString> * dict )
12{ 14{
13 mLocaleDict = dict; 15 mLocaleDict = dict;
14 16
15} 17}
18void addMissing(const char *text)
19{
20 return;
21 QString mis ( text );
22 if ( !missingTrans.contains( mis ) )
23 missingTrans.append(mis);
24
25}
26
27#include <qfile.h>
28#include <qtextstream.h>
29#include <qtextcodec.h>
30void dumpMissing()
31{
32 return;
33 QString fileName = "/tmp/usertrans.txt";
34 QFile file( fileName );
35 if (!file.open( IO_WriteOnly ) ) {
36 return ;
37 }
38 QTextStream ts( &file );
39 ts.setCodec( QTextCodec::codecForName("utf8") );
40
41 int i;
42 for ( i = 0; i< missingTrans.count(); ++i ) {
43
44 QString text = missingTrans[i].replace( QRegExp("\n"),"\\n" );
45 ts << "{ \""<<text<< "\",\""<< text <<"\" },\n";
46
47 }
48 file.close();
49}
50
16QString i18n(const char *text) 51QString i18n(const char *text)
17{ 52{
18 if ( ! mLocaleDict ) 53 if ( ! mLocaleDict ) {
54 addMissing( text );
19 return QString( text ); 55 return QString( text );
56 }
20 else { 57 else {
21 QString* ret = mLocaleDict->find(QString(text)) ; 58 QString* ret = mLocaleDict->find(QString(text)) ;
22 if ( ret == 0 ) { 59 if ( ret == 0 ) {
60 addMissing( text );
23 return QString( text ); 61 return QString( text );
24 } 62 }
25 else { 63 else {
26 if ( (*ret).isEmpty() ) 64 if ( (*ret).isEmpty() ) {
65 addMissing( text );
27 return QString( text ); 66 return QString( text );
67 }
28 else 68 else
29 return (*ret); 69 return (*ret);
30 } 70 }
31 } 71 }
32 72
33} 73}
34 74
35QString i18n(const char *,const char *text) 75QString i18n(const char *,const char *text)
36{ 76{
37 return i18n( text ); 77 return i18n( text );
38} 78}
39 79
40QString i18n(const char *text1, const char *textn, int num) 80QString i18n(const char *text1, const char *textn, int num)
41{ 81{
42 if ( num == 1 ) return i18n( text1 ); 82 if ( num == 1 ) return i18n( text1 );
43 else { 83 else {
44 QString text = i18n( textn ); 84 QString text = i18n( textn );
45 int pos = text.find( "%n" ); 85 int pos = text.find( "%n" );
46 if ( pos >= 0 ) text.replace( pos, 2, QString::number( num ) ); 86 if ( pos >= 0 ) text.replace( pos, 2, QString::number( num ) );
47 return text; 87 return text;
48 } 88 }
49} 89}
50 90
51inline void put_it_in( QChar *buffer, uint& index, const QString &s ) 91inline void put_it_in( QChar *buffer, uint& index, const QString &s )
52{ 92{
53 for ( uint l = 0; l < s.length(); l++ ) 93 for ( uint l = 0; l < s.length(); l++ )
54 buffer[index++] = s.at( l ); 94 buffer[index++] = s.at( l );
55} 95}
56 96
57inline void put_it_in( QChar *buffer, uint& index, int number ) 97inline void put_it_in( QChar *buffer, uint& index, int number )
58{ 98{
59 buffer[index++] = number / 10 + '0'; 99 buffer[index++] = number / 10 + '0';
60 buffer[index++] = number % 10 + '0'; 100 buffer[index++] = number % 10 + '0';
61} 101}
62 102
63static int readInt(const QString &str, uint &pos) 103static int readInt(const QString &str, uint &pos)
64{ 104{
65 if (!str.at(pos).isDigit()) return -1; 105 if (!str.at(pos).isDigit()) return -1;
66 int result = 0; 106 int result = 0;
67 for (; str.length() > pos && str.at(pos).isDigit(); pos++) 107 for (; str.length() > pos && str.at(pos).isDigit(); pos++)
68 { 108 {
69 result *= 10; 109 result *= 10;
70 result += str.at(pos).digitValue(); 110 result += str.at(pos).digitValue();
71 } 111 }
72 112
73 return result; 113 return result;
74} 114}
75 115