]>
Commit | Line | Data |
---|---|---|
fffa7ffc BZ |
1 | diff -ur modules/mail.orig/mail.cpp modules/mail/mail.cpp |
2 | --- modules/mail.orig/mail.cpp 2008-08-31 17:02:10.000000000 +0200 | |
3 | +++ modules/mail/mail.cpp 2010-01-15 08:27:40.000000000 +0100 | |
4 | @@ -43,8 +43,8 @@ | |
5 | qRegisterMetaType<QAbstractSocket::SocketError>("QAbstractSocket::SocketError"); | |
6 | ||
7 | MainConfigurationWindow::registerUiFile(dataPath("kadu/modules/configuration/mail.ui"), mail); | |
8 | - notification_manager->registerEvent("Mail", "New mail", CallbackNotRequired); | |
9 | - notification_manager->registerEvent("MailError", "Connection error", CallbackNotRequired); | |
10 | + notification_manager->registerEvent("Mail", QT_TRANSLATE_NOOP("@default", "New mail"), CallbackNotRequired); | |
11 | + notification_manager->registerEvent("MailError", QT_TRANSLATE_NOOP("@default", "Mail connection error"), CallbackNotRequired); | |
12 | return 0; | |
13 | } | |
14 | ||
15 | diff -ur modules/mail.orig/mail.h modules/mail/mail.h | |
16 | --- modules/mail.orig/mail.h 2008-08-31 16:42:22.000000000 +0200 | |
17 | +++ modules/mail/mail.h 2010-01-15 08:27:40.000000000 +0100 | |
18 | @@ -13,6 +13,7 @@ | |
19 | ||
20 | #include <QTimer> | |
21 | #include <QString> | |
22 | +#include <QLinkedList> | |
23 | ||
24 | #include "main_configuration_window.h" | |
25 | #include "../notify/notify.h" | |
26 | diff -ur modules/mail.orig/translations/mail_pl.ts modules/mail/translations/mail_pl.ts | |
27 | --- modules/mail.orig/translations/mail_pl.ts 2008-08-31 17:17:44.000000000 +0200 | |
28 | +++ modules/mail/translations/mail_pl.ts 2010-01-15 08:26:37.000000000 +0100 | |
29 | @@ -244,4 +244,15 @@ | |
30 | <translation>Jesteś pewny że chcesz kontynuować połączenie?</translation> | |
31 | </message> | |
32 | </context> | |
33 | +<context> | |
34 | + <name>@default</name> | |
35 | + <message> | |
36 | + <source>New mail</source> | |
37 | + <translation>Nowa poczta</translation> | |
38 | + </message> | |
39 | + <message> | |
40 | + <source>Mail connection error</source> | |
41 | + <translation>Błąd połączenia z pocztą</translation> | |
42 | + </message> | |
43 | +</context> | |
44 | </TS> |