diff options
-rw-r--r-- | protocols/JabberG/src/jabber_iqid_muc.cpp | 2 | ||||
-rwxr-xr-x | protocols/JabberG/src/jabber_thread.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_iqid_muc.cpp b/protocols/JabberG/src/jabber_iqid_muc.cpp index 0a504a99ea..434fa21057 100644 --- a/protocols/JabberG/src/jabber_iqid_muc.cpp +++ b/protocols/JabberG/src/jabber_iqid_muc.cpp @@ -50,7 +50,7 @@ void CJabberProto::OnIqResultGetMuc(const TiXmlElement *iqNode, CJabberIqInfo*) if (!mir_strcmp(type, "result"))
if (auto *queryNode = XmlGetChildByTag(iqNode, "query", "xmlns", JABBER_FEAT_MUC_OWNER))
if (auto *xNode = XmlGetChildByTag(queryNode, "x", "xmlns", JABBER_FEAT_DATA_FORMS))
- (new CJabberFormDlg(this, xNode, "Jabber Conference Room Configuration", &CJabberProto::SetMucConfig, mir_strdup(from)))->Display();
+ (new CJabberFormDlg(this, xNode, LPGEN("Jabber Conference Room Configuration"), &CJabberProto::SetMucConfig, mir_strdup(from)))->Display();
}
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 0c9d08cbc0..5a4ab0cbdc 100755 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -1877,7 +1877,7 @@ void CJabberProto::OnProcessRegIq(const TiXmlElement *node, ThreadData *info) if (!mir_strcmp(XmlGetAttr(xNode, "xmlns"), JABBER_FEAT_DATA_FORMS)) {
g_pRegInfo = info;
- auto *pDlg = new CJabberFormDlg(this, xNode, "Register new user", &CJabberProto::SetRegConfig, mir_strdup(XmlGetAttr(node, "from")));
+ auto *pDlg = new CJabberFormDlg(this, xNode, LPGEN("Register new user"), &CJabberProto::SetRegConfig, mir_strdup(XmlGetAttr(node, "from")));
if (info->conn.pDlg)
pDlg->SetParent(((CDlgBase*)info->conn.pDlg)->GetHwnd());
pDlg->SetCancel(&CJabberProto::CancelRegConfig);
|