summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-07-19 15:36:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-07-19 15:36:34 +0300
commit26e85a2968965c10946b94908f231bf8f130f7ea (patch)
tree7ad1bb506fc24809d6acdb0d9beeaf76790700bc
parentb0bdf78c1395dffdb68f57f678a965be9a0a0f48 (diff)
Jabber: translation fix
-rw-r--r--protocols/JabberG/src/jabber_iqid_muc.cpp2
-rwxr-xr-xprotocols/JabberG/src/jabber_thread.cpp2
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);