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 | |
parent | 9df91ea99a4f42aed3680e4e415e46c7da748e59 (diff) |
RemovePersonalSettings translation fix (thx person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7800 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | langpacks/english/Plugins/RemovePersonalSettings.txt | 2 | ||||
-rw-r--r-- | langpacks/russian/Plugins/RemovePersonalSettings.txt | 4 | ||||
-rw-r--r-- | plugins/RemovePersonalSettings/src/rps.cpp | 15 |
3 files changed, 13 insertions, 8 deletions
diff --git a/langpacks/english/Plugins/RemovePersonalSettings.txt b/langpacks/english/Plugins/RemovePersonalSettings.txt index 3471d4e11e..8296ae8d03 100644 --- a/langpacks/english/Plugins/RemovePersonalSettings.txt +++ b/langpacks/english/Plugins/RemovePersonalSettings.txt @@ -7,6 +7,8 @@ ;============================================================
[Remove personal settings to allow to send a profile to other user(s) without sending personal data.]
;file \plugins\RemovePersonalSettings\src\rps.cpp
+[All your personal settings will be erased!\nMake sure you are running this from a copy of your profile (and not over the original one).\nRunning this will erase files/folders under Miranda main folder.\n\nAre 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)]
+[Remove Personal Settings...]
[Configuration file could not be found!]
[Remove Personal Settings]
[Settings are deleted now.]
diff --git a/langpacks/russian/Plugins/RemovePersonalSettings.txt b/langpacks/russian/Plugins/RemovePersonalSettings.txt index ff91378754..91f0553a4d 100644 --- a/langpacks/russian/Plugins/RemovePersonalSettings.txt +++ b/langpacks/russian/Plugins/RemovePersonalSettings.txt @@ -7,6 +7,10 @@ ;============================================================
[Remove personal settings to allow to send a profile to other user(s) without sending personal data.]
Удаление личных настроек для возможности отправки профиля другим пользователям без личных данных.
+[All your personal settings will be erased!\nMake sure you are running this from a copy of your profile (and not over the original one).\nRunning this will erase files/folders under Miranda main folder.\n\nAre 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)]
+Все ваши персональные настройки будут стерты!\nЭта операция необратима, удостоверьтесь, что вы собираетесь это сделать на копии профиля (но не на основном), и сделали копию папки с Miranda IM.\nБудут стерты папки и файлы с вашими личным данными\n\nВы уверены, что хотите стереть все личные настройки и данные?\n\n(Не говорите потом, что вас не предупреждали!)
+[Remove Personal Settings...]
+Удалить личные настройки...
[Configuration file could not be found!]
Файл конфигурации не найден!
[Remove Personal Settings]
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();
|