summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dropbox/src/dropbox.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp
index 64fc3bfae3..2cd459759f 100644
--- a/plugins/Dropbox/src/dropbox.cpp
+++ b/plugins/Dropbox/src/dropbox.cpp
@@ -54,7 +54,7 @@ void CDropbox::RequestAcceessToken()
mir_snprintf(
data,
SIZEOF(data),
- Translate("grant_type=authorization_code&code=%s"),
+ "grant_type=authorization_code&code=%s",
request_token);
HttpRequest *request = new HttpRequest(hNetlibUser, REQUEST_POST, DROPBOX_API_URL "/oauth2/token");
@@ -124,7 +124,7 @@ void CDropbox::RequestApiAuthorizationAsync(void *arg)
if (HasAccessToken() && MessageBox(
NULL,
TranslateT("Are you sure you want to request athorization?"),
- TranslateT("Request athorization"),
+ TranslateT("Request authorization"),
MB_YESNO | MB_ICONQUESTION) == IDYES)
{
INSTANCE->DestroyAcceessToken();