diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-16 10:44:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-16 10:44:34 +0000 |
commit | 9ecad76b75ed9f7a9c729f1294bc62bd4b6adb68 (patch) | |
tree | 89973e6ed6b03eb87fc144a2e7fe90770f7d8be7 /protocols/JabberG/src/jabber_util.cpp | |
parent | 3142979bb604231a556d0173f0b2b90903399455 (diff) |
translation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@4456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_util.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_util.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp index 35acf12005..e5f875bb3f 100644 --- a/protocols/JabberG/src/jabber_util.cpp +++ b/protocols/JabberG/src/jabber_util.cpp @@ -530,23 +530,23 @@ struct tagErrorCodeToStr { TCHAR* str;
}
static JabberErrorCodeToStrMapping[] = {
- { JABBER_ERROR_REDIRECT, _T("Redirect") },
- { JABBER_ERROR_BAD_REQUEST, _T("Bad request") },
- { JABBER_ERROR_UNAUTHORIZED, _T("Unauthorized") },
- { JABBER_ERROR_PAYMENT_REQUIRED, _T("Payment required") },
- { JABBER_ERROR_FORBIDDEN, _T("Forbidden") },
- { JABBER_ERROR_NOT_FOUND, _T("Not found") },
- { JABBER_ERROR_NOT_ALLOWED, _T("Not allowed") },
- { JABBER_ERROR_NOT_ACCEPTABLE, _T("Not acceptable") },
- { JABBER_ERROR_REGISTRATION_REQUIRED, _T("Registration required") },
- { JABBER_ERROR_REQUEST_TIMEOUT, _T("Request timeout") },
- { JABBER_ERROR_CONFLICT, _T("Conflict") },
- { JABBER_ERROR_INTERNAL_SERVER_ERROR, _T("Internal server error") },
- { JABBER_ERROR_NOT_IMPLEMENTED, _T("Not implemented") },
- { JABBER_ERROR_REMOTE_SERVER_ERROR, _T("Remote server error") },
- { JABBER_ERROR_SERVICE_UNAVAILABLE, _T("Service unavailable") },
- { JABBER_ERROR_REMOTE_SERVER_TIMEOUT, _T("Remote server timeout") },
- { -1, _T("Unknown error") }
+ { JABBER_ERROR_REDIRECT, LPGENT("Redirect") },
+ { JABBER_ERROR_BAD_REQUEST, LPGENT("Bad request") },
+ { JABBER_ERROR_UNAUTHORIZED, LPGENT("Unauthorized") },
+ { JABBER_ERROR_PAYMENT_REQUIRED, LPGENT("Payment required") },
+ { JABBER_ERROR_FORBIDDEN, LPGENT("Forbidden") },
+ { JABBER_ERROR_NOT_FOUND, LPGENT("Not found") },
+ { JABBER_ERROR_NOT_ALLOWED, LPGENT("Not allowed") },
+ { JABBER_ERROR_NOT_ACCEPTABLE, LPGENT("Not acceptable") },
+ { JABBER_ERROR_REGISTRATION_REQUIRED, LPGENT("Registration required") },
+ { JABBER_ERROR_REQUEST_TIMEOUT, LPGENT("Request timeout") },
+ { JABBER_ERROR_CONFLICT, LPGENT("Conflict") },
+ { JABBER_ERROR_INTERNAL_SERVER_ERROR, LPGENT("Internal server error") },
+ { JABBER_ERROR_NOT_IMPLEMENTED, LPGENT("Not implemented") },
+ { JABBER_ERROR_REMOTE_SERVER_ERROR, LPGENT("Remote server error") },
+ { JABBER_ERROR_SERVICE_UNAVAILABLE, LPGENT("Service unavailable") },
+ { JABBER_ERROR_REMOTE_SERVER_TIMEOUT, LPGENT("Remote server timeout") },
+ { -1, LPGENT("Unknown error") }
};
TCHAR* __stdcall JabberErrorStr(int errorCode)
|