diff options
author | George Hazan <ghazan@miranda.im> | 2022-01-19 18:36:32 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-01-19 18:36:45 +0300 |
commit | bcfa7bfc47dc30f5585371a847bc1658cc2291f9 (patch) | |
tree | 80519d4a34ad756f7b420a50f9e0a49b6a00e0b6 /protocols/JabberG | |
parent | 315827185bf40757460bbfe53be5792978988129 (diff) |
fixes #2995 (Jabber: MAM modes are not translated)
Diffstat (limited to 'protocols/JabberG')
-rwxr-xr-x | protocols/JabberG/src/jabber_opt.cpp | 2 |
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);
|