diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-03-09 20:23:19 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-03-09 20:23:19 +0000 |
commit | 3bdbd608284853f05acdf137013de71efd915499 (patch) | |
tree | 6d82b978ff4e52027f7ffe8db29cbce24adcf908 /plugins/Dropbox/src/dropbox_utils.cpp | |
parent | d808595a83280e6232923143efeb1851c8e33423 (diff) |
Dropbox:
- added MS_DROPBOX_SEND_FILE service
- added new behaviors for download links
- attempt to fix tabsrmm button behavior
git-svn-id: http://svn.miranda-ng.org/main/trunk@8527 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_utils.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox_utils.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/Dropbox/src/dropbox_utils.cpp b/plugins/Dropbox/src/dropbox_utils.cpp index ecf6c584a0..34ac156dc5 100644 --- a/plugins/Dropbox/src/dropbox_utils.cpp +++ b/plugins/Dropbox/src/dropbox_utils.cpp @@ -13,26 +13,26 @@ wchar_t *CDropbox::HttpStatusToText(HTTP_STATUS status) switch (status)
{
case HTTP_STATUS_OK:
- return TranslateT("OK");
+ return L"OK";
case HTTP_STATUS_BAD_REQUEST:
- return TranslateT("Bad input parameter. Error message should indicate which one and why");
+ return L"Bad input parameter. Error message should indicate which one and why";
case HTTP_STATUS_UNAUTHORIZED:
- return TranslateT("Bad or expired token. This can happen if the user or Dropbox revoked or expired an access token. To fix, you should re-authenticate the user");
+ return L"Bad or expired token. This can happen if the user or Dropbox revoked or expired an access token. To fix, you should re-authenticate the user";
case HTTP_STATUS_FORBIDDEN:
- return TranslateT("Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here");
+ return L"Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here";
case HTTP_STATUS_NOT_FOUND:
- return TranslateT("File or folder not found at the specified path");
+ return L"File or folder not found at the specified path";
case HTTP_STATUS_METHOD_NOT_ALLOWED:
- return TranslateT("Request method not expected (generally should be GET or POST)");
+ return L"Request method not expected (generally should be GET or POST)";
case HTTP_STATUS_TOO_MANY_REQUESTS:
- return TranslateT("Your app is making too many requests and is being rate limited. 429s can trigger on a per-app or per-user basis");
+ return L"Your app is making too many requests and is being rate limited. 429s can trigger on a per-app or per-user basis";
case HTTP_STATUS_SERVICE_UNAVAILABLE:
- return TranslateT("If the response includes the Retry-After header, this means your OAuth 1.0 app is being rate limited. Otherwise, this indicates a transient server error, and your app should retry its request.");
+ return L"If the response includes the Retry-After header, this means your OAuth 1.0 app is being rate limited. Otherwise, this indicates a transient server error, and your app should retry its request.";
case HTTP_STATUS_INSUFICIENTE_STORAGE:
- return TranslateT("User is over Dropbox storage quota");
+ return L"User is over Dropbox storage quota";
}
- return TranslateT("Unknown");
+ return L"Unknown";
}
void CDropbox::ShowNotification(const wchar_t *caption, const wchar_t *message, int flags, MCONTACT hContact)
|