From a6459760925f86dd94a8b1e7c0aed9ca27f45f5d Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Fri, 6 Dec 2013 11:37:33 +0000 Subject: MsgPopup: cosmetics, spelling correction git-svn-id: http://svn.miranda-ng.org/main/trunk@7068 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MsgPopup/res/MsgPopup.rc | 24 ++++++++++++------------ plugins/MsgPopup/src/Version.h | 2 +- plugins/MsgPopup/src/main.cpp | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) (limited to 'plugins/MsgPopup') diff --git a/plugins/MsgPopup/res/MsgPopup.rc b/plugins/MsgPopup/res/MsgPopup.rc index 1487857a3c..c4a3406758 100644 --- a/plugins/MsgPopup/res/MsgPopup.rc +++ b/plugins/MsgPopup/res/MsgPopup.rc @@ -31,33 +31,33 @@ FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN CONTROL "",IDC_ASTERISK_FG,"ColourPicker",WS_GROUP | WS_TABSTOP,56,16,39,12,WS_EX_NOPARENTNOTIFY GROUPBOX "ASTERISK style",IDC_STATIC,0,1,295,37 - LTEXT "Background",IDC_STATIC,113,18,40,8 - LTEXT "Foreground",IDC_STATIC,8,18,37,8 + LTEXT "Background color",IDC_STATIC,113,18,40,8 + LTEXT "Text color",IDC_STATIC,8,18,37,8 CONTROL "",IDC_ASTERISK_BG,"ColourPicker",WS_GROUP | WS_TABSTOP,161,16,39,12,WS_EX_NOPARENTNOTIFY CONTROL "",IDC_ERROR_FG,"ColourPicker",WS_GROUP | WS_TABSTOP,56,56,39,12,WS_EX_NOPARENTNOTIFY GROUPBOX "ERROR style",IDC_STATIC,0,41,295,37 - LTEXT "Background",IDC_STATIC,113,58,40,8 - LTEXT "Foreground",IDC_STATIC,8,58,37,8 + LTEXT "Background color",IDC_STATIC,113,58,40,8 + LTEXT "Text color",IDC_STATIC,8,58,37,8 CONTROL "",IDC_ERROR_BG,"ColourPicker",WS_GROUP | WS_TABSTOP,161,56,39,12,WS_EX_NOPARENTNOTIFY CONTROL "",IDC_EXCLAMATION_FG,"ColourPicker",WS_GROUP | WS_TABSTOP,56,96,39,12,WS_EX_NOPARENTNOTIFY GROUPBOX "EXCLAMATION style",IDC_STATIC,0,81,295,37 - LTEXT "Background",IDC_STATIC,113,98,40,8 - LTEXT "Foreground",IDC_STATIC,8,98,37,8 + LTEXT "Background color",IDC_STATIC,113,98,40,8 + LTEXT "Text color",IDC_STATIC,8,98,37,8 CONTROL "",IDC_EXCLAMATION_BG,"ColourPicker",WS_GROUP | WS_TABSTOP,161,96,39,12,WS_EX_NOPARENTNOTIFY CONTROL "",IDC_QUESTION_FG,"ColourPicker",WS_GROUP | WS_TABSTOP,56,136,39,12,WS_EX_NOPARENTNOTIFY GROUPBOX "QUESTION style",IDC_STATIC,0,121,295,37 - LTEXT "Background",IDC_STATIC,113,138,40,8 - LTEXT "Foreground",IDC_STATIC,8,138,37,8 + LTEXT "Background color",IDC_STATIC,113,138,40,8 + LTEXT "Text color",IDC_STATIC,8,138,37,8 CONTROL "",IDC_QUESTION_BG,"ColourPicker",WS_GROUP | WS_TABSTOP,161,136,39,12,WS_EX_NOPARENTNOTIFY PUSHBUTTON "Preview",IDC_PREVIEW,234,162,50,14 - LTEXT "Timeout",IDC_STATIC,213,18,26,8 + LTEXT "Timeout",IDC_STATIC,213,18,30,8 EDITTEXT IDC_TIMEOUT1,245,15,40,14,ES_AUTOHSCROLL LTEXT "Special values of the ""Timeout"":\n -1 - infinity, 0 - use default timeout value",IDC_STATIC,17,160,137,18 - LTEXT "Timeout",IDC_STATIC,213,58,26,8 + LTEXT "Timeout",IDC_STATIC,213,58,30,8 EDITTEXT IDC_TIMEOUT2,245,55,40,14,ES_AUTOHSCROLL - LTEXT "Timeout",IDC_STATIC,213,98,26,8 + LTEXT "Timeout",IDC_STATIC,213,98,30,8 EDITTEXT IDC_TIMEOUT3,245,95,40,14,ES_AUTOHSCROLL - LTEXT "Timeout",IDC_STATIC,213,138,26,8 + LTEXT "Timeout",IDC_STATIC,213,138,30,8 EDITTEXT IDC_TIMEOUT4,245,135,40,14,ES_AUTOHSCROLL CONTROL "Emit a sound",IDC_MESSAGEBEEP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,167,164,57,10 END diff --git a/plugins/MsgPopup/src/Version.h b/plugins/MsgPopup/src/Version.h index e62c25f03f..34f9e44e4a 100644 --- a/plugins/MsgPopup/src/Version.h +++ b/plugins/MsgPopup/src/Version.h @@ -7,7 +7,7 @@ #define __PLUGIN_NAME "Message popup" #define __FILENAME "MsgPopup.dll" -#define __DESCRIPTION "Plugin replaces MessageBoxes (those having only OK button) with popups." +#define __DESCRIPTION "Plugin replaces message boxes (those having only OK button) with popups." #define __AUTHOR "StDenis" #define __AUTHOREMAIL "stdenformiranda@fromru.com" #define __AUTHORWEB "http://miranda-ng.org/p/MsgPopup/" diff --git a/plugins/MsgPopup/src/main.cpp b/plugins/MsgPopup/src/main.cpp index 4c3121d726..62f893c7cb 100644 --- a/plugins/MsgPopup/src/main.cpp +++ b/plugins/MsgPopup/src/main.cpp @@ -143,7 +143,7 @@ void HookOnImport(HMODULE hModule, char *lpszImpModName, DWORD lpOrigFunc, DWORD g_HookError = TRUE; mir_sntprintf(buf, SIZEOF(buf), TranslateT("VirtualProtect failed. Code %d\nTry to call the author"), GetLastError()); - prevMessageBox(0, buf, TranslateT("MsgBox"), MB_OK); + prevMessageBox(0, buf, TranslateT("Error"), MB_OK); } } *(DWORD*)ppfn = lpNewFunc; @@ -152,7 +152,7 @@ void HookOnImport(HMODULE hModule, char *lpszImpModName, DWORD lpOrigFunc, DWORD if(!g_HookError2) { g_HookError2 = TRUE; - prevMessageBox(0, TranslateT("Hmm. Something goes wrong. I can't write into the memory.\nAnd as you can see, there are no any exception raised...\nTry to call the author"), TranslateT("MsgBox"), MB_OK); + prevMessageBox(0, TranslateT("Hmm. Something goes wrong. I can't write into the memory.\nAnd as you can see, there are no any exception raised...\nTry to call the author"), TranslateT("Error"), MB_OK); } } } -- cgit v1.2.3