diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-01-20 19:17:55 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-01-20 19:17:55 +0000 |
commit | 1c8d1e0b8ec71f7a28db457cf77a99614ccfc758 (patch) | |
tree | 0dd6e28c7b6ba30c5e34520396d7003bc6c3d732 | |
parent | 72d54cf626c5621c062c105bfc037b629da78795 (diff) |
RemovePersonalSettings translation fix pt. 2
git-svn-id: http://svn.miranda-ng.org/main/trunk@7802 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 | 23 |
3 files changed, 15 insertions, 14 deletions
diff --git a/langpacks/english/Plugins/RemovePersonalSettings.txt b/langpacks/english/Plugins/RemovePersonalSettings.txt index 8296ae8d03..e4461657be 100644 --- a/langpacks/english/Plugins/RemovePersonalSettings.txt +++ b/langpacks/english/Plugins/RemovePersonalSettings.txt @@ -8,7 +8,7 @@ [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]
[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 ffc9cd45f9..6527d83014 100644 --- a/langpacks/russian/Plugins/RemovePersonalSettings.txt +++ b/langpacks/russian/Plugins/RemovePersonalSettings.txt @@ -9,11 +9,11 @@ Удаление личных настроек для возможности отправки профиля другим пользователям без личных данных.
[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Эта операция необратима, удостоверьтесь, что вы собираетесь это сделать на копии профиля (но не на основном).\nБудут стерты папки и файлы с вашими личным данными\n\nВы уверены, что хотите стереть все личные настройки и данные?\n\n(Не говорите потом, что вас не предупреждали!)
+[Remove Personal Settings]
+Удаление личных настроек
[Remove Personal Settings...]
Удалить личные настройки...
[Configuration file could not be found!]
Файл конфигурации не найден!
-[Remove Personal Settings]
-Удаление личных настроек
[Settings are deleted now.]
Настройки были удалены
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;
|