summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-07-08 12:03:42 +0000
committerRobert Pösel <robyer@seznam.cz>2014-07-08 12:03:42 +0000
commitabebf2658d6cb4c879f0952b77a576733494c96f (patch)
treead889bf0cc2e7f4044ded1d0d4320845bb4e3d3c /protocols
parent97c3917b242f30482ae7944aea054260692be917 (diff)
IRC: Make "events menu" translatable (fixes #649)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9729 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/IRCG/src/options.cpp22
1 files 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]);
}