summaryrefslogtreecommitdiff
path: root/yamn/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yamn/main.cpp')
-rw-r--r--yamn/main.cpp17
1 files changed, 10 insertions, 7 deletions
diff --git a/yamn/main.cpp b/yamn/main.cpp
index 9abb1a9..3a7db58 100644
--- a/yamn/main.cpp
+++ b/yamn/main.cpp
@@ -52,13 +52,15 @@ static int iDllPlugins=0;
PLUGINLINK *pluginLink;
YAMN_VARIABLES YAMNVar;
+int hLangpack;
+
static const MUUID interfaces[] = {MUUID_YAMN_FORCECHECK, MIID_LAST};
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
YAMN_SHORTNAME,
YAMN_VERSION,
- "Mail notifier and browser for Miranda IM. Included POP3 protocol.",
+ "Mail notifier and browser for Miranda IM. Included POP3 protocol. Mod for Mataes Pack.",
"y_b tweety (majvan)",
"francois.mean@skynet.be",
"© (2002-2004 majvan) 2005-2007 tweety y_b Miranda community",
@@ -325,7 +327,7 @@ int SystemModulesLoaded(WPARAM,LPARAM){
for (int i=0; i<ICONSNUMBER; i++){
sid.iDefaultIndex = -iconIndexes[i];
sid.pszName = iconNames[i];
- sid.pszDescription = Translate(iconDescs[i]);
+ sid.pszDescription = iconDescs[i];
sid.hDefaultIcon = hYamnIcons[i];
CallService(MS_SKIN2_ADDICON, 0, (LPARAM)&sid);
if (temp = (HICON) CallService(MS_SKIN2_GETICON, 0, (LPARAM) iconNames[i]))hYamnIcons[i]=temp;
@@ -340,19 +342,19 @@ int SystemModulesLoaded(WPARAM,LPARAM){
mi.position = 0xb0000000;
mi.flags = 0;
mi.hIcon = hYamnIcons[5];
- mi.pszName = Translate("Check &mail (All Account)");
+ mi.pszName = "Check &mail (All Account)";
mi.pszPopupName = NULL;//ProtoName;
mi.pszService = MS_YAMN_FORCECHECK;
- if(DBGetContactSettingByte(NULL, YAMN_DBMODULE, YAMN_SHOWMAINMENU, 0))
+ if(DBGetContactSettingByte(NULL, YAMN_DBMODULE, YAMN_SHOWMAINMENU, 1))
hMenuItemMain = (HANDLE) CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&mi);
- mi.pszName = Translate("Check &mail (This Account)");
+ mi.pszName = "Check &mail (This Account)";
mi.pszContactOwner = ProtoName;
mi.pszService = MS_YAMN_CLISTCONTEXT;
hMenuItemCont = (HANDLE) CallService(MS_CLIST_ADDCONTACTMENUITEM,0,(LPARAM)&mi);
mi.hIcon = hYamnIcons[4];
- mi.pszName = Translate("Launch application");
+ mi.pszName = "Launch application";
mi.pszContactOwner = ProtoName;
mi.pszService = MS_YAMN_CLISTCONTEXTAPP;
hMenuItemContApp = (HANDLE) CallService(MS_CLIST_ADDCONTACTMENUITEM,0,(LPARAM)&mi);
@@ -393,7 +395,7 @@ int SystemModulesLoaded(WPARAM,LPARAM){
//char AccountFolder[MAX_PATH];
//CallService(MS_DB_GETPROFILEPATH, (WPARAM) MAX_PATH, (LPARAM)AccountFolder);
//sprintf(AccountFolder,"%s\\%s",AccountFolder,ProtoName);
- hAccountFolder = FoldersRegisterCustomPathW(ProtoName,YAMN_DBMODULE" Account Folder",UserDirectory);
+ hAccountFolder = FoldersRegisterCustomPathW(ProtoName,YAMN_DBMODULE" Account Folder", UserDirectory);
FoldersGetCustomPathW(hAccountFolder, UserDirectory, MAX_PATH, UserDirectory);
//MultiByteToWideChar(CP_ACP,MB_USEGLYPHCHARS,AccountFolder,-1,UserDirectory,strlen(AccountFolder)+1);
@@ -414,6 +416,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
int i,k;
pluginLink=link;
+ mir_getLP(&pluginInfo);
YAMN_STATUS = ID_STATUS_OFFLINE;