From 9ab016e9b7c1a3c24d7871b9297c3f12a597e3ab Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 3 Jan 2013 12:53:27 +0000 Subject: plugin names standartizaion git-svn-id: http://svn.miranda-ng.org/main/trunk@2924 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AddContactPlus/src/Version.h | 10 ++-------- plugins/AddContactPlus/src/addcontact.cpp | 17 ++++++----------- plugins/AddContactPlus/src/addcontactplus.h | 4 ++-- plugins/AddContactPlus/src/main.cpp | 12 ++++++------ 4 files changed, 16 insertions(+), 27 deletions(-) (limited to 'plugins') diff --git a/plugins/AddContactPlus/src/Version.h b/plugins/AddContactPlus/src/Version.h index bcbfc27638..978d3d01b7 100644 --- a/plugins/AddContactPlus/src/Version.h +++ b/plugins/AddContactPlus/src/Version.h @@ -4,17 +4,11 @@ #define __BUILD_NUM 1 #define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM -#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM -#define __STRINGIFY_IMPL(x) #x -#define __STRINGIFY(x) __STRINGIFY_IMPL(x) -#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS) - -#define __PLUGIN_NAME "AddContact+" -#define __INTERNAL_NAME "AddContact+" +#define __PLUGIN_NAME "Add contact+" #define __FILENAME "AddContactPlus.dll" #define __DESCRIPTION "Provides the ability to quickly add new contacts." #define __AUTHOR "Bartosz 'Dezeath' Białek" #define __AUTHOREMAIL "dezred@gmail.com" #define __AUTHORWEB "http://miranda-ng.org/" -#define __COPYRIGHT "© 2007-2012 Bartosz 'Dezeath' Białek" +#define __COPYRIGHT "© 2007-2013 Bartosz 'Dezeath' Białek, Miranda NG Team" diff --git a/plugins/AddContactPlus/src/addcontact.cpp b/plugins/AddContactPlus/src/addcontact.cpp index 38749f997b..2c36cb890b 100644 --- a/plugins/AddContactPlus/src/addcontact.cpp +++ b/plugins/AddContactPlus/src/addcontact.cpp @@ -1,13 +1,8 @@ /* +AddContact+ plugin for Miranda NG -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2011 Miranda ICQ/IM project, -all portions of this codebase are copyrighted to the people -listed in contributors.txt. - -Portions of this code modified for AddContact+ plugin Copyright (C) 2007-2011 Bartosz 'Dezeath' Białek +Copyright (C) 2012-2013 Miranda NG Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -298,7 +293,7 @@ INT_PTR CALLBACK AddContactDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lp { MessageBox(NULL, TranslateT("The contact cannot be added to your contact list. Please make sure the contact ID is entered correctly."), - TranslateT("Add Contact"), MB_OK | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST); + TranslateT("Add contact"), MB_OK | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST); break; } @@ -313,7 +308,7 @@ INT_PTR CALLBACK AddContactDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lp { MessageBox(NULL, TranslateT("The contact cannot be added to your contact list. Please make sure the contact ID is entered correctly."), - TranslateT("Add Contact"), MB_OK | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST); + TranslateT("Add contact"), MB_OK | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST); break; } psr = (PROTOSEARCHRESULT*)mir_calloc(sizeof(MYPROTOSEARCHRESULT)); @@ -326,7 +321,7 @@ INT_PTR CALLBACK AddContactDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lp { MessageBox(NULL, TranslateT("The contact cannot be added to your contact list. Please make sure the contact ID is entered correctly."), - TranslateT("Add Contact"), MB_OK | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST); + TranslateT("Add contact"), MB_OK | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST); break; } psr = (PROTOSEARCHRESULT*)mir_calloc(sizeof(TLEN_SEARCH_RESULT)); @@ -349,7 +344,7 @@ INT_PTR CALLBACK AddContactDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lp { MessageBox(NULL, TranslateT("The contact cannot be added to your contact list. If you are not logged into the selected account, please try to do so. Also, make sure the contact ID is entered correctly."), - TranslateT("Add Contact"), MB_OK | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST); + TranslateT("Add contact"), MB_OK | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST); break; } diff --git a/plugins/AddContactPlus/src/addcontactplus.h b/plugins/AddContactPlus/src/addcontactplus.h index 29da1dfa17..b809e7996f 100644 --- a/plugins/AddContactPlus/src/addcontactplus.h +++ b/plugins/AddContactPlus/src/addcontactplus.h @@ -1,8 +1,8 @@ /* - -AddContact+ plugin for Miranda IM +AddContact+ plugin for Miranda NG Copyright (C) 2007-2011 Bartosz 'Dezeath' Białek +Copyright (C) 2012-2013 Miranda NG Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/plugins/AddContactPlus/src/main.cpp b/plugins/AddContactPlus/src/main.cpp index a13acbe7b1..b33d36a718 100644 --- a/plugins/AddContactPlus/src/main.cpp +++ b/plugins/AddContactPlus/src/main.cpp @@ -1,8 +1,8 @@ /* - -AddContact+ plugin for Miranda IM +AddContact+ plugin for Miranda NG Copyright (C) 2007-2011 Bartosz 'Dezeath' Białek +Copyright (C) 2012-2013 Miranda NG Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ int hLangpack; static HANDLE hMainMenuItem = 0, hToolBarItem = 0; HWND hAddDlg; -static IconItem icon = { LPGEN("Add Contact"), ICON_ADD, IDI_ADDCONTACT }; +static IconItem icon = { LPGEN("Add contact"), ICON_ADD, IDI_ADDCONTACT }; ///////////////////////////////////////////////////////////////////////////////////////// @@ -93,7 +93,7 @@ static int OnAccListChanged(WPARAM, LPARAM) mi.position = 500020001; mi.flags = CMIF_ICONFROMICOLIB | CMIF_TCHAR; mi.icolibItem = icon.hIcolib; - mi.ptszName = LPGENT("&Add Contact..."); + mi.ptszName = LPGENT("&Add contact..."); mi.pszService = MS_ADDCONTACTPLUS_SHOW; hMainMenuItem = Menu_AddMainMenuItem(&mi); } @@ -114,7 +114,7 @@ static int CreateButton(WPARAM, LPARAM) TTBButton tbb = { sizeof(tbb) }; tbb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP; tbb.pszService = MS_ADDCONTACTPLUS_SHOW; - tbb.name = tbb.pszTooltipUp = LPGEN("Add Contact"); + tbb.name = tbb.pszTooltipUp = LPGEN("Add contact"); tbb.hIconHandleUp = icon.hIcolib; hToolBarItem = TopToolbar_AddButton(&tbb); return 0; @@ -125,7 +125,7 @@ static int OnModulesLoaded(WPARAM, LPARAM) HOTKEYDESC hkd = { sizeof(hkd) }; hkd.dwFlags = HKD_TCHAR; hkd.pszName = "AddContactPlus_OpenDialog"; - hkd.ptszDescription = LPGENT("Open Add Contact Dialog"); + hkd.ptszDescription = LPGENT("Open add contact dialog"); hkd.ptszSection = LPGENT("Main"); hkd.pszService = MS_ADDCONTACTPLUS_SHOW; hkd.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL | HOTKEYF_SHIFT, 'C') | HKF_MIRANDA_LOCAL; -- cgit v1.2.3