summaryrefslogtreecommitdiff
path: root/plugins/RemovePersonalSettings
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-01-20 19:17:55 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-01-20 19:17:55 +0000
commit1c8d1e0b8ec71f7a28db457cf77a99614ccfc758 (patch)
tree0dd6e28c7b6ba30c5e34520396d7003bc6c3d732 /plugins/RemovePersonalSettings
parent72d54cf626c5621c062c105bfc037b629da78795 (diff)
RemovePersonalSettings translation fix pt. 2
git-svn-id: http://svn.miranda-ng.org/main/trunk@7802 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/RemovePersonalSettings')
-rw-r--r--plugins/RemovePersonalSettings/src/rps.cpp23
1 files changed, 12 insertions, 11 deletions
diff --git a/plugins/RemovePersonalSettings/src/rps.cpp b/plugins/RemovePersonalSettings/src/rps.cpp
index a05f899982..228d6728ef 100644
--- a/plugins/RemovePersonalSettings/src/rps.cpp
+++ b/plugins/RemovePersonalSettings/src/rps.cpp
@@ -56,6 +56,8 @@ Running this will erase files/folders under Miranda main folder.\n\n\
Are you sure you want to remove all your personal settings?\n\n\
(You cannot say that I don't told you about the risks :P)")
+#define MSGBOX_TITLE LPGEN("Remove Personal Settings")
+
HINSTANCE hInst;
char gIniFile[MAX_PATH];
char gMirandaDir[MAX_PATH];
@@ -65,13 +67,13 @@ int hLangpack;
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
- "Remove Personal Settings",
- PLUGIN_MAKE_VERSION(0,1,0,4),
- "Remove personal settings to allow to send a profile to other user(s) without sending personal data.",
- "Ricardo Pescuma Domenecci",
- "",
- "© 2007-2009 Ricardo Pescuma Domenecci",
- "http://miranda-ng.org/p/RPS/",
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
// {60E94B84-A799-4021-9449-5B838FC06A7C}
{ 0x60e94b84, 0xa799, 0x4021, { 0x94, 0x49, 0x5b, 0x83, 0x8f, 0xc0, 0x6a, 0x7c } }
@@ -177,12 +179,11 @@ INT_PTR RemoveAllService(WPARAM wParam,LPARAM lParam)
{
if (gIniFile[0] == '\0')
{
- MessageBox(NULL, Translate("Configuration file could not be found!"), Translate("Remove Personal Settings"), MB_OK | MB_ICONERROR);
+ MessageBox(NULL, Translate("Configuration file could not be found!"), Translate(MSGBOX_TITLE), MB_OK | MB_ICONERROR);
return -1;
}
- if (MessageBox(NULL, Translate(NOTICE_TEXT), Translate("Remove Personal Settings"),MB_YESNO)
- == IDYES)
+ if (MessageBox(NULL, Translate(NOTICE_TEXT), Translate(MSGBOX_TITLE), MB_YESNO) == IDYES)
{
SetProtocolsOffline();
RemoveUsers();
@@ -191,7 +192,7 @@ INT_PTR RemoveAllService(WPARAM wParam,LPARAM lParam)
RemoveDirectories();
DisablePlugins();
- MessageBox(NULL,Translate("Settings are deleted now."), Translate("Remove Personal Settings"),MB_OK | MB_ICONINFORMATION);
+ MessageBox(NULL, Translate("Settings are deleted now."), Translate(MSGBOX_TITLE), MB_OK | MB_ICONINFORMATION);
}
return 0;