From 2815bf4db9f637c7b82e9e484510f8a19b0203db Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Fri, 5 Feb 2016 23:40:44 +0000 Subject: ContextHelp: decapitalization git-svn-id: http://svn.miranda-ng.org/main/trunk@16227 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ContextHelp/res/resource.rc | 18 +++++++++--------- plugins/ContextHelp/src/datastore.cpp | 2 +- plugins/ContextHelp/src/dlgboxsubclass.cpp | 6 +++--- plugins/ContextHelp/src/helpdlg.cpp | 2 +- plugins/ContextHelp/src/helppack.cpp | 2 +- plugins/ContextHelp/src/main.cpp | 2 +- plugins/ContextHelp/src/options.cpp | 2 +- plugins/ContextHelp/src/version.h | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/plugins/ContextHelp/res/resource.rc b/plugins/ContextHelp/res/resource.rc index 115df3e643..f915b51fa6 100644 --- a/plugins/ContextHelp/res/resource.rc +++ b/plugins/ContextHelp/res/resource.rc @@ -79,7 +79,7 @@ STYLE DS_FIXEDSYS | DS_NOFAILCREATE | WS_CHILD EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - GROUPBOX "Context Help",IDC_STATIC,0,0,191,48 + GROUPBOX "Context help",IDC_STATIC,0,0,191,48 CONTROL "&Automatically show help when hovered", IDC_AUTOTIPSENABLED,"Button",BS_AUTOCHECKBOX | BS_TOP | WS_GROUP | WS_TABSTOP,10,13,174,9 @@ -121,10 +121,10 @@ END IDD_UPDATENOTIFY DIALOG DISCARDABLE 0, 0, 259, 115 STYLE DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "Help Pack Update Now Available" +CAPTION "Help pack update now available" FONT 8, "MS Shell Dlg" BEGIN - LTEXT "A new version of a Help Pack is now available. Click the install button to download and install this new update.", + LTEXT "A new version of a help pack is now available. Click the install button to download and install this new update.", IDC_STATIC,8,7,243,21,SS_NOPREFIX CONTROL "Language:",IDC_LANGUAGELABEL,"Static",SS_SIMPLE | SS_NOPREFIX | WS_GROUP,8,29,65,8 @@ -138,7 +138,7 @@ BEGIN SS_NOPREFIX | WS_GROUP,8,58,65,8 EDITTEXT IDC_NEWVERSION,78,58,173,8,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER - PUSHBUTTON "&Install Now",IDOK,7,73,66,15,WS_GROUP + PUSHBUTTON "&Install now",IDOK,7,73,66,15,WS_GROUP CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,92,245,1 DEFPUSHBUTTON "Close",IDCANCEL,202,96,50,15 END @@ -172,7 +172,7 @@ BEGIN LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_GROUP | WS_TABSTOP,2,3,299,61 GROUPBOX "",IDC_LANGINFOFRAME,2,68,298,119,WS_GROUP - CTEXT "No Help Pack installed!",IDC_NOPACK,5,75,289,108, + CTEXT "No help pack installed!",IDC_NOPACK,5,75,289,108, SS_NOPREFIX | SS_CENTERIMAGE | NOT WS_VISIBLE RTEXT "Author(s):",IDC_LANGAUTHORSLABEL,5,78,66,9,SS_NOPREFIX EDITTEXT IDC_LANGAUTHORS,74,78,220,18,ES_MULTILINE | @@ -199,12 +199,12 @@ BEGIN LBS_SORT | LBS_HASSTRINGS | LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | NOT WS_BORDER | WS_VSCROLL | WS_TABSTOP,WS_EX_TRANSPARENT - CONTROL "Download more Help Packs",IDC_MORELANG,"Hyperlink", + CONTROL "Download more help packs",IDC_MORELANG,"Hyperlink", WS_GROUP | WS_TABSTOP | 0x1,2,191,299,10 - CONTROL "Check for new &versions of Help Packs periodically", + CONTROL "Check for new &versions of help packs periodically", IDC_ENABLEHELPUPDATES,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,2,214,209,10 - PUSHBUTTON "&Download Language",IDC_DOWNLOADLANG,213,213,86,14, + PUSHBUTTON "&Download language",IDC_DOWNLOADLANG,213,213,86,14, WS_GROUP END @@ -279,7 +279,7 @@ BEGIN END #endif // APSTUDIO_INVOKED -#endif // Englisch (GB) resources +#endif // English (GB) resources ///////////////////////////////////////////////////////////////////////////// diff --git a/plugins/ContextHelp/src/datastore.cpp b/plugins/ContextHelp/src/datastore.cpp index 84c7474e21..2e63343a96 100644 --- a/plugins/ContextHelp/src/datastore.cpp +++ b/plugins/ContextHelp/src/datastore.cpp @@ -580,7 +580,7 @@ static void DialogCacheSaveThread(void *unused) dialogCache[i].timeLoaded = GetTickCount(); } */ - MessageBoxEx(NULL, success ? TranslateT("Help saving complete.") : TranslateT("Help saving failed!"), TranslateT("Help Editor"), (success ? MB_ICONINFORMATION : MB_ICONERROR) | MB_OK | MB_SETFOREGROUND | MB_TOPMOST | MB_TASKMODAL, LANGIDFROMLCID(Langpack_GetDefaultLocale())); + MessageBoxEx(NULL, success ? TranslateT("Help saving complete.") : TranslateT("Help saving failed!"), TranslateT("Help editor"), (success ? MB_ICONINFORMATION : MB_ICONERROR) | MB_OK | MB_SETFOREGROUND | MB_TOPMOST | MB_TASKMODAL, LANGIDFROMLCID(Langpack_GetDefaultLocale())); } void SaveDialogCache(void) diff --git a/plugins/ContextHelp/src/dlgboxsubclass.cpp b/plugins/ContextHelp/src/dlgboxsubclass.cpp index ab0a63f4dd..ebbef31a82 100644 --- a/plugins/ContextHelp/src/dlgboxsubclass.cpp +++ b/plugins/ContextHelp/src/dlgboxsubclass.cpp @@ -250,7 +250,7 @@ static LRESULT CALLBACK DialogBoxSubclassProc(HWND hwndDlg, UINT msg, WPARAM wPa idMouseMoveTimer = 0; break; case WM_SYSCOMMAND: - if ((UINT)wParam == SC_CONTEXTHELP_DIALOG) { // alt. "What's this Dialog?" + if ((UINT)wParam == SC_CONTEXTHELP_DIALOG) { // alt. "What's this dialog?" if (idMouseMoveTimer) KillTimer(NULL, idMouseMoveTimer); idMouseMoveTimer = 0; @@ -305,7 +305,7 @@ static LRESULT CALLBACK DialogBoxSubclassProc(HWND hwndDlg, UINT msg, WPARAM wPa } if (IsRealChild(hwndDlg, hwndCtl)) { HMENU hMenu = CreatePopupMenu(); - AppendMenu(hMenu, MF_STRING, SC_CONTEXTHELP, (hwndCtl == hwndDlg) ? TranslateT("&What's this Dialog?") : TranslateT("&What's this?")); + AppendMenu(hMenu, MF_STRING, SC_CONTEXTHELP, (hwndCtl == hwndDlg) ? TranslateT("&What's this dialog?") : TranslateT("&What's this?")); if (TrackPopupMenuEx(hMenu, TPM_LEFTALIGN | TPM_TOPALIGN | TPM_HORPOSANIMATION | TPM_VERPOSANIMATION | TPM_RIGHTBUTTON | TPM_RETURNCMD | TPM_NONOTIFY, pt.x, pt.y, hwndDlg, NULL)) { if (hwndHelpDlg == NULL) { hwndHelpDlg = CreateDialog(hInst, MAKEINTRESOURCE(IDD_HELP), NULL, HelpDlgProc); @@ -411,7 +411,7 @@ static LRESULT CALLBACK HelpSendMessageHookProc(int code, WPARAM wParam, LPARAM hMenu = GetSystemMenu(msg->hwnd, FALSE); if (hMenu != NULL && AppendMenu(hMenu, MF_SEPARATOR, SC_CONTEXTHELP_SEPARATOR, NULL)) { AppendMenu(hMenu, MF_STRING, SC_CONTEXTHELP, TranslateT("&What's this?")); - AppendMenu(hMenu, MF_STRING, SC_CONTEXTHELP_DIALOG, TranslateT("&What's this Dialog?")); + AppendMenu(hMenu, MF_STRING, SC_CONTEXTHELP_DIALOG, TranslateT("&What's this dialog?")); } } { diff --git a/plugins/ContextHelp/src/helpdlg.cpp b/plugins/ContextHelp/src/helpdlg.cpp index b035777a0f..7a6dee18f4 100644 --- a/plugins/ContextHelp/src/helpdlg.cpp +++ b/plugins/ContextHelp/src/helpdlg.cpp @@ -386,7 +386,7 @@ INT_PTR CALLBACK HelpDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara SetDlgItemText(hwndDlg, IDC_CTLTEXT, text); } #else - SetDlgItemText(hwndDlg, IDC_CTLTEXT, TranslateT("No Help Pack installed!")); + SetDlgItemText(hwndDlg, IDC_CTLTEXT, TranslateT("No help pack installed!")); #endif SetDlgItemText(hwndDlg, IDC_TEXT, NULL); MessageBeep(MB_ICONERROR); diff --git a/plugins/ContextHelp/src/helppack.cpp b/plugins/ContextHelp/src/helppack.cpp index c8a21105aa..b5897cbe0d 100644 --- a/plugins/ContextHelp/src/helppack.cpp +++ b/plugins/ContextHelp/src/helppack.cpp @@ -171,7 +171,7 @@ static BOOL LoadPackData(HELPPACK_INFO *pack, BOOL fEnabledPacks, const char *ps Plugins-included: (multiple tags allowed) X-FLName: name as used on the file listing (non-standard extension) X-Version: 1.2.3.4 (non-standard extension) - see 'Help-Translation.txt' for some header quidelines + see 'Help-Translation.txt' for some header guidelines */ if (!GetPackPath(szFileName, sizeof(szFileName), fEnabledPacks, pack->szFileName)) return FALSE; diff --git a/plugins/ContextHelp/src/main.cpp b/plugins/ContextHelp/src/main.cpp index 66cc756c67..ed2ba99d7f 100644 --- a/plugins/ContextHelp/src/main.cpp +++ b/plugins/ContextHelp/src/main.cpp @@ -97,7 +97,7 @@ extern "C" __declspec(dllexport) int Load(void) if (LoadLibrary(_T("riched20.dll")) == NULL) /* richedit v2.0 (Win98/NT4), v3.0 (WinXP/2000/Me+) */ if (IDYES != MessageBoxEx(NULL, TranslateT("The Help Plugin can not be loaded, riched20.dll is missing. If you are using WINE please make sure you have riched20.dll installed.\n\nPress 'Yes' to continue loading Miranda NG."), - TranslateT("Help Plugin"), MB_YESNO | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST | MB_TASKMODAL, LANGIDFROMLCID(Langpack_GetDefaultLocale()))) + TranslateT("Help plugin"), MB_YESNO | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST | MB_TASKMODAL, LANGIDFROMLCID(Langpack_GetDefaultLocale()))) return 1; if (InstallDialogBoxHook()) diff --git a/plugins/ContextHelp/src/options.cpp b/plugins/ContextHelp/src/options.cpp index 1078bd2e4e..564630d8b3 100644 --- a/plugins/ContextHelp/src/options.cpp +++ b/plugins/ContextHelp/src/options.cpp @@ -769,7 +769,7 @@ static int HelpOptInit(WPARAM wParam, LPARAM) Options_AddPage(wParam, &odp); #ifdef EDITOR - odp.ptszTab = _T("Help Editor"); /* autotranslated */ + odp.ptszTab = _T("Help editor"); /* autotranslated */ #else odp.ptszTab = _T("Advanced"); /* autotranslated */ #endif diff --git a/plugins/ContextHelp/src/version.h b/plugins/ContextHelp/src/version.h index a1007a2174..d8257095d4 100644 --- a/plugins/ContextHelp/src/version.h +++ b/plugins/ContextHelp/src/version.h @@ -50,4 +50,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define __AUTHOR "Richard Hughes, H. Herkenrath, Miranda NG Team" #define __AUTHOREMAIL "" #define __AUTHORWEB "http://miranda-ng.org/p/ContextHelp/" -#define __COPYRIGHT "© 2002 Richard Hughes, 2005-2007 H. Herkenrath, 2016-16 Miranda NG Team" +#define __COPYRIGHT "© 2002 Richard Hughes, 2005-2007 H. Herkenrath, 2016 Miranda NG Team" -- cgit v1.2.3