summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/DropBox/src/dropBox_proto.cpp10
-rw-r--r--plugins/DropBox/src/version.h2
2 files changed, 9 insertions, 3 deletions
diff --git a/plugins/DropBox/src/dropBox_proto.cpp b/plugins/DropBox/src/dropBox_proto.cpp
index a9b9d08edb..ece6097cf3 100644
--- a/plugins/DropBox/src/dropBox_proto.cpp
+++ b/plugins/DropBox/src/dropBox_proto.cpp
@@ -162,7 +162,13 @@ bool DropBoxSendFileChunkedEnd(const char *fileName, const char *uploadId, MCONT
if (root != NULL)
{
JSONNODE *node = json_get(root, "url");
- char *message = mir_utf8encodeW(json_as_string(node));
+ char message[1024];
+ mir_snprintf(
+ message,
+ SIZEOF(message),
+ Translate("Link to download file \"%s\": %s"),
+ fileName,
+ mir_utf8encodeW(json_as_string(node)));
DBEVENTINFO dbei = { sizeof(dbei) };
dbei.szModule = MODULE;
@@ -254,7 +260,7 @@ INT_PTR DropBoxSendFile(WPARAM wParam, LPARAM lParam)
ftp->pfts.hContact = pccsd->hContact;
char **files = (char**)pccsd->lParam;
-
+
for (ftp->pfts.totalFiles = 0; files[ftp->pfts.totalFiles]; ftp->pfts.totalFiles++);
ftp->pfts.pszFiles = new char*[ftp->pfts.totalFiles + 1];
ftp->pfts.pszFiles[ftp->pfts.totalFiles] = NULL;
diff --git a/plugins/DropBox/src/version.h b/plugins/DropBox/src/version.h
index dc8892c2de..65107a26a2 100644
--- a/plugins/DropBox/src/version.h
+++ b/plugins/DropBox/src/version.h
@@ -8,7 +8,7 @@
#define __PLUGIN_NAME "DropBox"
#define __INTERNAL_NAME "DropBox"
#define __FILENAME "DropBox.dll"
-#define __DESCRIPTION "Provide ability to load file on DropBox."
+#define __DESCRIPTION "Provides ability to upload files on DropBox."
#define __AUTHOR "unsane"
#define __AUTHOREMAIL ""
#define __AUTHORWEB "http://miranda-ng.org/p/DropBox/"