summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-01-19 18:36:32 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-01-19 18:36:45 +0300
commitbcfa7bfc47dc30f5585371a847bc1658cc2291f9 (patch)
tree80519d4a34ad756f7b420a50f9e0a49b6a00e0b6 /protocols/JabberG
parent315827185bf40757460bbfe53be5792978988129 (diff)
fixes #2995 (Jabber: MAM modes are not translated)
Diffstat (limited to 'protocols/JabberG')
-rwxr-xr-xprotocols/JabberG/src/jabber_opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp
index 006c19552f..1c71348145 100755
--- a/protocols/JabberG/src/jabber_opt.cpp
+++ b/protocols/JabberG/src/jabber_opt.cpp
@@ -434,7 +434,7 @@ protected:
// fill MAM modes
wchar_t *szMamModes[] = { LPGENW("Never"), LPGENW("Roster"), LPGENW("Always") };
for (auto &it : szMamModes)
- m_cbMam.AddString(it, int(&it - szMamModes));
+ m_cbMam.AddString(TranslateW(it), int(&it - szMamModes));
m_cbMam.SetCurSel(m_proto->m_iMamMode);
m_cbMam.Enable(m_proto->m_bMamPrefsAvailable);