diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-07-16 13:28:32 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-07-16 13:28:32 +0000 |
commit | 0d1ad2f90e46278508b14cfb76ab8296ada78366 (patch) | |
tree | f3fdb29a749862d9882b7e1623b87860e4c7dfea /protocols/MSN | |
parent | 4d8a575e275f4401da577c97720559fb734f7dc3 (diff) |
added some plugins descriptions for langpacks
git-svn-id: http://svn.miranda-ng.org/main/trunk@5385 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN')
-rw-r--r-- | protocols/MSN/src/msn.cpp | 12 | ||||
-rw-r--r-- | protocols/MSN/src/msn_lists.cpp | 3 | ||||
-rw-r--r-- | protocols/MSN/src/msn_menu.cpp | 2 | ||||
-rw-r--r-- | protocols/MSN/src/msn_misc.cpp | 2 | ||||
-rw-r--r-- | protocols/MSN/src/version.h | 8 |
5 files changed, 17 insertions, 10 deletions
diff --git a/protocols/MSN/src/msn.cpp b/protocols/MSN/src/msn.cpp index 0f4079639b..5bbfd707d3 100644 --- a/protocols/MSN/src/msn.cpp +++ b/protocols/MSN/src/msn.cpp @@ -44,13 +44,13 @@ int avsPresent = -1; static const PLUGININFOEX pluginInfo =
{
sizeof(PLUGININFOEX),
- "MSN Protocol",
+ __PLUGIN_NAME,
__VERSION_DWORD,
- "Microsoft Network (MSN) protocol support for Miranda NG.",
- "Boris Krasnovskiy, George Hazan, Richard Hughes",
- "borkra@miranda-im.org",
- "© 2001-2012 Richard Hughes, George Hazan, Boris Krasnovskiy",
- "http://miranda-ng.org/",
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
// {97724AF9-F3FB-47d3-A3BF-EAA935C74E6D}
{0x97724af9, 0xf3fb, 0x47d3, {0xa3, 0xbf, 0xea, 0xa9, 0x35, 0xc7, 0x4e, 0x6d}}
diff --git a/protocols/MSN/src/msn_lists.cpp b/protocols/MSN/src/msn_lists.cpp index 92b490f6e7..f218a1171c 100644 --- a/protocols/MSN/src/msn_lists.cpp +++ b/protocols/MSN/src/msn_lists.cpp @@ -315,9 +315,8 @@ void CMsnProto::MSN_CreateContList(void) bool *used = (bool*)mir_calloc(contList.getCount()*sizeof(bool));
char cxml[8192];
- size_t sz;
- sz = mir_snprintf(cxml , sizeof(cxml), "<ml l=\"1\">");
+ size_t sz = mir_snprintf(cxml , sizeof(cxml), "<ml l=\"1\">");
EnterCriticalSection(&csLists);
diff --git a/protocols/MSN/src/msn_menu.cpp b/protocols/MSN/src/msn_menu.cpp index 1e277d2b59..c8d88cf934 100644 --- a/protocols/MSN/src/msn_menu.cpp +++ b/protocols/MSN/src/msn_menu.cpp @@ -147,7 +147,7 @@ int CMsnProto::OnPrebuildContactMenu(WPARAM wParam, LPARAM) CLISTMENUITEM mi = { sizeof(mi) };
mi.flags = CMIM_NAME;
- mi.pszName = (char*)((listId & LIST_BL) ? "&Unblock" : "&Block");
+ mi.pszName = ((listId & LIST_BL) ? LPGEN("&Unblock") : LPGEN("&Block"));
Menu_ModifyItem(hBlockMenuItem, &mi);
Menu_ShowItem(hBlockMenuItem, !noChat);
diff --git a/protocols/MSN/src/msn_misc.cpp b/protocols/MSN/src/msn_misc.cpp index 4f84bc2556..4f9c3a47e6 100644 --- a/protocols/MSN/src/msn_misc.cpp +++ b/protocols/MSN/src/msn_misc.cpp @@ -901,7 +901,7 @@ void CMsnProto::MSN_ShowError(const char* msgtext, ...) TCHAR tBuffer[4096];
va_list tArgs;
- TCHAR *buf = (TCHAR*)CallService(MS_LANGPACK_PCHARTOTCHAR, 0, (LPARAM)msgtext);
+ TCHAR *buf = Langpack_PcharToTchar(msgtext);
va_start(tArgs, msgtext);
mir_vsntprintf(tBuffer, SIZEOF(tBuffer), buf, tArgs);
diff --git a/protocols/MSN/src/version.h b/protocols/MSN/src/version.h index 4796dac116..ba928d99c0 100644 --- a/protocols/MSN/src/version.h +++ b/protocols/MSN/src/version.h @@ -21,3 +21,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define __FILEVERSION_STRING 0,11,0,2
#define __VERSION_STRING "0.11.0.2"
#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0, 11, 0, 2)
+
+#define __PLUGIN_NAME "MSN Protocol"
+#define __DESCRIPTION "Microsoft Network (MSN) protocol support for Miranda NG."
+#define __AUTHOR "Boris Krasnovskiy, George Hazan, Richard Hughes"
+#define __AUTHOREMAIL "borkra@miranda-im.org"
+#define __COPYRIGHT "© 2001-2012 Richard Hughes, George Hazan, Boris Krasnovskiy"
+#define __AUTHORWEB "http://miranda-ng.org/"
+
|