summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-07-16 13:28:32 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-07-16 13:28:32 +0000
commit0d1ad2f90e46278508b14cfb76ab8296ada78366 (patch)
treef3fdb29a749862d9882b7e1623b87860e4c7dfea
parent4d8a575e275f4401da577c97720559fb734f7dc3 (diff)
added some plugins descriptions for langpacks
git-svn-id: http://svn.miranda-ng.org/main/trunk@5385 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Gadu-Gadu/src/gg.cpp12
-rw-r--r--protocols/Gadu-Gadu/src/version.h9
-rw-r--r--protocols/IcqOscarJ/src/init.cpp12
-rw-r--r--protocols/IcqOscarJ/src/version.h8
-rw-r--r--protocols/JabberG/src/jabber.cpp12
-rw-r--r--protocols/JabberG/src/version.h9
-rw-r--r--protocols/MSN/src/msn.cpp12
-rw-r--r--protocols/MSN/src/msn_lists.cpp3
-rw-r--r--protocols/MSN/src/msn_menu.cpp2
-rw-r--r--protocols/MSN/src/msn_misc.cpp2
-rw-r--r--protocols/MSN/src/version.h8
-rw-r--r--protocols/Yahoo/src/main.cpp12
-rw-r--r--protocols/Yahoo/src/version.h9
13 files changed, 76 insertions, 34 deletions
diff --git a/protocols/Gadu-Gadu/src/gg.cpp b/protocols/Gadu-Gadu/src/gg.cpp
index 737a60d1a6..697ab3d8e0 100644
--- a/protocols/Gadu-Gadu/src/gg.cpp
+++ b/protocols/Gadu-Gadu/src/gg.cpp
@@ -26,13 +26,13 @@
// Plugin info
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
- "Gadu-Gadu Protocol",
+ __PLUGIN_NAME,
__VERSION_DWORD,
- "Gadu-Gadu protocol support for Miranda NG.",
- "Bartosz Białek, Adam Strzelecki",
- "dezred"/*antispam*/"@"/*antispam*/"gmail"/*antispam*/"."/*antispam*/"com",
- "© 2009-2012 Bartosz Białek, 2003-2009 Adam Strzelecki",
- "http://miranda-ng.org/",
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
// {F3FF65F3-250E-416A-BEE9-58C93F85AB33}
{ 0xf3ff65f3, 0x250e, 0x416a, { 0xbe, 0xe9, 0x58, 0xc9, 0x3f, 0x85, 0xab, 0x33 } }
diff --git a/protocols/Gadu-Gadu/src/version.h b/protocols/Gadu-Gadu/src/version.h
index c92524d8d3..f2a3dbca95 100644
--- a/protocols/Gadu-Gadu/src/version.h
+++ b/protocols/Gadu-Gadu/src/version.h
@@ -21,3 +21,12 @@
#define __FILEVERSION_STRING 0,11,0,3
#define __VERSION_STRING "0.11.0.3"
#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0, 11, 0, 3)
+
+
+#define __PLUGIN_NAME "Gadu-Gadu Protocol"
+#define __DESCRIPTION "Gadu-Gadu protocol support for Miranda NG."
+#define __AUTHOR "Bartosz Bialek, Adam Strzelecki"
+#define __AUTHOREMAIL "dezred"/*antispam*/"@"/*antispam*/"gmail"/*antispam*/"."/*antispam*/"com"
+#define __COPYRIGHT "© 2009-2012 Bartosz Bialek, 2003-2009 Adam Strzelecki"
+#define __AUTHORWEB "http://miranda-ng.org/"
+
diff --git a/protocols/IcqOscarJ/src/init.cpp b/protocols/IcqOscarJ/src/init.cpp
index a23b01554e..b10a20e456 100644
--- a/protocols/IcqOscarJ/src/init.cpp
+++ b/protocols/IcqOscarJ/src/init.cpp
@@ -41,13 +41,13 @@ HANDLE hExtraXStatus;
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
- "IcqOscarJ Protocol",
+ __PLUGIN_NAME,
__VERSION_DWORD,
- "ICQ protocol support for Miranda NG.",
- "Joe Kucera, Bio, Martin \xd6" "berg, Richard Hughes, Jon Keating, etc",
- "jokusoftware@miranda-im.org",
- "(C) 2000-2010 M.\xd6" "berg, R.Hughes, J.Keating, Bio, Angeli-Ka, G.Hazan, J.Kucera",
- "http://miranda-ng.org/",
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE, //doesn't replace anything built-in
{0x73a9615c, 0x7d4e, 0x4555, {0xba, 0xdb, 0xee, 0x5, 0xdc, 0x92, 0x8e, 0xff}} // {73A9615C-7D4E-4555-BADB-EE05DC928EFF}
};
diff --git a/protocols/IcqOscarJ/src/version.h b/protocols/IcqOscarJ/src/version.h
index 0231d7a7ea..0140e33466 100644
--- a/protocols/IcqOscarJ/src/version.h
+++ b/protocols/IcqOscarJ/src/version.h
@@ -1,3 +1,11 @@
#define __FILEVERSION_STRING 0,11,0,1
#define __VERSION_STRING "0.11.0.1"
#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0, 11, 0, 1)
+
+#define __PLUGIN_NAME "IcqOscarJ Protocol"
+#define __DESCRIPTION "ICQ protocol support for Miranda NG."
+#define __AUTHOR "Joe Kucera, Bio, Martin \xd6" "berg, Richard Hughes, Jon Keating, etc"
+#define __AUTHOREMAIL "jokusoftware@miranda-im.org"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "(C) 2000-2010 M.\xd6" "berg, R.Hughes, J.Keating, Bio, Angeli-Ka, G.Hazan, J.Kucera"
+
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp
index e18f261c55..020029e1f2 100644
--- a/protocols/JabberG/src/jabber.cpp
+++ b/protocols/JabberG/src/jabber.cpp
@@ -48,13 +48,13 @@ TCHAR szCoreVersion[100];
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
- "Jabber Protocol",
+ __PLUGIN_NAME,
__VERSION_DWORD,
- "Jabber protocol support for Miranda NG.",
- "George Hazan, Maxim Mluhov, Victor Pavlychko, Artem Shpynov, Michael Stepura",
- "ghazan@miranda.im",
- "(c) 2005-2012 George Hazan, Maxim Mluhov, Victor Pavlychko, Artem Shpynov, Michael Stepura",
- "http://miranda-ng.org/",
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
{0x144e80a2, 0xd198, 0x428b, {0xac, 0xbe, 0x9d, 0x55, 0xda, 0xcc, 0x7f, 0xde}} // {144E80A2-D198-428b-ACBE-9D55DACC7FDE}
};
diff --git a/protocols/JabberG/src/version.h b/protocols/JabberG/src/version.h
index 2efdeac444..ce855433ba 100644
--- a/protocols/JabberG/src/version.h
+++ b/protocols/JabberG/src/version.h
@@ -1,3 +1,12 @@
#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 "Jabber Protocol"
+#define __DESCRIPTION "Jabber protocol support for Miranda NG."
+#define __AUTHOR "George Hazan, Maxim Mluhov, Victor Pavlychko, Artem Shpynov, Michael Stepura"
+#define __AUTHOREMAIL "ghazan@miranda.im"
+#define __COPYRIGHT "(c) 2005-2012 George Hazan, Maxim Mluhov, Victor Pavlychko, Artem Shpynov, Michael Stepura"
+#define __AUTHORWEB "http://miranda-ng.org/"
+
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/"
+
diff --git a/protocols/Yahoo/src/main.cpp b/protocols/Yahoo/src/main.cpp
index 758c018bce..e7f96840f9 100644
--- a/protocols/Yahoo/src/main.cpp
+++ b/protocols/Yahoo/src/main.cpp
@@ -28,13 +28,13 @@ int hLangpack;
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
- "Yahoo Protocol",
+ __PLUGIN_NAME,
__VERSION_DWORD,
- "Yahoo Protocol support for Miranda NG.",
- "Gennady Feldman",
- "gena01@miranda-im.org",
- "© 2003-2010 Gennady Feldman, Laurent Marechal",
- "http://miranda-ng.org/",
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE, //not transient
{0xaa7bfea, 0x1fc7, 0x45f0, {0x90, 0x6e, 0x2a, 0x46, 0xb6, 0xe1, 0x19, 0xcf}} // {0AA7BFEA-1FC7-45f0-906E-2A46B6E119CF}
};
diff --git a/protocols/Yahoo/src/version.h b/protocols/Yahoo/src/version.h
index 0231d7a7ea..3137a6c3a5 100644
--- a/protocols/Yahoo/src/version.h
+++ b/protocols/Yahoo/src/version.h
@@ -1,3 +1,12 @@
#define __FILEVERSION_STRING 0,11,0,1
#define __VERSION_STRING "0.11.0.1"
#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0, 11, 0, 1)
+
+
+#define __PLUGIN_NAME "Yahoo Protocol"
+#define __DESCRIPTION "Yahoo Protocol support for Miranda NG."
+#define __AUTHOR "Gennady Feldman"
+#define __AUTHOREMAIL "gena01@miranda-im.org"
+#define __COPYRIGHT "© 2003-2010 Gennady Feldman, Laurent Marechal"
+#define __AUTHORWEB "http://miranda-ng.org/"
+