From abebf2658d6cb4c879f0952b77a576733494c96f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 8 Jul 2014 12:03:42 +0000 Subject: IRC: Make "events menu" translatable (fixes #649) git-svn-id: http://svn.miranda-ng.org/main/trunk@9729 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/src/options.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp index a5805e266f..ba57584a83 100644 --- a/protocols/IRCG/src/options.cpp +++ b/protocols/IRCG/src/options.cpp @@ -957,16 +957,16 @@ static TDbSetting OtherSettings[] = }; static char* sttPerformEvents[] = { - "Event: Available", - "Event: Away", - "Event: N/A", - "Event: Occupied", - "Event: DND", - "Event: Free for chat", - "Event: On the phone", - "Event: Out for lunch", - "Event: Disconnect", - "ALL NETWORKS" + LPGEN("Event: Available"), + LPGEN("Event: Away"), + LPGEN("Event: N/A"), + LPGEN("Event: Occupied"), + LPGEN("Event: DND"), + LPGEN("Event: Free for chat"), + LPGEN("Event: On the phone"), + LPGEN("Event: Out for lunch"), + LPGEN("Event: Disconnect"), + LPGEN("ALL NETWORKS") }; static LRESULT CALLBACK EditSubclassProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) @@ -1057,7 +1057,7 @@ void COtherPrefsDlg::OnInitDialog() } for (int i = 0; i < SIZEOF(sttPerformEvents); i++) { - int idx = m_performCombo.InsertString(_A2T(sttPerformEvents[i]), i); + int idx = m_performCombo.InsertString(_A2T(Translate(sttPerformEvents[i])), i); addPerformComboValue(idx, sttPerformEvents[i]); } -- cgit v1.2.3