From 270bb13b129af1ef92037c836a730752b3ea2e0a Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 20 Jan 2014 18:54:54 +0000 Subject: RemovePersonalSettings translation fix (thx person) git-svn-id: http://svn.miranda-ng.org/main/trunk@7800 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/RemovePersonalSettings/src/rps.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'plugins/RemovePersonalSettings/src/rps.cpp') diff --git a/plugins/RemovePersonalSettings/src/rps.cpp b/plugins/RemovePersonalSettings/src/rps.cpp index e795a09277..a05f899982 100644 --- a/plugins/RemovePersonalSettings/src/rps.cpp +++ b/plugins/RemovePersonalSettings/src/rps.cpp @@ -50,6 +50,11 @@ Based on work by nullbie #define METACONTACTS_PROTOCOL_NAME "MetaContacts" +#define NOTICE_TEXT LPGEN("All your personal settings will be erased!\n\ +Make sure you are running this from a copy of your profile (and not over the original one).\n\ +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)") HINSTANCE hInst; char gIniFile[MAX_PATH]; @@ -123,7 +128,7 @@ extern "C" int __declspec(dllexport) Load() mi.position=-0x7FFFFFFF; mi.flags=0; mi.hIcon=LoadSkinnedIcon(SKINICON_OTHER_MIRANDA); - mi.pszName="Remove Personal Settings..."; + mi.pszName=LPGEN("Remove Personal Settings..."); mi.pszService="RemovePersonalSettings/RemoveAll"; Menu_AddMainMenuItem(&mi); @@ -176,13 +181,7 @@ INT_PTR RemoveAllService(WPARAM wParam,LPARAM lParam) return -1; } - if (MessageBox(NULL,Translate("All your personal settings will be erased!\n" - "Make sure you are running this from a copy of your profile (and not over the original one).\n" - "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 )"), Translate("Remove Personal Settings"),MB_YESNO) + if (MessageBox(NULL, Translate(NOTICE_TEXT), Translate("Remove Personal Settings"),MB_YESNO) == IDYES) { SetProtocolsOffline(); -- cgit v1.2.3