diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-01-24 19:51:04 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-01-24 19:51:04 +0000 |
commit | 76dd2ab0cd5ca8e9d1da72bbff5a12d15ab6f8cc (patch) | |
tree | ab7f0b2b8e5cb56d43b4fbf36b7a6f37b385bf3c /protocols/Tlen | |
parent | bb1269bc3e2db2b1a508b96a3a6e67109cf3f389 (diff) |
-Tlen: Minor typos and translations fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@7864 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tlen')
-rw-r--r-- | protocols/Tlen/src/tlen_avatar.cpp | 12 | ||||
-rw-r--r-- | protocols/Tlen/src/tlen_iqid.cpp | 2 | ||||
-rw-r--r-- | protocols/Tlen/src/tlen_thread.cpp | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/protocols/Tlen/src/tlen_avatar.cpp b/protocols/Tlen/src/tlen_avatar.cpp index fab4adc52b..aea83f9804 100644 --- a/protocols/Tlen/src/tlen_avatar.cpp +++ b/protocols/Tlen/src/tlen_avatar.cpp @@ -347,18 +347,18 @@ typedef struct { boolean checkUploadAvatarResponse(TlenProtocol *proto, NETLIBHTTPREQUEST *resp){
if (resp == NULL){
- proto->debugLogA("Error while setting popup on Tlen account (no response)");
- PUShowMessageT(TranslateT("Error while setting popup on Tlen account (no response)"), SM_WARNING);
+ proto->debugLogA("Error while setting avatar on Tlen account (no response)");
+ PUShowMessageT(TranslateT("Error while setting avatar on Tlen account (no response)"), SM_WARNING);
return false;
}
if (resp->resultCode != 200 || !resp->dataLength || !resp->pData) {
- proto->debugLogA("Error while setting popup on Tlen account (invalid response) resultCode=%d, dataLength=%d", resp->resultCode, resp->dataLength);
- PUShowMessageT(TranslateT("Error while setting popup on Tlen account (invalid response)"), SM_WARNING);
+ proto->debugLogA("Error while setting avatar on Tlen account (invalid response) resultCode=%d, dataLength=%d", resp->resultCode, resp->dataLength);
+ PUShowMessageT(TranslateT("Error while setting avatar on Tlen account (invalid response)"), SM_WARNING);
return false;
}
if (strncmp(resp->pData, "<ok", 3)){
- proto->debugLogA("Error while setting popup on Tlen account: %s", resp->pData);
- PUShowMessageT(TranslateT("Error while setting popup on Tlen account"), SM_WARNING);
+ proto->debugLogA("Error while setting avatar on Tlen account: %s", resp->pData);
+ PUShowMessageT(TranslateT("Error while setting avatar on Tlen account"), SM_WARNING);
return false;
}
return true;
diff --git a/protocols/Tlen/src/tlen_iqid.cpp b/protocols/Tlen/src/tlen_iqid.cpp index 368eb49481..c74cfdde1a 100644 --- a/protocols/Tlen/src/tlen_iqid.cpp +++ b/protocols/Tlen/src/tlen_iqid.cpp @@ -54,7 +54,7 @@ void TlenIqResultAuth(TlenProtocol *proto, XmlNode *iqNode) char text[128];
TlenSend(proto, "</s>");
- mir_snprintf(text, sizeof(text), "%s %s@%s.", TranslateT("Authentication failed for"), proto->threadData->username, proto->threadData->server);
+ mir_snprintf(text, sizeof(text), Translate("Authentication failed for %s@%s."), proto->threadData->username, proto->threadData->server);
MessageBoxA(NULL, text, Translate("Tlen Authentication"), MB_OK|MB_ICONSTOP|MB_SETFOREGROUND);
ProtoBroadcastAck(proto->m_szModuleName, NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_WRONGPASSWORD);
proto->threadData = NULL; // To disallow auto reconnect
diff --git a/protocols/Tlen/src/tlen_thread.cpp b/protocols/Tlen/src/tlen_thread.cpp index 75b65f78ca..00ec568e86 100644 --- a/protocols/Tlen/src/tlen_thread.cpp +++ b/protocols/Tlen/src/tlen_thread.cpp @@ -72,7 +72,7 @@ static INT_PTR CALLBACK TlenPasswordDlgProc(HWND hwndDlg, UINT msg, WPARAM wPara switch (msg) {
case WM_INITDIALOG:
TranslateDialogDefault(hwndDlg);
- mir_snprintf(text, SIZEOF(text), "%s %s", Translate("Enter password for"), (char *) lParam);
+ mir_snprintf(text, SIZEOF(text), Translate("Enter password for %s"), (char *) lParam);
SetDlgItemTextA(hwndDlg, IDC_JID, text);
return TRUE;
case WM_COMMAND:
|