From dfec0ef867351971dcd82a8afcce3726f9afaa55 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 20 Sep 2016 19:18:20 +0000 Subject: IRC doesn't allow to translate statuses. git-svn-id: http://svn.miranda-ng.org/main/trunk@17327 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/src/commandmonitor.cpp | 12 ++++++------ protocols/IRCG/src/stdafx.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'protocols/IRCG') diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp index c5437208e4..10fb63b7ff 100644 --- a/protocols/IRCG/src/commandmonitor.cpp +++ b/protocols/IRCG/src/commandmonitor.cpp @@ -1270,12 +1270,12 @@ bool CIrcProto::OnIrc_ENDNAMES(const CIrcMessage* pmsg) PostIrcMessage(L"/MODE %s", sChanName); // register the statuses - Chat_AddGroup(m_szModuleName, sID, TranslateT("Owner")); - Chat_AddGroup(m_szModuleName, sID, TranslateT("Admin")); - Chat_AddGroup(m_szModuleName, sID, TranslateT("Op")); - Chat_AddGroup(m_szModuleName, sID, TranslateT("Halfop")); - Chat_AddGroup(m_szModuleName, sID, TranslateT("Voice")); - Chat_AddGroup(m_szModuleName, sID, TranslateT("Normal")); + Chat_AddGroup(m_szModuleName, sID, L"Owner"); + Chat_AddGroup(m_szModuleName, sID, L"Admin"); + Chat_AddGroup(m_szModuleName, sID, L"Op"); + Chat_AddGroup(m_szModuleName, sID, L"Halfop"); + Chat_AddGroup(m_szModuleName, sID, L"Voice"); + Chat_AddGroup(m_szModuleName, sID, L"Normal"); { int k = 0; CMStringW sTemp = GetWord(sNamesList, k); diff --git a/protocols/IRCG/src/stdafx.h b/protocols/IRCG/src/stdafx.h index 5d48ed407f..7010ac4931 100644 --- a/protocols/IRCG/src/stdafx.h +++ b/protocols/IRCG/src/stdafx.h @@ -359,8 +359,8 @@ struct CIrcProto : public PROTO CManagerDlg *m_managerDlg; CIgnorePrefsDlg *m_ignoreDlg; - int m_noOfChannels, m_manualWhoisCount; - CMStringA sChannelModes, sUserModes; + int m_noOfChannels, m_manualWhoisCount; + CMStringA sChannelModes, sUserModes; CMStringW sChannelPrefixes, sUserModePrefixes, WhoisAwayReply; // clist.cpp -- cgit v1.2.3