summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/commandmonitor.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-19 19:13:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-19 19:13:58 +0000
commit3adfcb55daa2abde3d668ccce159ea0c60e7984e (patch)
tree62a3583ab4b93cff9147aab45434a95021f14394 /protocols/IRCG/src/commandmonitor.cpp
parent31936553c93686bad5ff5aff1e90d7138b60068f (diff)
grrrrm... there's no hLangpack in chat items, therefore strings must be translated inside plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@17323 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src/commandmonitor.cpp')
-rw-r--r--protocols/IRCG/src/commandmonitor.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp
index 91e3f2fc9f..c5437208e4 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, LPGENW("Owner"));
- Chat_AddGroup(m_szModuleName, sID, LPGENW("Admin"));
- Chat_AddGroup(m_szModuleName, sID, LPGENW("Op"));
- Chat_AddGroup(m_szModuleName, sID, LPGENW("Halfop"));
- Chat_AddGroup(m_szModuleName, sID, LPGENW("Voice"));
- Chat_AddGroup(m_szModuleName, sID, LPGENW("Normal"));
+ 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"));
{
int k = 0;
CMStringW sTemp = GetWord(sNamesList, k);
@@ -2323,7 +2323,7 @@ bool CIrcProto::DoOnConnect(const CIrcMessage*)
}
}
- Chat_AddGroup(m_szModuleName, SERVERWINDOW, LPGENW("Normal"));
+ Chat_AddGroup(m_szModuleName, SERVERWINDOW, TranslateT("Normal"));
Chat_Control(m_szModuleName, SERVERWINDOW, SESSION_ONLINE);
CallFunctionAsync(sttMainThrdOnConnect, this);