From b878e930505d0d09e29804393d4021101594fe18 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Mon, 23 Nov 2015 22:04:43 +0000 Subject: Jabber: translation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@15765 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_xstatus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/JabberG') diff --git a/protocols/JabberG/src/jabber_xstatus.cpp b/protocols/JabberG/src/jabber_xstatus.cpp index 1683992e06..8f38182d55 100644 --- a/protocols/JabberG/src/jabber_xstatus.cpp +++ b/protocols/JabberG/src/jabber_xstatus.cpp @@ -471,7 +471,7 @@ void CPepGuiService::RebuildMenu() mi.position = 200010; mi.flags = CMIF_UNMOVABLE | CMIF_TCHAR | CMIF_HIDDEN; mi.hIcolibItem = m_hIcolibItem; - mi.name.t = m_szText ? m_szText : _T(""); + mi.name.t = m_szText ? m_szText : LPGENT(""); m_hMenuItem = Menu_AddProtoMenuItem(&mi, m_proto->m_szModuleName); } @@ -492,7 +492,7 @@ void CPepGuiService::UpdateMenuItem(HANDLE hIcolibIcon, TCHAR *text) replaceStrT(m_szText, text); if (m_hMenuItem) - Menu_ModifyItem(m_hMenuItem, m_szText ? m_szText : _T(""), m_hIcolibItem); + Menu_ModifyItem(m_hMenuItem, m_szText ? m_szText : TranslateT(""), m_hIcolibItem, CMIF_KEEPUNTRANSLATED); } int CPepGuiService::OnMenuItemClick(WPARAM, LPARAM) @@ -1086,7 +1086,7 @@ void CPepActivity::SetActivity(MCONTACT hContact, LPCTSTR szFirst, LPCTSTR szSec hIcon = g_ActivityIcons.GetIcolibHandle(returnActivity(activity)); } else { - mir_tstrcpy(title, LPGENT("Set activity...")); + mir_tstrcpy(title, TranslateT("Set activity...")); hIcon = Skin_GetIconHandle(SKINICON_OTHER_SMALLDOT); } -- cgit v1.2.3