aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/DccChatWindow.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2015-11-28 08:34:50 +0000
committerGravatar un1versal2015-12-05 11:33:56 +0000
commitd2bb42f72a79957114ecc652cd4ea274fefd8912 (patch)
tree3899ef5a7f4c9fa1e71bbf6758aed273900c262a /src/modules/dcc/DccChatWindow.cpp
parentDccCanvasWindow: capitalization and remove duplicate include (diff)
downloadKVIrc-d2bb42f72a79957114ecc652cd4ea274fefd8912.tar.gz
KVIrc-d2bb42f72a79957114ecc652cd4ea274fefd8912.tar.bz2
KVIrc-d2bb42f72a79957114ecc652cd4ea274fefd8912.zip
DccChatWindow: consistency, capitalization and remove dup include
Diffstat (limited to 'src/modules/dcc/DccChatWindow.cpp')
-rw-r--r--src/modules/dcc/DccChatWindow.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/modules/dcc/DccChatWindow.cpp b/src/modules/dcc/DccChatWindow.cpp
index 2d2c78db6..3c9f28fb6 100644
--- a/src/modules/dcc/DccChatWindow.cpp
+++ b/src/modules/dcc/DccChatWindow.cpp
@@ -42,7 +42,6 @@
#include "KviConsoleWindow.h"
#include "KviMainWindow.h"
#include "KviMemory.h"
-#include "KviMemory.h"
#include "KviThread.h"
#include "KviIrcSocket.h"
#include "kvi_settings.h"
@@ -294,7 +293,7 @@ void DccChatWindow::ownMessage(const QString &text, bool bUserFeedback)
{
if(!m_pSlaveThread)
{
- output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx("Cannot send data: No active connection","dcc"));
+ output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx("Can't send data: no active connection","dcc"));
return;
}
@@ -340,7 +339,7 @@ void DccChatWindow::ownMessage(const QString &text, bool bUserFeedback)
{
QString szErr = cryptSessionInfo()->m_pEngine->lastError();
output(KVI_OUT_SYSTEMERROR,
- __tr2qs_ctx("The crypto engine was not able to encrypt the current message (%Q): %Q, no data was sent to the remote end","dcc"),
+ __tr2qs_ctx("The encryption engine was not able to encrypt the current message (%Q): %Q, no data was sent to the remote end","dcc"),
&text,&szErr);
}
break;
@@ -398,7 +397,7 @@ void DccChatWindow::ownAction(const QString &text)
m_pSlaveThread->sendRawData(buf.ptr(),buf.len());
output(KVI_OUT_ACTION,"%Q %Q",&(m_pDescriptor->szLocalNick),&szTmpBuffer);
} else {
- output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx("Cannot send data: No active connection","dcc"));
+ output(KVI_OUT_SYSTEMWARNING,__tr2qs_ctx("Cannot send data: no active connection","dcc"));
}
}
@@ -473,7 +472,7 @@ bool DccChatWindow::event(QEvent *e)
{
QString szErr = cinf->m_pEngine->lastError();
output(KVI_OUT_SYSTEMERROR,
- __tr2qs_ctx("The following message appears to be encrypted, but the crypto engine failed to decode it: %Q","dcc"),
+ __tr2qs_ctx("The following message appears to be encrypted, but the encryption engine failed to decode it: %Q","dcc"),
&szErr);
}
break;