diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-01-20 18:54:54 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-01-20 18:54:54 +0000 |
commit | 270bb13b129af1ef92037c836a730752b3ea2e0a (patch) | |
tree | dacfd67d045d86f5ce3c0187f2131d3f2d8c638d /plugins/RemovePersonalSettings/src | |
parent | 9df91ea99a4f42aed3680e4e415e46c7da748e59 (diff) |
RemovePersonalSettings translation fix (thx person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7800 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/RemovePersonalSettings/src')
-rw-r--r-- | plugins/RemovePersonalSettings/src/rps.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
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();
|