-rw-r--r-- | bin/kdepim/kopiemail/germantranslation.txt | 243 | ||||
-rw-r--r-- | bin/kdepim/kopiemail/usertranslation.txt | 243 | ||||
-rw-r--r-- | kmicromail/libmailwrapper/mhwrapper.cpp | 13 | ||||
-rw-r--r-- | kmicromail/libmailwrapper/sendmailprogress.cpp | 5 | ||||
-rw-r--r-- | kmicromail/main.cpp | 1 | ||||
-rw-r--r-- | kmicromail/opiemail.cpp | 1 | ||||
-rw-r--r-- | microkde/kdecore/klocale.cpp | 62 |
7 files changed, 553 insertions, 15 deletions
diff --git a/bin/kdepim/kopiemail/germantranslation.txt b/bin/kdepim/kopiemail/germantranslation.txt new file mode 100644 index 0000000..7a53d36 --- a/dev/null +++ b/bin/kdepim/kopiemail/germantranslation.txt @@ -0,0 +1,243 @@ +{ " Local Time"," Locale Zeit" }, +{ "Preferences","Vorlieben" }, +{ "Ok","Ok" }, +{ "Default","Standard" }, +{ "Cancel","Abbrechen" }, +{ "Global","Global" }, +{ "Email","Email" }, +{ "Phone","Phone" }, +{ "SMS","SMS" }, +{ "Fax","Fax" }, +{ "Pager","Pager" }, +{ "SIP","SIP" }, +{ "Language:(needs restart)","Sprache (Neustart!)" }, +{ "English","Englisch" }, +{ "German","Deutsch" }, +{ "French","Französich" }, +{ "Italian","Italienisch" }, +{ "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" }, +{ "Time Format(nr):","Zeit Format(Neustart!)" }, +{ "24:00","24:00" }, +{ "12:00am","12:00am" }, +{ "Week starts on Sunday","Woche beginnt Sonntags" }, +{ "Locale","Localisation" }, +{ "Date Format:","Datums Format:" }, +{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, +{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, +{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, +{ "User defined","Benutzerdefiniert" }, +{ "User long date:","Format langes Datum:" }, +{ "User short date:","Format kurzes Datum:" }, +{ "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, +{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, +{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, +{ "Date Format","Datums Format" }, +{ "Timezone:","Zeitzone:" }, +{ "Add 30 min (+00:30) to selected Timezone","Addiere 30 min zur selektierten Zeitzone" }, +{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, +{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der Sonntag\nvor diesem Datum!" }, +{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, +{ "Daylight start:","Sommerzeit Beginn:" }, +{ "Mon","Mo" }, +{ "Tue","Di" }, +{ "Wed","Mi" }, +{ "Thu","Do" }, +{ "Fri","Fr" }, +{ "Sat","Sa" }, +{ "Sun","So" }, +{ "January","Januar" }, +{ "February","Februar" }, +{ "March","März" }, +{ "April","April" }, +{ "May","Mai" }, +{ "June","Juni" }, +{ "July","Juli" }, +{ "August","August" }, +{ "September","September" }, +{ "October","Oktober" }, +{ "November","November" }, +{ "December","Dezember" }, +{ "tomorrow","morgen" }, +{ "today","heute" }, +{ "yesterday","gestern" }, +{ "Monday","Montag" }, +{ "Tuesday","Dienstag" }, +{ "Wednesday","Mittwoch" }, +{ "Thursday","Donnerstag" }, +{ "Friday","Freitag" }, +{ "Saturday","Samstag" }, +{ "Sunday","Sonntag" }, +{ "Daylight end:","Sommerzeit Ende:" }, +{ "Time Zone","Zeitzone" }, +{ "Used Mail Client","Benutzter Mail Client" }, +{ "Channel:","Channel:" }, +{ "Message:","Message:" }, +{ "Parameters:","Parameter:" }, +{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, +{ "extra Message:","extra Message:" }, +{ "extra Parameters:","extra Parameter:" }, +{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, +{ "External Apps.","Externe Appl." }, +{ "General","Allgemein" }, +{ "Full &name:","Vor- und &Nachname:" }, +{ "E&mail address:","E&mail Adresse:" }, +{ "Fonts","Schriftart" }, +{ "Choose...","Wähle..." }, +{ "Used %1 Client","Benutzter %1 Client" }, +{ "No email client installed","Kein Email Klient installiert" }, +{ "Userdefined email client","Benutzerdef. Email Klient" }, +{ "OM/Pi email client","OM/Pi Email Klient" }, +{ "Delete","Löschen" }, +{ "New","Neu" }, +{ "Edit","Bearbeite" }, +{ "Close","Schließen" }, +{ "Size","Größe" }, +{ "Date","Datum" }, +{ "Please set at","Bitte einstellen in" }, +{ "Settings@General TAB","Einstellungen@Allgemein TAB" }, +{ "KOpieMail/Pi","KOpieMail/Pi" }, +{ "Mail","Mail" }, +{ "Settings","Einstellungen" }, +{ "Get all new mails","Hole alle neuen Mails" }, +{ "Get new messages","Hole neue mails" }, +{ "Compose new mail","Schreibe neue Mail" }, +{ "Send queued mails","Sende gespeicherte Mails" }, +{ "Show/Hide folders","Zeige Verzeichnisse" }, +{ "Delete Mail","Lösche Mail" }, +{ "Edit settings","Ändere Einstellungen" }, +{ "Configure accounts","Konfiguriere Zugänge" }, +{ "Mailbox","Mailbox" }, +{ "Subject","Betreff" }, +{ "Sender","Sender" }, +{ "Size","Größe" }, +{ "Date","Datum" }, +{ "Close","Schliessen" }, +{ "Help","Hilfe" }, +{ "About","Über" }, +{ "Licence","Lizenz" }, +{ "LibEtPan Licence","LibEtPan Lizenz" }, +{ "Settings - some need a restart (nr)","Einstellungen - manche benötigen einen Neustart (nr)" }, +{ "HINT: Separate multiple\neMail addresses by ";"","Hinweis: Trenne mehrere Addressen mit einem ";"" }, +{ "Ignore above settings and\nuse KA/Pi "Who am I" instead!","Ignoriere obige Einstellungen und\nbenutze KA/Pi "Wer bin ich" stattdessen!" }, +{ "View mail as html","Zeige Mails als html" }, +{ "Send mails later","Sende Mails später" }, +{ "Application(nr)","Applikation(nr)" }, +{ "OK","OK" }, +{ "Compose mail:","Verfasse Mail:" }, +{ "Dear Mr.","Hallo Herr" }, +{ "Read mail:","Lese Mail:" }, +{ "Hello","Hallo" }, +{ "Configure Accounts","Konfigure Zugänge" }, +{ "Name of the Account","Name des Zugangs" }, +{ "News","News" }, +{ "Account","Zugang" }, +{ "Type","Typ" }, +{ "<p>Please select an account.</p>","<p>Bitte wähle einen Zugang.</p>" }, +{ "Error","Fehler" }, +{ "Configure NNTP","Konfiguriere News" }, +{ "Port","Port" }, +{ "Server","Server" }, +{ "Use SSL","Benutze SSL" }, +{ "User","Benutzer" }, +{ "Password","Passwort" }, +{ "Use Login","Benutze Login" }, +{ "Newsgroup","Newsgroup" }, +{ "Get newsgroup list from server","Hole Newsgroup Liste vom Server" }, +{ "Filter:","Filter:" }, +{ "Show subscribed","Zeige abbonnierte" }, +{ "Groups","NewsGroups" }, +{ "Configure IMAP","Konfiguriere IMAP" }, +{ "Use secure sockets:","Benutze sichere Verbindung:" }, +{ "ssh $SERVER exec","ssh $SERVER exec" }, +{ "Prefix","Prefix" }, +{ "Local storage folder:","Lokales Verzeichnis:" }, +{ "Get only messages smaller","Hole nur Nachrichten kleiner" }, +{ "kB","kB" }, +{ "Leave Messages on Server","Belasse Nachrichten auf dem Server" }, +{ "Configure POP3","Konfiguriere POP3" }, +{ "ssh $SERVER exec imapd","ssh $SERVER exec imapd" }, +{ "Configure SMTP","Konfiguriere SMTP" }, +{ "Name of the SMTP Server","Name des SMTP Servers" }, +{ "Port of the SMTP Server","Port des SMTP Servers" }, +{ "Fetching folder list","Hole Verzeichnis Liste" }, +{ "Fetch ","Hole " }, +{ "Fetching header list","Hole Titel Liste" }, +{ "Mailbox has %1 mails","Mailbox hat %1 Mails" }, +{ "Read this mail","Lies diese Mail" }, +{ "Move/Copy this mail","Verschiebe/kopiere diese Mail" }, +{ "Delete this mail","Lösche diese Mail" }, +{ "Move/Copy all selected mail","Verschiebe/kopiere selektierte Mails" }, +{ "Delete all selected mails","Lösche alle selektierten Mails" }, +{ "Clear selection","Selektion aufheben" }, +{ "Reply","Antworten" }, +{ "Forward","Weiterleiten" }, +{ "Attachments","Anhang" }, +{ "Show Html","Zeige in html" }, +{ "Description","Beschreibung" }, +{ "Filename","Dateiname" }, +{ "E-Mail by %1","E-Mail von %1" }, +{ "Cc","Kopie" }, +{ "To","An" }, +{ "From","Von" }, +{ "<p>Do you really want to delete this mail? <br><br>","<p>Wollen Sie diese Mail wirklich löschen? <br><br>" }, +{ "Mailbox has %1 mail(s)","Mailbox hat %1 Mail(s)" }, +{ "Move/Copie all mails","Verschiebe/kopiere alle Mails" }, +{ "Delete all mails","Lösche alle Mails" }, +{ "Create new subfolder","Neues Unterverzeichnis" }, +{ "Delete folder","Lösche Verzeichnis" }, +{ "Refresh folder list","Aktualisiere Verzeichnis Liste" }, +{ "Create new folder","Neues Verzeichnis" }, +{ "Disconnect","Disconnect" }, +{ "Set offline","Gehe offline" }, +{ "Select target box","Wähle Ziel Box" }, +{ "<b>Store mail(s) to</b>","<b>Speichere Mail(s) nach</b>" }, +{ "Folder:","Verzeichnis:" }, +{ "Account:","Zugang:" }, +{ "Prefix will prepend, no need to enter it!","Prefix wird vorangestellt, braucht nicht eingegeben zu werden!" }, +{ "Move mail(s)","Verschiebe Mail(s)" }, +{ "apply only to mails smaller","wende nur auf Mails an, kleiner als" }, +{ " kB"," kB" }, +{ " message %1 of %2"," Nachricht %1 von %2" }, +{ "Copying...","Am Kopieren..." }, +{ "Copy message %1 of %2","Kopiere Nachricht %1 von %2" }, +{ "Do you really want to delete\nall selected mails?","Wollen Sie wirklich alle\nselektierten Mails Löschen?" }, +{ "Delete All Mails","Lösche alle Mails" }, +{ "Deleting ...","Am Löschen..." }, +{ "Delete message %1 of %2","Lösche Nachricht %1 von %2" }, +{ "Compose Message","Verfasse Nachricht" }, +{ "Reply-To","Antwort-An" }, +{ "BCC","BCC" }, +{ "Signature","Signatur" }, +{ "CC","Kopie" }, +{ "Options","Optionen" }, +{ "Delete File","Lösche Datei" }, +{ "Add File","Füge Datei hinzu" }, +{ "Attachment","Anhang" }, +{ "send later","sende später" }, +{ "use:","via:" }, +{ "Save","Speichern" }, +{ "Name","Name" }, +{ "No Receiver spezified","Kein Empfänger angegeben" }, +{ "Sending mail","Sende Mail" }, +{ "No","Nein" }, +{ "Yes","Ja" }, +{ "Store message into drafts?\n","Speichere Nachricht in Entwürfe?\n" }, +{ "Store message?","Nachricht speichern?" }, +{ "Select Type","Selektiere Typ" }, +{ "Select Account Type","Wähle Art des Zugangs" }, +{ "IMAP","IMAP (online lesen)" }, +{ "POP3","POP3 (holen)" }, +{ "SMTP","SMTP (senden)" }, +{ "<p>Do you really want to delete the selected Account?</p>","<p>Möchten Sie wirklich den ausgewählten Account löschen?</p>" }, +{ "Question","Eine Frage..." }, +{ "Send this message?","Nachricht wirklich senden?" }, +{ "Stop editing message","Stop editing message" }, +{ "Sending mail %1 of %2","Sende Mail %1 von %2" }, +{ "%1 of %2 bytes send","%1 von %2 Bytes gesendet" }, +{ "Refresh header list","Aktualisiere Titel Liste" }, +{ "","" }, +{ "","" }, +{ "","" }, +{ "","" }, +{ "","" }, +{ "","" }, diff --git a/bin/kdepim/kopiemail/usertranslation.txt b/bin/kdepim/kopiemail/usertranslation.txt new file mode 100644 index 0000000..7a53d36 --- a/dev/null +++ b/bin/kdepim/kopiemail/usertranslation.txt @@ -0,0 +1,243 @@ +{ " Local Time"," Locale Zeit" }, +{ "Preferences","Vorlieben" }, +{ "Ok","Ok" }, +{ "Default","Standard" }, +{ "Cancel","Abbrechen" }, +{ "Global","Global" }, +{ "Email","Email" }, +{ "Phone","Phone" }, +{ "SMS","SMS" }, +{ "Fax","Fax" }, +{ "Pager","Pager" }, +{ "SIP","SIP" }, +{ "Language:(needs restart)","Sprache (Neustart!)" }, +{ "English","Englisch" }, +{ "German","Deutsch" }, +{ "French","Französich" }, +{ "Italian","Italienisch" }, +{ "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" }, +{ "Time Format(nr):","Zeit Format(Neustart!)" }, +{ "24:00","24:00" }, +{ "12:00am","12:00am" }, +{ "Week starts on Sunday","Woche beginnt Sonntags" }, +{ "Locale","Localisation" }, +{ "Date Format:","Datums Format:" }, +{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, +{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, +{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, +{ "User defined","Benutzerdefiniert" }, +{ "User long date:","Format langes Datum:" }, +{ "User short date:","Format kurzes Datum:" }, +{ "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, +{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, +{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, +{ "Date Format","Datums Format" }, +{ "Timezone:","Zeitzone:" }, +{ "Add 30 min (+00:30) to selected Timezone","Addiere 30 min zur selektierten Zeitzone" }, +{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, +{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der Sonntag\nvor diesem Datum!" }, +{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, +{ "Daylight start:","Sommerzeit Beginn:" }, +{ "Mon","Mo" }, +{ "Tue","Di" }, +{ "Wed","Mi" }, +{ "Thu","Do" }, +{ "Fri","Fr" }, +{ "Sat","Sa" }, +{ "Sun","So" }, +{ "January","Januar" }, +{ "February","Februar" }, +{ "March","März" }, +{ "April","April" }, +{ "May","Mai" }, +{ "June","Juni" }, +{ "July","Juli" }, +{ "August","August" }, +{ "September","September" }, +{ "October","Oktober" }, +{ "November","November" }, +{ "December","Dezember" }, +{ "tomorrow","morgen" }, +{ "today","heute" }, +{ "yesterday","gestern" }, +{ "Monday","Montag" }, +{ "Tuesday","Dienstag" }, +{ "Wednesday","Mittwoch" }, +{ "Thursday","Donnerstag" }, +{ "Friday","Freitag" }, +{ "Saturday","Samstag" }, +{ "Sunday","Sonntag" }, +{ "Daylight end:","Sommerzeit Ende:" }, +{ "Time Zone","Zeitzone" }, +{ "Used Mail Client","Benutzter Mail Client" }, +{ "Channel:","Channel:" }, +{ "Message:","Message:" }, +{ "Parameters:","Parameter:" }, +{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, +{ "extra Message:","extra Message:" }, +{ "extra Parameters:","extra Parameter:" }, +{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, +{ "External Apps.","Externe Appl." }, +{ "General","Allgemein" }, +{ "Full &name:","Vor- und &Nachname:" }, +{ "E&mail address:","E&mail Adresse:" }, +{ "Fonts","Schriftart" }, +{ "Choose...","Wähle..." }, +{ "Used %1 Client","Benutzter %1 Client" }, +{ "No email client installed","Kein Email Klient installiert" }, +{ "Userdefined email client","Benutzerdef. Email Klient" }, +{ "OM/Pi email client","OM/Pi Email Klient" }, +{ "Delete","Löschen" }, +{ "New","Neu" }, +{ "Edit","Bearbeite" }, +{ "Close","Schließen" }, +{ "Size","Größe" }, +{ "Date","Datum" }, +{ "Please set at","Bitte einstellen in" }, +{ "Settings@General TAB","Einstellungen@Allgemein TAB" }, +{ "KOpieMail/Pi","KOpieMail/Pi" }, +{ "Mail","Mail" }, +{ "Settings","Einstellungen" }, +{ "Get all new mails","Hole alle neuen Mails" }, +{ "Get new messages","Hole neue mails" }, +{ "Compose new mail","Schreibe neue Mail" }, +{ "Send queued mails","Sende gespeicherte Mails" }, +{ "Show/Hide folders","Zeige Verzeichnisse" }, +{ "Delete Mail","Lösche Mail" }, +{ "Edit settings","Ändere Einstellungen" }, +{ "Configure accounts","Konfiguriere Zugänge" }, +{ "Mailbox","Mailbox" }, +{ "Subject","Betreff" }, +{ "Sender","Sender" }, +{ "Size","Größe" }, +{ "Date","Datum" }, +{ "Close","Schliessen" }, +{ "Help","Hilfe" }, +{ "About","Über" }, +{ "Licence","Lizenz" }, +{ "LibEtPan Licence","LibEtPan Lizenz" }, +{ "Settings - some need a restart (nr)","Einstellungen - manche benötigen einen Neustart (nr)" }, +{ "HINT: Separate multiple\neMail addresses by ";"","Hinweis: Trenne mehrere Addressen mit einem ";"" }, +{ "Ignore above settings and\nuse KA/Pi "Who am I" instead!","Ignoriere obige Einstellungen und\nbenutze KA/Pi "Wer bin ich" stattdessen!" }, +{ "View mail as html","Zeige Mails als html" }, +{ "Send mails later","Sende Mails später" }, +{ "Application(nr)","Applikation(nr)" }, +{ "OK","OK" }, +{ "Compose mail:","Verfasse Mail:" }, +{ "Dear Mr.","Hallo Herr" }, +{ "Read mail:","Lese Mail:" }, +{ "Hello","Hallo" }, +{ "Configure Accounts","Konfigure Zugänge" }, +{ "Name of the Account","Name des Zugangs" }, +{ "News","News" }, +{ "Account","Zugang" }, +{ "Type","Typ" }, +{ "<p>Please select an account.</p>","<p>Bitte wähle einen Zugang.</p>" }, +{ "Error","Fehler" }, +{ "Configure NNTP","Konfiguriere News" }, +{ "Port","Port" }, +{ "Server","Server" }, +{ "Use SSL","Benutze SSL" }, +{ "User","Benutzer" }, +{ "Password","Passwort" }, +{ "Use Login","Benutze Login" }, +{ "Newsgroup","Newsgroup" }, +{ "Get newsgroup list from server","Hole Newsgroup Liste vom Server" }, +{ "Filter:","Filter:" }, +{ "Show subscribed","Zeige abbonnierte" }, +{ "Groups","NewsGroups" }, +{ "Configure IMAP","Konfiguriere IMAP" }, +{ "Use secure sockets:","Benutze sichere Verbindung:" }, +{ "ssh $SERVER exec","ssh $SERVER exec" }, +{ "Prefix","Prefix" }, +{ "Local storage folder:","Lokales Verzeichnis:" }, +{ "Get only messages smaller","Hole nur Nachrichten kleiner" }, +{ "kB","kB" }, +{ "Leave Messages on Server","Belasse Nachrichten auf dem Server" }, +{ "Configure POP3","Konfiguriere POP3" }, +{ "ssh $SERVER exec imapd","ssh $SERVER exec imapd" }, +{ "Configure SMTP","Konfiguriere SMTP" }, +{ "Name of the SMTP Server","Name des SMTP Servers" }, +{ "Port of the SMTP Server","Port des SMTP Servers" }, +{ "Fetching folder list","Hole Verzeichnis Liste" }, +{ "Fetch ","Hole " }, +{ "Fetching header list","Hole Titel Liste" }, +{ "Mailbox has %1 mails","Mailbox hat %1 Mails" }, +{ "Read this mail","Lies diese Mail" }, +{ "Move/Copy this mail","Verschiebe/kopiere diese Mail" }, +{ "Delete this mail","Lösche diese Mail" }, +{ "Move/Copy all selected mail","Verschiebe/kopiere selektierte Mails" }, +{ "Delete all selected mails","Lösche alle selektierten Mails" }, +{ "Clear selection","Selektion aufheben" }, +{ "Reply","Antworten" }, +{ "Forward","Weiterleiten" }, +{ "Attachments","Anhang" }, +{ "Show Html","Zeige in html" }, +{ "Description","Beschreibung" }, +{ "Filename","Dateiname" }, +{ "E-Mail by %1","E-Mail von %1" }, +{ "Cc","Kopie" }, +{ "To","An" }, +{ "From","Von" }, +{ "<p>Do you really want to delete this mail? <br><br>","<p>Wollen Sie diese Mail wirklich löschen? <br><br>" }, +{ "Mailbox has %1 mail(s)","Mailbox hat %1 Mail(s)" }, +{ "Move/Copie all mails","Verschiebe/kopiere alle Mails" }, +{ "Delete all mails","Lösche alle Mails" }, +{ "Create new subfolder","Neues Unterverzeichnis" }, +{ "Delete folder","Lösche Verzeichnis" }, +{ "Refresh folder list","Aktualisiere Verzeichnis Liste" }, +{ "Create new folder","Neues Verzeichnis" }, +{ "Disconnect","Disconnect" }, +{ "Set offline","Gehe offline" }, +{ "Select target box","Wähle Ziel Box" }, +{ "<b>Store mail(s) to</b>","<b>Speichere Mail(s) nach</b>" }, +{ "Folder:","Verzeichnis:" }, +{ "Account:","Zugang:" }, +{ "Prefix will prepend, no need to enter it!","Prefix wird vorangestellt, braucht nicht eingegeben zu werden!" }, +{ "Move mail(s)","Verschiebe Mail(s)" }, +{ "apply only to mails smaller","wende nur auf Mails an, kleiner als" }, +{ " kB"," kB" }, +{ " message %1 of %2"," Nachricht %1 von %2" }, +{ "Copying...","Am Kopieren..." }, +{ "Copy message %1 of %2","Kopiere Nachricht %1 von %2" }, +{ "Do you really want to delete\nall selected mails?","Wollen Sie wirklich alle\nselektierten Mails Löschen?" }, +{ "Delete All Mails","Lösche alle Mails" }, +{ "Deleting ...","Am Löschen..." }, +{ "Delete message %1 of %2","Lösche Nachricht %1 von %2" }, +{ "Compose Message","Verfasse Nachricht" }, +{ "Reply-To","Antwort-An" }, +{ "BCC","BCC" }, +{ "Signature","Signatur" }, +{ "CC","Kopie" }, +{ "Options","Optionen" }, +{ "Delete File","Lösche Datei" }, +{ "Add File","Füge Datei hinzu" }, +{ "Attachment","Anhang" }, +{ "send later","sende später" }, +{ "use:","via:" }, +{ "Save","Speichern" }, +{ "Name","Name" }, +{ "No Receiver spezified","Kein Empfänger angegeben" }, +{ "Sending mail","Sende Mail" }, +{ "No","Nein" }, +{ "Yes","Ja" }, +{ "Store message into drafts?\n","Speichere Nachricht in Entwürfe?\n" }, +{ "Store message?","Nachricht speichern?" }, +{ "Select Type","Selektiere Typ" }, +{ "Select Account Type","Wähle Art des Zugangs" }, +{ "IMAP","IMAP (online lesen)" }, +{ "POP3","POP3 (holen)" }, +{ "SMTP","SMTP (senden)" }, +{ "<p>Do you really want to delete the selected Account?</p>","<p>Möchten Sie wirklich den ausgewählten Account löschen?</p>" }, +{ "Question","Eine Frage..." }, +{ "Send this message?","Nachricht wirklich senden?" }, +{ "Stop editing message","Stop editing message" }, +{ "Sending mail %1 of %2","Sende Mail %1 von %2" }, +{ "%1 of %2 bytes send","%1 von %2 Bytes gesendet" }, +{ "Refresh header list","Aktualisiere Titel Liste" }, +{ "","" }, +{ "","" }, +{ "","" }, +{ "","" }, +{ "","" }, +{ "","" }, diff --git a/kmicromail/libmailwrapper/mhwrapper.cpp b/kmicromail/libmailwrapper/mhwrapper.cpp index 641d4d9..f4133c0 100644 --- a/kmicromail/libmailwrapper/mhwrapper.cpp +++ b/kmicromail/libmailwrapper/mhwrapper.cpp @@ -1,22 +1,23 @@ // CHANGED 2004-09-31 Lutz Rogowski #include "mhwrapper.h" #include "mailtypes.h" #include "mailwrapper.h" #include <libetpan/libetpan.h> #include <qdir.h> #include <qmessagebox.h> #include <stdlib.h> #include <qpe/global.h> #include <oprocess.h> +#include <klocale.h> //#include <opie2/odebug.h> using namespace Opie::Core; MHwrapper::MHwrapper(const QString & mbox_dir,const QString&mbox_name) : Genericwrapper(),MHPath(mbox_dir),MHName(mbox_name) { if (MHPath.length()>0) { if (MHPath[MHPath.length()-1]=='/') { MHPath=MHPath.left(MHPath.length()-1); } //odebug << MHPath << oendl; QDir dir(MHPath); @@ -67,25 +68,25 @@ void MHwrapper::listMessages(const QString & mailbox, QValueList<Opie::Core::OSm { init_storage(); if (!m_storage) { return; } QString f = buildPath(mailbox); int r = mailsession_select_folder(m_storage->sto_session,(char*)f.latin1()); if (r!=MAIL_NO_ERROR) { qDebug("listMessages: error selecting folder! "); return; } parseList(target,m_storage->sto_session,f, false, maxSizeInKb ); - Global::statusMessage(tr("Mailbox has %1 mail(s)").arg(target.count())); + Global::statusMessage(i18n("Mailbox has %1 mail(s)").arg(target.count())); } QValueList<Opie::Core::OSmartPointer<Folder> >* MHwrapper::listFolders() { QValueList<Opie::Core::OSmartPointer<Folder> >* folders = new QValueList<Opie::Core::OSmartPointer<Folder> >(); /* this is needed! */ if (m_storage) mailstorage_disconnect(m_storage); init_storage(); if (!m_storage) { return folders; } mail_list*flist = 0; @@ -223,30 +224,30 @@ encodedString* MHwrapper::fetchRawBody(const RecMailP&mail) return result; } mailmessage * msg = 0; char*data=0; size_t size; int r = mailsession_select_folder(m_storage->sto_session,(char*)mail->getMbox().latin1()); if (r!=MAIL_NO_ERROR) { qDebug("error selecting folder! "); return result; } r = mailsession_get_message(m_storage->sto_session, mail->getNumber(), &msg); if (r != MAIL_NO_ERROR) { - Global::statusMessage(tr("Error fetching mail %i").arg(mail->getNumber())); + Global::statusMessage(i18n("Error fetching mail %i").arg(mail->getNumber())); return 0; } r = mailmessage_fetch(msg,&data,&size); if (r != MAIL_NO_ERROR) { - Global::statusMessage(tr("Error fetching mail %i").arg(mail->getNumber())); + Global::statusMessage(i18n("Error fetching mail %i").arg(mail->getNumber())); if (msg) mailmessage_free(msg); return 0; } result = new encodedString(data,size); if (msg) mailmessage_free(msg); return result; } void MHwrapper::deleteMails(const QString & mailbox,const QValueList<RecMailP> &target) { QString f = buildPath(mailbox); int r = mailsession_select_folder(m_storage->sto_session,(char*)f.latin1()); @@ -281,25 +282,25 @@ int MHwrapper::deleteAllMail(const FolderP&tfolder) r = mailsession_get_messages_list(m_storage->sto_session,&l); if (r != MAIL_NO_ERROR) { qDebug("Error message list "); res = 0; } unsigned j = 0; for(unsigned int i = 0 ; l!= 0 && res==1 && i < carray_count(l->msg_tab) ; ++i) { mailmessage * msg; msg = (mailmessage*)carray_get(l->msg_tab, i); j = msg->msg_index; r = mailsession_remove_message(m_storage->sto_session,j); if (r != MAIL_NO_ERROR) { - Global::statusMessage(tr("Error deleting mail %1").arg(i+1)); + Global::statusMessage(i18n("Error deleting mail %1").arg(i+1)); res = 0; break; } } if (l) mailmessage_list_free(l); return res; } int MHwrapper::deleteMbox(const FolderP&tfolder) { init_storage(); if (!m_storage) { @@ -335,42 +336,42 @@ int MHwrapper::deleteMbox(const FolderP&tfolder) qDebug("mail box deleted "); return 1; } void MHwrapper::processEnded(OProcess *p) { if (p) delete p; } void MHwrapper::oprocessStderr(OProcess*, char *buffer, int ) { QString lineStr = buffer; - QMessageBox::warning( 0, tr("Error"), lineStr ,tr("Ok") ); + QMessageBox::warning( 0, i18n("Error"), lineStr ,i18n("Ok") ); removeMboxfailed = true; } void MHwrapper::statusFolder(folderStat&target_stat,const QString & mailbox) { init_storage(); if (!m_storage) { return; } target_stat.message_count = 0; target_stat.message_unseen = 0; target_stat.message_recent = 0; QString f = buildPath(mailbox); int r = mailsession_status_folder(m_storage->sto_session,(char*)f.latin1(),&target_stat.message_count, &target_stat.message_recent,&target_stat.message_unseen); if (r != MAIL_NO_ERROR) { - Global::statusMessage(tr("Error retrieving status")); + Global::statusMessage(i18n("Error retrieving status")); } } MAILLIB::ATYPE MHwrapper::getType()const { return MAILLIB::A_MH; } const QString&MHwrapper::getName()const { return MHName; } diff --git a/kmicromail/libmailwrapper/sendmailprogress.cpp b/kmicromail/libmailwrapper/sendmailprogress.cpp index dc0c75a..20dfe9b 100644 --- a/kmicromail/libmailwrapper/sendmailprogress.cpp +++ b/kmicromail/libmailwrapper/sendmailprogress.cpp @@ -1,15 +1,16 @@ #include "sendmailprogress.h" #include <qprogressbar.h> #include <qlabel.h> +#include <klocale.h> progressMailSend::progressMailSend(QWidget*parent, const char * name) :progressMailSendUI(parent,name,true),m_current_mail(0),m_current_single(0),m_max_mail(0),m_max_single(0) { } progressMailSend::~progressMailSend() { } void progressMailSend::setMaxMails(unsigned int aMaxMails) { @@ -25,23 +26,23 @@ void progressMailSend::setCurrentMails(unsigned int aCurrent) setMails(); } void progressMailSend::setSingleMail(unsigned int aCurrent,unsigned int aMax) { m_current_single = aCurrent; m_max_single = aMax; setSingle(); } void progressMailSend::setSingle() { - QString text = QString(tr("%1 of %2 bytes send")).arg(m_current_single).arg(m_max_single); + QString text = QString(i18n("%1 of %2 bytes send")).arg(m_current_single).arg(m_max_single); singleMailLabel->setText(text); singleMailProgressBar->setTotalSteps(m_max_single); singleMailProgressBar->setProgress(m_current_single); } void progressMailSend::setMails() { - QString text = QString(tr("Sending mail %1 of %2")).arg(m_current_mail+1).arg(m_max_mail); + QString text = QString(i18n("Sending mail %1 of %2")).arg(m_current_mail+1).arg(m_max_mail); allMailLabel->setText(text); } diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp index 8341c5a..006390c 100644 --- a/kmicromail/main.cpp +++ b/kmicromail/main.cpp @@ -36,24 +36,25 @@ int main( int argc, char **argv ) { QString fileName ; #ifndef DESKTOP_VERSION fileName = getenv("QPEDIR"); if ( QApplication::desktop()->width() > 320 ) KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/icons22/"); else KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/"); #else fileName = qApp->applicationDirPath () + "/kdepim/kopiemail/"; KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName)); #endif KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kopiemail"))); + KPimGlobalPrefs::instance()->setGlobalConfig(); OpieMail mw; #ifndef DESKTOP_VERSION //qDebug("CONNECT "); QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&mw, SLOT(message( const QCString&, const QByteArray& ))); // QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & ))); a.showMainWidget(&mw ); #else a.setMainWidget(&mw ); mw.show(); //m.resize( 800, 600 ); QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); #endif diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index 3aa7905..a32983c 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp @@ -25,25 +25,24 @@ /* OPIE */ //#include <qpe/resource.h> //#include <qpe/qpeapplication.h> /* QT */ //using namespace Opie::Core; OpieMail::OpieMail( QWidget *parent, const char *name ) : MainWindow( parent, name) //, WStyle_ContextHelp ) { settings = new Settings(); - KPimGlobalPrefs::instance()->setGlobalConfig(); folderView->populate( settings->getAccounts() ); } OpieMail::~OpieMail() { if (settings) delete settings; } void OpieMail::appMessage(const QCString &msg, const QByteArray &data) { diff --git a/microkde/kdecore/klocale.cpp b/microkde/kdecore/klocale.cpp index d3b04dc..1da1e99 100644 --- a/microkde/kdecore/klocale.cpp +++ b/microkde/kdecore/klocale.cpp @@ -1,81 +1,131 @@ #include <qregexp.h> #include <qapplication.h> #include "kdebug.h" #include "kcalendarsystemgregorian.h" #include "klocale.h" #include <qstringlist.h> -QStringList missingTrans; + +//#define COLLECT_TRANSLATION + QDict<QString> *mLocaleDict = 0; void setLocaleDict( QDict<QString> * dict ) { mLocaleDict = dict; } + +#ifdef COLLECT_TRANSLATION + +QStringList missingTrans; +QStringList existingTrans1; +QStringList existingTrans2; + void addMissing(const char *text) { - return; + QString mis ( text ); if ( !missingTrans.contains( mis ) ) missingTrans.append(mis); } +void addExist(const char *text,QString trans ) +{ + //return; + QString mis ( text ); + if ( !existingTrans1.contains( mis ) ) { + existingTrans1.append(mis); + existingTrans2.append(trans); + + } + +} #include <qfile.h> #include <qtextstream.h> #include <qtextcodec.h> +#endif void dumpMissing() { - return; - QString fileName = "/tmp/usertrans.txt"; +#ifdef COLLECT_TRANSLATION + QString fileName = "/tmp/usernewtrans.txt"; QFile file( fileName ); if (!file.open( IO_WriteOnly ) ) { return ; } QTextStream ts( &file ); ts.setCodec( QTextCodec::codecForName("utf8") ); int i; for ( i = 0; i< missingTrans.count(); ++i ) { QString text = missingTrans[i].replace( QRegExp("\n"),"\\n" ); ts << "{ \""<<text<< "\",\""<< text <<"\" },\n"; } file.close(); -} + { + QString fileName = "/tmp/usertrans.txt"; + QFile file( fileName ); + if (!file.open( IO_WriteOnly ) ) { + return ; + } + QTextStream ts( &file ); + ts.setCodec( QTextCodec::codecForName("utf8") ); + + int i; + for ( i = 0; i< existingTrans1.count(); ++i ) { + + QString text = existingTrans1[i].replace( QRegExp("\n"),"\\n" ); + QString text2 = existingTrans2[i].replace( QRegExp("\n"),"\\n" ); + ts << "{ \""<<text<< "\",\""<< text2 <<"\" },\n"; + } + file.close(); + } +#endif +} QString i18n(const char *text) { if ( ! mLocaleDict ) { +#ifdef COLLECT_TRANSLATION addMissing( text ); +#endif return QString( text ); } else { QString* ret = mLocaleDict->find(QString(text)) ; if ( ret == 0 ) { +#ifdef COLLECT_TRANSLATION addMissing( text ); +#endif return QString( text ); } else { if ( (*ret).isEmpty() ) { +#ifdef COLLECT_TRANSLATION addMissing( text ); +#endif return QString( text ); } - else + else { +#ifdef COLLECT_TRANSLATION + addExist( text, *ret ); +#endif return (*ret); + } } } } QString i18n(const char *,const char *text) { return i18n( text ); } QString i18n(const char *text1, const char *textn, int num) { |