From 773612ddd32ba046c36b3ba99c2d2d4b19246312 Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Mon, 2 Dec 2013 00:30:55 +0000 Subject: another portion of decapitalization in the core (4/5) git-svn-id: http://svn.miranda-ng.org/main/trunk@7030 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdfile/file.cpp | 2 +- src/core/stdfile/fileexistsdlg.cpp | 4 ++-- src/core/stdfile/fileopts.cpp | 4 ++-- src/core/stdfile/filerecvdlg.cpp | 8 ++++---- src/core/stdfile/filesenddlg.cpp | 6 +++--- src/core/stdfile/filexferdlg.cpp | 2 +- src/core/stdhelp/help.cpp | 4 ++-- src/core/stdmsg/src/msgdialog.cpp | 4 ++-- src/core/stdmsg/src/msgoptions.cpp | 8 ++++---- src/core/stdmsg/src/msgs.cpp | 8 ++++---- src/core/stduihist/history.cpp | 10 +++++----- src/core/stdurl/url.cpp | 2 +- src/core/stdurl/urldialogs.cpp | 8 ++++---- src/core/stduserinfo/contactinfo.cpp | 10 +++++----- src/core/stduserinfo/userinfo.cpp | 2 +- src/core/stduseronline/useronline.cpp | 2 +- src/modules/addcontact/addcontact.cpp | 2 +- src/modules/clist/clistsettings.cpp | 4 ++-- src/modules/clist/contacts.cpp | 6 +++--- src/modules/clist/genmenu.cpp | 2 +- src/modules/clist/groups.cpp | 6 +++--- src/modules/clist/keyboard.cpp | 10 +++++----- src/modules/clist/movetogroup.cpp | 4 ++-- src/modules/database/database.cpp | 2 +- src/modules/database/profilemanager.cpp | 8 ++++---- src/modules/extraicons/extraicons.cpp | 2 +- src/modules/findadd/findadd.cpp | 4 ++-- src/modules/fonts/FontOptions.cpp | 4 ++-- src/modules/icolib/skin2opts.cpp | 4 ++-- src/modules/netlib/netliblog.cpp | 4 ++-- src/modules/netlib/netlibssl.cpp | 2 +- src/modules/skin/skinicons.cpp | 2 +- src/modules/skin/sounds.cpp | 4 ++-- src/modules/utils/bmpfilter.cpp | 4 ++-- 34 files changed, 79 insertions(+), 79 deletions(-) (limited to 'src') diff --git a/src/core/stdfile/file.cpp b/src/core/stdfile/file.cpp index cd558e443c..90c2a5e0f3 100644 --- a/src/core/stdfile/file.cpp +++ b/src/core/stdfile/file.cpp @@ -418,7 +418,7 @@ int LoadSendRecvFileModule(void) CLISTMENUITEM mi = { sizeof(mi) }; mi.icolibItem = GetSkinIconHandle(SKINICON_EVENT_FILE); mi.position = 1900000000; - mi.pszName = LPGEN("File &Transfers..."); + mi.pszName = LPGEN("File &transfers..."); mi.pszService = "FtMgr/Show"; //MS_PROTO_SHOWFTMGR; Menu_AddMainMenuItem(&mi); diff --git a/src/core/stdfile/fileexistsdlg.cpp b/src/core/stdfile/fileexistsdlg.cpp index 8484c8395c..c9c36e2f5b 100644 --- a/src/core/stdfile/fileexistsdlg.cpp +++ b/src/core/stdfile/fileexistsdlg.cpp @@ -155,7 +155,7 @@ void __cdecl LoadIconsAndTypesThread(void* param) } CharUpper(szExtension); if (fileInfo.szTypeName[0] == '\0') - mir_sntprintf(fileInfo.szTypeName, SIZEOF(fileInfo.szTypeName), TranslateT("%s File"), szExtension); + mir_sntprintf(fileInfo.szTypeName, SIZEOF(fileInfo.szTypeName), TranslateT("%s file"), szExtension); SetDlgItemText(info->hwndDlg, IDC_EXISTINGTYPE, fileInfo.szTypeName); SetDlgItemText(info->hwndDlg, IDC_NEWTYPE, fileInfo.szTypeName); SendDlgItemMessage(info->hwndDlg, IDC_EXISTINGICON, STM_SETICON, (WPARAM)fileInfo.hIcon, 0); @@ -276,7 +276,7 @@ INT_PTR CALLBACK DlgProcFileExists(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400; ofn.hwndOwner = hwndDlg; ofn.Flags = OFN_PATHMUSTEXIST | OFN_OVERWRITEPROMPT | OFN_HIDEREADONLY; - _tcscpy(filter, TranslateT("All Files")); + _tcscpy(filter, TranslateT("All files")); _tcscat(filter, _T(" (*)")); pfilter = filter + _tcslen(filter) + 1; _tcscpy(pfilter, _T("*")); diff --git a/src/core/stdfile/fileopts.cpp b/src/core/stdfile/fileopts.cpp index 0bc68ea1c7..5cf5c284da 100644 --- a/src/core/stdfile/fileopts.cpp +++ b/src/core/stdfile/fileopts.cpp @@ -167,12 +167,12 @@ static INT_PTR CALLBACK DlgProcFileOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400; ofn.hwndOwner = hwndDlg; ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY | OFN_DONTADDTORECENT; - _tcscpy(filter, TranslateT("Executable Files")); + _tcscpy(filter, TranslateT("Executable files")); _tcscat(filter, _T(" (*.exe)")); pfilter = filter + _tcslen(filter) + 1; _tcscpy(pfilter, _T("*.exe")); pfilter = pfilter + _tcslen(pfilter)+1; - _tcscpy(pfilter, TranslateT("All Files")); + _tcscpy(pfilter, TranslateT("All files")); _tcscat(pfilter, _T(" (*)")); pfilter = pfilter + _tcslen(pfilter) + 1; _tcscpy(pfilter, _T("*")); diff --git a/src/core/stdfile/filerecvdlg.cpp b/src/core/stdfile/filerecvdlg.cpp index 359c9e109d..c580ac2936 100644 --- a/src/core/stdfile/filerecvdlg.cpp +++ b/src/core/stdfile/filerecvdlg.cpp @@ -144,7 +144,7 @@ void GetContactReceivedFilesDir(HANDLE hContact, TCHAR *szDir, int cchDir, BOOL if ( !szTemp[0]) - mir_sntprintf(szTemp, SIZEOF(szTemp), _T("%%mydocuments%%\\%s\\%%userid%%"), TranslateT("My Received Files")); + mir_sntprintf(szTemp, SIZEOF(szTemp), _T("%%mydocuments%%\\%s\\%%userid%%"), TranslateT("My received files")); if (hContact) { @@ -193,7 +193,7 @@ void GetReceivedFilesDir(TCHAR *szDir, int cchDir) if ( !szTemp[0]) - mir_sntprintf(szTemp, SIZEOF(szTemp), _T("%%mydocuments%%\\%s"), TranslateT("My Received Files")); + mir_sntprintf(szTemp, SIZEOF(szTemp), _T("%%mydocuments%%\\%s"), TranslateT("My received files")); patchDir(szTemp, SIZEOF(szTemp)); @@ -226,8 +226,8 @@ INT_PTR CALLBACK DlgProcRecvFile(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l Window_SetIcon_IcoLib(hwndDlg, SKINICON_EVENT_FILE); Button_SetIcon_IcoLib(hwndDlg, IDC_ADD, SKINICON_OTHER_ADDCONTACT, LPGEN("Add contact permanently to list")); Button_SetIcon_IcoLib(hwndDlg, IDC_DETAILS, SKINICON_OTHER_USERDETAILS, LPGEN("View user's details")); - Button_SetIcon_IcoLib(hwndDlg, IDC_HISTORY, SKINICON_OTHER_HISTORY, LPGEN("View User's History")); - Button_SetIcon_IcoLib(hwndDlg, IDC_USERMENU, SKINICON_OTHER_DOWNARROW, LPGEN("User Menu")); + Button_SetIcon_IcoLib(hwndDlg, IDC_HISTORY, SKINICON_OTHER_HISTORY, LPGEN("View user's history")); + Button_SetIcon_IcoLib(hwndDlg, IDC_USERMENU, SKINICON_OTHER_DOWNARROW, LPGEN("User Uenu")); TCHAR *contactName = pcli->pfnGetContactDisplayName(dat->hContact, 0); SetDlgItemText(hwndDlg, IDC_FROM, contactName); diff --git a/src/core/stdfile/filesenddlg.cpp b/src/core/stdfile/filesenddlg.cpp index 6f3f1bd976..3b2cf8f3c5 100644 --- a/src/core/stdfile/filesenddlg.cpp +++ b/src/core/stdfile/filesenddlg.cpp @@ -147,7 +147,7 @@ void __cdecl ChooseFilesThread(void* param) OPENFILENAME ofn = {0}; ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400; ofn.hwndOwner = hwndDlg; - lstrcpy(filter, TranslateT("All Files")); + lstrcpy(filter, TranslateT("All files")); lstrcat(filter, _T(" (*)")); pfilter = filter + lstrlen(filter)+1; lstrcpy(pfilter, _T("*")); @@ -213,8 +213,8 @@ INT_PTR CALLBACK DlgProcSendFile(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l Window_SetIcon_IcoLib(hwndDlg, SKINICON_EVENT_FILE); Button_SetIcon_IcoLib(hwndDlg, IDC_DETAILS, SKINICON_OTHER_USERDETAILS, LPGEN("View user's details")); - Button_SetIcon_IcoLib(hwndDlg, IDC_HISTORY, SKINICON_OTHER_HISTORY, LPGEN("View User's History")); - Button_SetIcon_IcoLib(hwndDlg, IDC_USERMENU, SKINICON_OTHER_DOWNARROW, LPGEN("User Menu")); + Button_SetIcon_IcoLib(hwndDlg, IDC_HISTORY, SKINICON_OTHER_HISTORY, LPGEN("View user's history")); + Button_SetIcon_IcoLib(hwndDlg, IDC_USERMENU, SKINICON_OTHER_DOWNARROW, LPGEN("User menu")); EnableWindow(GetDlgItem(hwndDlg, IDOK), FALSE); diff --git a/src/core/stdfile/filexferdlg.cpp b/src/core/stdfile/filexferdlg.cpp index 6ab057b167..e7a0d392f4 100644 --- a/src/core/stdfile/filexferdlg.cpp +++ b/src/core/stdfile/filexferdlg.cpp @@ -33,7 +33,7 @@ static int CheckVirusScanned(HWND hwnd, struct FileDlgData *dat, int i) if (dat->fileVirusScanned == NULL) return 0; if (dat->fileVirusScanned[i]) return 1; if (db_get_b(NULL, "SRFile", "WarnBeforeOpening", 1) == 0) return 1; - return IDYES == MessageBox(hwnd, TranslateT("This file has not yet been scanned for viruses. Are you certain you want to open it?"), TranslateT("File Received"), MB_YESNO|MB_DEFBUTTON2); + return IDYES == MessageBox(hwnd, TranslateT("This file has not yet been scanned for viruses. Are you certain you want to open it?"), TranslateT("File received"), MB_YESNO|MB_DEFBUTTON2); } #define M_VIRUSSCANDONE (WM_USER+100) diff --git a/src/core/stdhelp/help.cpp b/src/core/stdhelp/help.cpp index f11af49ca0..376b5b7ff3 100644 --- a/src/core/stdhelp/help.cpp +++ b/src/core/stdhelp/help.cpp @@ -89,13 +89,13 @@ int LoadHelpModule(void) mi.icolibItem = GetSkinIconHandle(SKINICON_OTHER_MIRANDAWEB); mi.position = 2000050000; - mi.pszName = LPGEN("&Miranda NG Homepage"); + mi.pszName = LPGEN("&Miranda NG homepage"); mi.pszService = "Help/WebsiteCommand"; Menu_AddMainMenuItem(&mi); mi.icolibItem = GetSkinIconHandle(SKINICON_EVENT_URL); mi.position = 2000040000; - mi.pszName = LPGEN("&Report Bug"); + mi.pszName = LPGEN("&Report bug"); mi.pszService = "Help/BugCommand"; Menu_AddMainMenuItem(&mi); return 0; diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 926e899c20..d43bb152e7 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -744,8 +744,8 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP dat->hwndStatus = NULL; Button_SetIcon_IcoLib(hwndDlg, IDC_ADD, SKINICON_OTHER_ADDCONTACT, LPGEN("Add contact permanently to list")); Button_SetIcon_IcoLib(hwndDlg, IDC_DETAILS, SKINICON_OTHER_USERDETAILS, LPGEN("View user's details")); - Button_SetIcon_IcoLib(hwndDlg, IDC_HISTORY, SKINICON_OTHER_HISTORY, LPGEN("View User's History")); - Button_SetIcon_IcoLib(hwndDlg, IDC_USERMENU, SKINICON_OTHER_DOWNARROW, LPGEN("User Menu")); + Button_SetIcon_IcoLib(hwndDlg, IDC_HISTORY, SKINICON_OTHER_HISTORY, LPGEN("View user's history")); + Button_SetIcon_IcoLib(hwndDlg, IDC_USERMENU, SKINICON_OTHER_DOWNARROW, LPGEN("User menu")); SendDlgItemMessage(hwndDlg, IDC_NAME, BUTTONSETASFLATBTN, TRUE, 0 ); EnableWindow(GetDlgItem(hwndDlg, IDC_PROTOCOL), FALSE); diff --git a/src/core/stdmsg/src/msgoptions.cpp b/src/core/stdmsg/src/msgoptions.cpp index c3017dca21..747b5d1872 100644 --- a/src/core/stdmsg/src/msgoptions.cpp +++ b/src/core/stdmsg/src/msgoptions.cpp @@ -103,7 +103,7 @@ void RegisterSRMMFonts( void ) fontid.flags = FIDF_ALLOWREREGISTER | FIDF_DEFAULTVALID; for (int i=0; i < SIZEOF(fontOptionsList); i++) { strcpy(fontid.dbSettingsGroup, SRMMMOD); - _tcscpy(fontid.group, LPGENT("Message Log")); + _tcscpy(fontid.group, LPGENT("Message log")); _tcscpy(fontid.name, fontOptionsList[i].szDescr); mir_snprintf(idstr, SIZEOF(idstr), "SRMFont%d", i); strcpy(fontid.prefix, idstr); @@ -125,7 +125,7 @@ void RegisterSRMMFonts( void ) strcpy(colourid.setting, SRMSGSET_BKGCOLOUR); colourid.defcolour = SRMSGDEFSET_BKGCOLOUR; _tcscpy(colourid.name, LPGENT("Background")); - _tcscpy(colourid.group, LPGENT("Message Log")); + _tcscpy(colourid.group, LPGENT("Message log")); ColourRegisterT(&colourid); } @@ -585,12 +585,12 @@ static int OptInitialise(WPARAM wParam, LPARAM lParam) Options_AddPage(wParam, &odp); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_MSGLOG); - odp.pszTab = LPGEN("Messaging Log"); + odp.pszTab = LPGEN("Messaging log"); odp.pfnDlgProc = DlgProcLogOptions; Options_AddPage(wParam, &odp); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_MSGTYPE); - odp.pszTab = LPGEN("Typing Notify"); + odp.pszTab = LPGEN("Typing notify"); odp.pfnDlgProc = DlgProcTypeOptions; Options_AddPage(wParam, &odp); return 0; diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp index b8c1298ad8..5fc1fec3f4 100644 --- a/src/core/stdmsg/src/msgs.cpp +++ b/src/core/stdmsg/src/msgs.cpp @@ -169,7 +169,7 @@ static int TypingMessage(WPARAM wParam, LPARAM lParam) if (ServiceExists(MS_CLIST_SYSTRAY_NOTIFY) && !(g_dat.flags&SMF_SHOWTYPINGCLIST)) { MIRANDASYSTRAYNOTIFY tn = { sizeof(tn) }; - tn.tszInfoTitle = TranslateT("Typing Notification"); + tn.tszInfoTitle = TranslateT("Typing notification"); tn.tszInfo = szTip; tn.dwInfoFlags = NIIF_INFO; tn.dwInfoFlags |= NIIF_INTERN_UNICODE; @@ -412,9 +412,9 @@ int LoadSendRecvMessageModule(void) hHookWinPopup = CreateHookableEvent(ME_MSG_WINDOWPOPUP); hHookWinWrite = CreateHookableEvent(ME_MSG_PRECREATEEVENT); - SkinAddNewSoundEx("RecvMsgActive", LPGEN("Instant messages"), LPGEN("Incoming (Focused Window)")); - SkinAddNewSoundEx("RecvMsgInactive", LPGEN("Instant messages"), LPGEN("Incoming (Unfocused Window)")); - SkinAddNewSoundEx("AlertMsg", LPGEN("Instant messages"), LPGEN("Incoming (New Session)")); + SkinAddNewSoundEx("RecvMsgActive", LPGEN("Instant messages"), LPGEN("Incoming (focused window)")); + SkinAddNewSoundEx("RecvMsgInactive", LPGEN("Instant messages"), LPGEN("Incoming (unfocused window)")); + SkinAddNewSoundEx("AlertMsg", LPGEN("Instant messages"), LPGEN("Incoming (new session)")); SkinAddNewSoundEx("SendMsg", LPGEN("Instant messages"), LPGEN("Outgoing")); SkinAddNewSoundEx("SendError", LPGEN("Instant messages"), LPGEN("Message send error")); SkinAddNewSoundEx("TNStart", LPGEN("Instant messages"), LPGEN("Contact started typing")); diff --git a/src/core/stduihist/history.cpp b/src/core/stduihist/history.cpp index 9f2eac9836..dc1e9923d7 100644 --- a/src/core/stduihist/history.cpp +++ b/src/core/stduihist/history.cpp @@ -38,7 +38,7 @@ static HANDLE hWindowList = 0; static void GetMessageDescription(DBEVENTINFO *dbei, TCHAR* buf, int cbBuf) { TCHAR* msg = DbGetEventTextT(dbei, CP_ACP); - _tcsncpy(buf, msg ? msg : TranslateT("Invalid Message"), cbBuf); + _tcsncpy(buf, msg ? msg : TranslateT("Invalid message"), cbBuf); buf[ cbBuf-1 ] = 0; mir_free(msg); } @@ -110,8 +110,8 @@ static void GetObjectSummary(DBEVENTINFO *dbei, TCHAR* str, int cbStr) break; case EVENTTYPE_FILE: - if (dbei->flags & DBEF_SENT) pszSrc = TranslateT("Outgoing File"); - else pszSrc = TranslateT("Incoming File"); + if (dbei->flags & DBEF_SENT) pszSrc = TranslateT("Outgoing file"); + else pszSrc = TranslateT("Incoming file"); break; default: @@ -270,7 +270,7 @@ static INT_PTR CALLBACK DlgProcHistory(HWND hwndDlg, UINT msg, WPARAM wParam, LP if (index == LB_ERR) break; - if (MessageBox(hwndDlg, TranslateT("Are you sure you want to delete this history item?"), TranslateT("Delete History"), MB_YESNO|MB_ICONQUESTION) == IDYES) { + if (MessageBox(hwndDlg, TranslateT("Are you sure you want to delete this history item?"), TranslateT("Delete history"), MB_YESNO|MB_ICONQUESTION) == IDYES) { hDbevent = (HANDLE)SendDlgItemMessage(hwndDlg, IDC_LIST, LB_GETITEMDATA, index, 0); db_event_delete(hContact, hDbevent); SendMessage(hwndDlg, DM_HREBUILD, 0, 0); @@ -407,7 +407,7 @@ int LoadHistoryModule(void) CLISTMENUITEM mi = { sizeof(mi) }; mi.position = 1000090000; mi.icolibItem = GetSkinIconHandle(SKINICON_OTHER_HISTORY); - mi.pszName = LPGEN("View &History"); + mi.pszName = LPGEN("View &history"); mi.pszService = MS_HISTORY_SHOWCONTACTHISTORY; Menu_AddContactMenuItem(&mi); diff --git a/src/core/stdurl/url.cpp b/src/core/stdurl/url.cpp index 44a41e65f6..65df220380 100644 --- a/src/core/stdurl/url.cpp +++ b/src/core/stdurl/url.cpp @@ -121,7 +121,7 @@ static int SRUrlModulesLoaded(WPARAM, LPARAM) CLISTMENUITEM mi = { sizeof(mi) }; mi.position = -2000040000; mi.icolibItem = GetSkinIconHandle(SKINICON_EVENT_URL); - mi.pszName = LPGEN("Web Page Address (&URL)"); + mi.pszName = LPGEN("Web page address (&URL)"); mi.pszService = MS_URL_SENDURL; hSRUrlMenuItem = Menu_AddContactMenuItem(&mi); diff --git a/src/core/stdurl/urldialogs.cpp b/src/core/stdurl/urldialogs.cpp index 73ab3cedfe..06bd2b20ec 100644 --- a/src/core/stdurl/urldialogs.cpp +++ b/src/core/stdurl/urldialogs.cpp @@ -86,8 +86,8 @@ INT_PTR CALLBACK DlgProcUrlRecv(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP Window_SetIcon_IcoLib(hwndDlg, SKINICON_EVENT_URL); Button_SetIcon_IcoLib(hwndDlg, IDC_ADD, SKINICON_OTHER_ADDCONTACT, LPGEN("Add contact permanently to list")); Button_SetIcon_IcoLib(hwndDlg, IDC_DETAILS, SKINICON_OTHER_USERDETAILS, LPGEN("View user's details")); - Button_SetIcon_IcoLib(hwndDlg, IDC_HISTORY, SKINICON_OTHER_HISTORY, LPGEN("View User's History")); - Button_SetIcon_IcoLib(hwndDlg, IDC_USERMENU, SKINICON_OTHER_DOWNARROW, LPGEN("User Menu")); + Button_SetIcon_IcoLib(hwndDlg, IDC_HISTORY, SKINICON_OTHER_HISTORY, LPGEN("View user's history")); + Button_SetIcon_IcoLib(hwndDlg, IDC_USERMENU, SKINICON_OTHER_DOWNARROW, LPGEN("User menu")); dat = (struct UrlRcvData*)mir_alloc(sizeof(struct UrlRcvData)); SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR)dat); @@ -462,8 +462,8 @@ INT_PTR CALLBACK DlgProcUrlSend(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP Window_SetIcon_IcoLib(hwndDlg, SKINICON_EVENT_URL); Button_SetIcon_IcoLib(hwndDlg, IDC_ADD, SKINICON_OTHER_ADDCONTACT, LPGEN("Add contact permanently to list")); Button_SetIcon_IcoLib(hwndDlg, IDC_DETAILS, SKINICON_OTHER_USERDETAILS, LPGEN("View user's details")); - Button_SetIcon_IcoLib(hwndDlg, IDC_HISTORY, SKINICON_OTHER_HISTORY, LPGEN("View User's History")); - Button_SetIcon_IcoLib(hwndDlg, IDC_USERMENU, SKINICON_OTHER_DOWNARROW, LPGEN("User Menu")); + Button_SetIcon_IcoLib(hwndDlg, IDC_HISTORY, SKINICON_OTHER_HISTORY, LPGEN("View user's history")); + Button_SetIcon_IcoLib(hwndDlg, IDC_USERMENU, SKINICON_OTHER_DOWNARROW, LPGEN("User menu")); SendDlgItemMessage(hwndDlg, IDC_MESSAGE, EM_LIMITTEXT, 450, 0); dat = (struct UrlSendData*)mir_alloc(sizeof(struct UrlSendData)); diff --git a/src/core/stduserinfo/contactinfo.cpp b/src/core/stduserinfo/contactinfo.cpp index c74b718e84..024b5e0cbe 100644 --- a/src/core/stduserinfo/contactinfo.cpp +++ b/src/core/stduserinfo/contactinfo.cpp @@ -31,7 +31,7 @@ static INT_PTR CALLBACK EditUserEmailDlgProc(HWND hwndDlg, UINT msg, WPARAM wPar switch(msg) { case WM_INITDIALOG: SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR)lParam); - if (*(char*)lParam) SetWindowText(hwndDlg, TranslateT("Edit E-Mail Address")); + if (*(char*)lParam) SetWindowText(hwndDlg, TranslateT("Edit E-Mail address")); TranslateDialogDefault(hwndDlg); SetDlgItemTextA(hwndDlg, IDC_EMAIL, (char*)lParam); EnableWindow(GetDlgItem(hwndDlg, IDOK), *(char*)lParam); @@ -65,7 +65,7 @@ static INT_PTR CALLBACK EditUserPhoneDlgProc(HWND hwndDlg, UINT msg, WPARAM wPar int i, item, countryCount; struct CountryListEntry *countries; SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR)lParam); - if (szText[0]) SetWindowText(hwndDlg, TranslateT("Edit Phone Number")); + if (szText[0]) SetWindowText(hwndDlg, TranslateT("Edit phone number")); TranslateDialogDefault(hwndDlg); if (lstrlenA(szText)>4 && !lstrcmpA(szText+lstrlenA(szText)-4, " SMS")) { CheckDlgButton(hwndDlg, IDC_SMS, BST_CHECKED); @@ -93,7 +93,7 @@ static INT_PTR CALLBACK EditUserPhoneDlgProc(HWND hwndDlg, UINT msg, WPARAM wPar if (lstrlenA(szText)<7 || szText[0] != '+') isValid = 0; if (isValid) isValid = (lstrlenA(szText+1) == (int)strspn(szText+1, "0123456789 ()-")); if ( !isValid) { - MessageBox(hwndDlg, TranslateT("The phone number should start with a + and consist of numbers, spaces, brackets and hyphens only."), TranslateT("Invalid Phone Number"), MB_OK); + MessageBox(hwndDlg, TranslateT("The phone number should start with a + and consist of numbers, spaces, brackets and hyphens only."), TranslateT("Invalid phone Pumber"), MB_OK); break; } if (IsDlgButtonChecked(hwndDlg, IDC_SMS)) lstrcatA(szText, " SMS"); @@ -336,14 +336,14 @@ INT_PTR CALLBACK ContactDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP lvi.iItem++; } if ( !db_get_ts(hContact, szProto, "CompanyPhone", &dbv)) { - lvi.pszText = TranslateT("Work Phone"); + lvi.pszText = TranslateT("Work phone"); ListView_InsertItem(GetDlgItem(hwndDlg, IDC_PHONES), &lvi); ListView_SetItemText(GetDlgItem(hwndDlg, IDC_PHONES), lvi.iItem, 1, dbv.ptszVal); db_free(&dbv); lvi.iItem++; } if ( !db_get_ts(hContact, szProto, "CompanyFax", &dbv)) { - lvi.pszText = TranslateT("Work Fax"); + lvi.pszText = TranslateT("Work fax"); ListView_InsertItem(GetDlgItem(hwndDlg, IDC_PHONES), &lvi); ListView_SetItemText(GetDlgItem(hwndDlg, IDC_PHONES), lvi.iItem, 1, dbv.ptszVal); db_free(&dbv); diff --git a/src/core/stduserinfo/userinfo.cpp b/src/core/stduserinfo/userinfo.cpp index 5fb331f421..f3fe5ef5c8 100644 --- a/src/core/stduserinfo/userinfo.cpp +++ b/src/core/stduserinfo/userinfo.cpp @@ -642,7 +642,7 @@ int LoadUserInfoModule(void) Menu_AddContactMenuItem(&mi); mi.position = 500050000; - mi.pszName = LPGEN("View/Change My &Details..."); + mi.pszName = LPGEN("View/change my &details..."); Menu_AddMainMenuItem(&mi); hWindowList = (HANDLE)CallService(MS_UTILS_ALLOCWINDOWLIST, 0, 0); diff --git a/src/core/stduseronline/useronline.cpp b/src/core/stduseronline/useronline.cpp index 2d367053af..c25af18b82 100644 --- a/src/core/stduseronline/useronline.cpp +++ b/src/core/stduseronline/useronline.cpp @@ -66,7 +66,7 @@ static int UserOnlineSettingChanged(WPARAM wParam, LPARAM lParam) cle.hDbEvent = (HANDLE)(uniqueEventId++); cle.hIcon = LoadSkinIcon(SKINICON_OTHER_USERONLINE, false); cle.pszService = "UserOnline/Description"; - mir_sntprintf(tooltip, SIZEOF(tooltip), TranslateT("%s is Online"), pcli->pfnGetContactDisplayName((HANDLE)wParam, 0)); + mir_sntprintf(tooltip, SIZEOF(tooltip), TranslateT("%s is online"), pcli->pfnGetContactDisplayName((HANDLE)wParam, 0)); cle.ptszTooltip = tooltip; CallService(MS_CLIST_ADDEVENT, 0, (LPARAM)&cle); IcoLib_ReleaseIcon(cle.hIcon, 0); diff --git a/src/modules/addcontact/addcontact.cpp b/src/modules/addcontact/addcontact.cpp index e658ca100d..e81b7c2ce2 100644 --- a/src/modules/addcontact/addcontact.cpp +++ b/src/modules/addcontact/addcontact.cpp @@ -75,7 +75,7 @@ INT_PTR CALLBACK AddContactDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lp mir_sntprintf(szTitle, SIZEOF(szTitle), TranslateT("Add %s"), szName); SetWindowText(hdlg, szTitle); } - else SetWindowText(hdlg, TranslateT("Add Contact")); + else SetWindowText(hdlg, TranslateT("Add contact")); mir_free(tmpStr); } } diff --git a/src/modules/clist/clistsettings.cpp b/src/modules/clist/clistsettings.cpp index fc5b202247..fa022967e8 100644 --- a/src/modules/clist/clistsettings.cpp +++ b/src/modules/clist/clistsettings.cpp @@ -151,7 +151,7 @@ TCHAR* fnGetContactDisplayName(HANDLE hContact, int mode) } CallContactService(hContact, PSS_GETINFO, SGIF_MINIMAL, 0); - TCHAR *buffer = TranslateT("(Unknown Contact)"); + TCHAR *buffer = TranslateT("(Unknown contact)"); return (cacheEntry == NULL) ? mir_tstrdup(buffer) : buffer; } @@ -202,7 +202,7 @@ INT_PTR GetContactDisplayName(WPARAM wParam, LPARAM lParam) } CallContactService(hContact, PSS_GETINFO, SGIF_MINIMAL, 0); - char* result = Translate("(Unknown Contact)"); + char* result = Translate("(Unknown contact)"); return (INT_PTR)((cacheEntry == NULL) ? mir_strdup(result) : result); } diff --git a/src/modules/clist/contacts.cpp b/src/modules/clist/contacts.cpp index 1a0ba89751..215265a044 100644 --- a/src/modules/clist/contacts.cpp +++ b/src/modules/clist/contacts.cpp @@ -34,7 +34,7 @@ static TCHAR* nameOrderDescr[ NAMEORDERCOUNT ] = LPGENT("Username"), LPGENT("FirstName LastName"), LPGENT("LastName FirstName"), - LPGENT("'(Unknown Contact)' (not movable)") + LPGENT("'(Unknown contact)' (not movable)") }; BYTE nameOrder[NAMEORDERCOUNT]; @@ -322,9 +322,9 @@ static INT_PTR GetContactInfo(WPARAM, LPARAM lParam) { case 8: if (ci->dwFlag & CNF_UNICODE) - ci->pszVal = (TCHAR*)mir_wstrdup(TranslateW(L"'(Unknown Contact)'")); + ci->pszVal = (TCHAR*)mir_wstrdup(TranslateW(L"'(Unknown contact)'")); else - ci->pszVal = (TCHAR*)mir_strdup(Translate("'(Unknown Contact)'")); + ci->pszVal = (TCHAR*)mir_strdup(Translate("'(Unknown contact)'")); ci->type = CNFT_ASCIIZ; return 0; } diff --git a/src/modules/clist/genmenu.cpp b/src/modules/clist/genmenu.cpp index b6d3af6cec..79dc7e40f9 100644 --- a/src/modules/clist/genmenu.cpp +++ b/src/modules/clist/genmenu.cpp @@ -1046,7 +1046,7 @@ static int MO_RegisterIcon(PMO_IntMenuItem pmi, void*) HICON hIcon = ImageList_GetIcon(pmi->parent->m_hMenuIcons, pmi->iconId, 0); TCHAR sectionName[256]; - mir_sntprintf(sectionName, SIZEOF(sectionName), LPGENT("Menu Icons") _T("/%s"), (TCHAR*)_A2T(pmi->parent->Name)); + mir_sntprintf(sectionName, SIZEOF(sectionName), LPGENT("Menu icons") _T("/%s"), (TCHAR*)_A2T(pmi->parent->Name)); char iconame[256]; mir_snprintf(iconame, sizeof(iconame), "genmenu_%s_%s", pmi->parent->Name, uname && *uname ? uname : descr); diff --git a/src/modules/clist/groups.cpp b/src/modules/clist/groups.cpp index 73aba22dab..560261259f 100644 --- a/src/modules/clist/groups.cpp +++ b/src/modules/clist/groups.cpp @@ -73,7 +73,7 @@ static INT_PTR CreateGroupInternal(INT_PTR iParent, const TCHAR *ptszName) char str[33]; int i; - const TCHAR* grpName = ptszName ? ptszName : TranslateT("New Group"); + const TCHAR* grpName = ptszName ? ptszName : TranslateT("New group"); if (iParent) { _itoa(iParent - 1, str, 10); DBVARIANT dbv; @@ -190,7 +190,7 @@ static INT_PTR DeleteGroup(WPARAM wParam, LPARAM) { TCHAR szQuestion[256+100]; mir_sntprintf(szQuestion, SIZEOF(szQuestion), TranslateT("Are you sure you want to delete group '%s'? This operation cannot be undone."), name); - if (MessageBox(cli.hwndContactList, szQuestion, TranslateT("Delete Group"), MB_YESNO|MB_ICONQUESTION) == IDNO) + if (MessageBox(cli.hwndContactList, szQuestion, TranslateT("Delete group"), MB_YESNO|MB_ICONQUESTION) == IDNO) return 1; } SetCursor(LoadCursor(NULL, IDC_WAIT)); @@ -276,7 +276,7 @@ static int RenameGroupWithMove(int groupId, const TCHAR *szName, int move) DBVARIANT dbv; if (GroupNameExists(szName, groupId)) { - MessageBox(NULL, TranslateT("You already have a group with that name. Please enter a unique name for the group."), TranslateT("Rename Group"), MB_ICONERROR | MB_OK); + MessageBox(NULL, TranslateT("You already have a group with that name. Please enter a unique name for the group."), TranslateT("Rename group"), MB_ICONERROR | MB_OK); return 1; } diff --git a/src/modules/clist/keyboard.cpp b/src/modules/clist/keyboard.cpp index 3433abf339..5ea408a8a6 100644 --- a/src/modules/clist/keyboard.cpp +++ b/src/modules/clist/keyboard.cpp @@ -82,14 +82,14 @@ int InitClistHotKeys(void) HOTKEYDESC shk = { sizeof(shk) }; shk.dwFlags = HKD_TCHAR; - shk.ptszDescription = LPGENT("Show/Hide Contact List"); + shk.ptszDescription = LPGENT("Show/Hide contact list"); shk.pszName = "ShowHide"; shk.ptszSection = _T("Main"); shk.pszService = "CLIST/HK/SHOWHIDE"; shk.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL|HOTKEYF_SHIFT, 'A'); Hotkey_Register(&shk); - shk.ptszDescription = LPGENT("Read Message"); + shk.ptszDescription = LPGENT("Read message"); shk.pszName = "ReadMessage"; shk.ptszSection = _T("Main"); shk.pszService = "CLIST/HK/Read"; @@ -103,21 +103,21 @@ int InitClistHotKeys(void) shk.DefHotKey = 846; Hotkey_Register(&shk); */ - shk.ptszDescription = LPGENT("Open Options Page"); + shk.ptszDescription = LPGENT("Open Options page"); shk.pszName = "ShowOptions"; shk.ptszSection = _T("Main"); shk.pszService = "CLIST/HK/Opts"; shk.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL|HOTKEYF_SHIFT, 'O') | HKF_MIRANDA_LOCAL; Hotkey_Register(&shk); - shk.ptszDescription = LPGENT("Open Logging Options"); + shk.ptszDescription = LPGENT("Open logging options"); shk.pszName = "ShowLogOptions"; shk.ptszSection = _T("Main"); shk.pszService = "Netlib/Log/Win"; shk.DefHotKey = 0; Hotkey_Register(&shk); - shk.ptszDescription = LPGENT("Open Find User Dialog"); + shk.ptszDescription = LPGENT("Open 'Find user' dialog"); shk.pszName = "FindUsers"; shk.ptszSection = _T("Main"); shk.pszService = "FindAdd/FindAddCommand"; diff --git a/src/modules/clist/movetogroup.cpp b/src/modules/clist/movetogroup.cpp index 8351010ac5..a3392a96d7 100644 --- a/src/modules/clist/movetogroup.cpp +++ b/src/modules/clist/movetogroup.cpp @@ -89,7 +89,7 @@ static int OnContactMenuBuild(WPARAM wParam, LPARAM) if ( !hMoveToGroupItem) { CLISTMENUITEM mi = { sizeof(mi) }; mi.position = 100000; - mi.pszName = LPGEN("&Move to Group"); + mi.pszName = LPGEN("&Move to group"); mi.flags = CMIF_ROOTHANDLE; mi.icolibItem = GetSkinIconHandle(SKINICON_OTHER_GROUP); @@ -104,7 +104,7 @@ static int OnContactMenuBuild(WPARAM wParam, LPARAM) int pos = 1000; - AddGroupItem(hMoveToGroupItem, TranslateT(""), pos, -1, !szContactGroup); + AddGroupItem(hMoveToGroupItem, TranslateT(""), pos, -1, !szContactGroup); pos += 100000; // Separator diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp index 25cfed9520..a66e814e30 100644 --- a/src/modules/database/database.cpp +++ b/src/modules/database/database.cpp @@ -445,7 +445,7 @@ int LoadDatabaseModule(void) if ( arDbPlugins.getCount() == 0) { TCHAR buf[256]; TCHAR* p = _tcsrchr(szProfile, '\\'); - mir_sntprintf(buf, SIZEOF(buf), TranslateT("Miranda is unable to open '%s' because you do not have any profile plugins installed.\nYou need to install dbx_3x.dll or equivalent."), p ? ++p : szProfile); + mir_sntprintf(buf, SIZEOF(buf), TranslateT("Miranda is unable to open '%s' because you do not have any profile plugins installed.\nYou need to install dbx_mmap.dll or equivalent."), p ? ++p : szProfile); MessageBox(0, buf, TranslateT("No profile support installed!"), MB_OK | MB_ICONERROR); } diff --git a/src/modules/database/profilemanager.cpp b/src/modules/database/profilemanager.cpp index 430508a1bd..356d16277b 100644 --- a/src/modules/database/profilemanager.cpp +++ b/src/modules/database/profilemanager.cpp @@ -128,7 +128,7 @@ static int CreateProfile(TCHAR *profile, DATABASELINK * link, HWND hwndDlg) sf.fFlags = FOF_NOCONFIRMATION | FOF_NOERRORUI | FOF_SILENT | FOF_ALLOWUNDO; mir_sntprintf(buf, SIZEOF(buf), _T("%s\0"), profile); if (SHFileOperation(&sf) != 0) { - mir_sntprintf(buf, SIZEOF(buf), TranslateT("Couldn't move '%s' to the Recycle Bin, Please select another profile name."), file); + mir_sntprintf(buf, SIZEOF(buf), TranslateT("Couldn't move '%s' to the Recycle Bin. Please select another profile name."), file); MessageBox(0, buf, TranslateT("Problem moving profile"), MB_ICONINFORMATION|MB_OK); return 0; } @@ -305,7 +305,7 @@ BOOL EnumProfilesForList(TCHAR *fullpath, TCHAR *profile, LPARAM lParam) if (dblink != NULL) { if (bFileLocked) { // file locked - item2.pszText = TranslateT(""); + item2.pszText = TranslateT(""); item2.iSubItem = 1; SendMessage(hwndList, LVM_SETITEMTEXT, iItem, (LPARAM)&item2); } @@ -813,13 +813,13 @@ int getProfileManager(PROFILEMANAGERDATA * pd) DetailsPageInit opi = { 0 }; OPTIONSDIALOGPAGE odp = { sizeof(odp) }; - odp.pszTitle = LPGEN("My Profiles"); + odp.pszTitle = LPGEN("My profiles"); odp.pfnDlgProc = DlgProfileSelect; odp.pszTemplate = MAKEINTRESOURCEA(IDD_PROFILE_SELECTION); odp.hInstance = hInst; AddProfileManagerPage(&opi, &odp); - odp.pszTitle = LPGEN("New Profile"); + odp.pszTitle = LPGEN("New profile"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_PROFILE_NEW); odp.pfnDlgProc = DlgProfileNew; AddProfileManagerPage(&opi, &odp); diff --git a/src/modules/extraicons/extraicons.cpp b/src/modules/extraicons/extraicons.cpp index a599e7c916..745083590b 100644 --- a/src/modules/extraicons/extraicons.cpp +++ b/src/modules/extraicons/extraicons.cpp @@ -506,7 +506,7 @@ static INT_PTR svcExtraIcon_Add(WPARAM wParam, LPARAM lParam) static IconItem iconList[] = { - { LPGEN("Chat Activity"), "ChatActivity", IDI_CHAT }, + { LPGEN("Chat activity"), "ChatActivity", IDI_CHAT }, { LPGEN("Male"), "gender_male", IDI_MALE }, { LPGEN("Female"), "gender_female", IDI_FEMALE } }; diff --git a/src/modules/findadd/findadd.cpp b/src/modules/findadd/findadd.cpp index bcc8733365..9bc9b73ec8 100644 --- a/src/modules/findadd/findadd.cpp +++ b/src/modules/findadd/findadd.cpp @@ -360,7 +360,7 @@ static INT_PTR CALLBACK DlgProcFindAdd(HWND hwndDlg, UINT msg, WPARAM wParam, LP hdc = GetDC(hwndDlg); SelectObject(hdc, (HFONT)SendDlgItemMessage(hwndDlg, IDC_PROTOLIST, WM_GETFONT, 0, 0)); if (netProtoCount>1) { - cbei.pszText = TranslateT("All Networks"); + cbei.pszText = TranslateT("All networks"); GetTextExtentPoint32(hdc, cbei.pszText, lstrlen(cbei.pszText), &textSize); if (textSize.cx > cbwidth) cbwidth = textSize.cx; @@ -1021,7 +1021,7 @@ int LoadFindAddModule(void) CLISTMENUITEM mi = { sizeof(mi) }; mi.position = 500020000; mi.icolibItem = GetSkinIconHandle(SKINICON_OTHER_FINDUSER); - mi.pszName = LPGEN("&Find/Add Contacts..."); + mi.pszName = LPGEN("&Find/Add contacts..."); mi.pszService = MS_FINDADD_FINDADD; hMainMenuItem = Menu_AddMainMenuItem(&mi); return 0; diff --git a/src/modules/fonts/FontOptions.cpp b/src/modules/fonts/FontOptions.cpp index 7a19451282..f9eff2e32d 100644 --- a/src/modules/fonts/FontOptions.cpp +++ b/src/modules/fonts/FontOptions.cpp @@ -1140,7 +1140,7 @@ static INT_PTR CALLBACK DlgProcLogOptions(HWND hwndDlg, UINT msg, WPARAM wParam, case IDC_BTN_EXPORT: { TCHAR fname_buff[MAX_PATH], filter[MAX_PATH]; - mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.ini)%c*.ini%c%s (*.txt)%c*.TXT%c%s (*.*)%c*.*%c"), TranslateT("Configuration Files"), 0, 0, TranslateT("Text Files"), 0, 0, TranslateT("All Files"), 0, 0); + mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.ini)%c*.ini%c%s (*.txt)%c*.TXT%c%s (*.*)%c*.*%c"), TranslateT("Configuration files"), 0, 0, TranslateT("Text files"), 0, 0, TranslateT("All files"), 0, 0); OPENFILENAME ofn = {0}; ofn.lStructSize = sizeof(ofn); @@ -1328,7 +1328,7 @@ static INT_PTR CALLBACK DlgProcModernOptions(HWND hwndDlg, UINT msg, WPARAM wPar SetBkMode(dis->hDC, TRANSPARENT); SetTextColor(dis->hDC, GetSysColor(COLOR_BTNTEXT)); FillRect(dis->hDC, &dis->rcItem, GetSysColorBrush(COLOR_BTNFACE)); - DrawText(dis->hDC, TranslateT("Sample Text"), (int)_tcslen(TranslateT("Sample Text")), &dis->rcItem, DT_LEFT|DT_NOPREFIX|DT_SINGLELINE|DT_VCENTER|DT_WORD_ELLIPSIS|DT_CENTER); + DrawText(dis->hDC, TranslateT("Sample text"), (int)_tcslen(TranslateT("Sample text")), &dis->rcItem, DT_LEFT|DT_NOPREFIX|DT_SINGLELINE|DT_VCENTER|DT_WORD_ELLIPSIS|DT_CENTER); if (hoFont) SelectObject(dis->hDC, hoFont); return TRUE; diff --git a/src/modules/icolib/skin2opts.cpp b/src/modules/icolib/skin2opts.cpp index 093317a516..81be4a0b8d 100644 --- a/src/modules/icolib/skin2opts.cpp +++ b/src/modules/icolib/skin2opts.cpp @@ -258,7 +258,7 @@ static TCHAR* OpenFileDlg(HWND hParent, const TCHAR* szFile, BOOL bAll) ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400; ofn.hwndOwner = hParent; - lstrcpy(filter, TranslateT("Icon Sets")); + lstrcpy(filter, TranslateT("Icon sets")); if (bAll) lstrcat(filter, _T(" (*.dll;*.icl;*.exe;*.ico)")); else @@ -271,7 +271,7 @@ static TCHAR* OpenFileDlg(HWND hParent, const TCHAR* szFile, BOOL bAll) lstrcpy(pfilter, _T("*.DLL")); pfilter += lstrlen(pfilter) + 1; - lstrcpy(pfilter, TranslateT("All Files")); + lstrcpy(pfilter, TranslateT("All files")); lstrcat(pfilter, _T(" (*)")); pfilter += lstrlen(pfilter) + 1; lstrcpy(pfilter, _T("*")); diff --git a/src/modules/netlib/netliblog.cpp b/src/modules/netlib/netliblog.cpp index 0e121ef4fb..878289e826 100644 --- a/src/modules/netlib/netliblog.cpp +++ b/src/modules/netlib/netliblog.cpp @@ -116,7 +116,7 @@ static INT_PTR CALLBACK LogOptionsDlgProc(HWND hwndDlg, UINT message, WPARAM wPa TreeView_InsertItem(hwndFilter, &tvis); } tvis.item.lParam = -1; - tvis.item.pszText = TranslateT("(Miranda Core Logging)"); + tvis.item.pszText = TranslateT("(Miranda core logging)"); tvis.item.state = INDEXTOSTATEIMAGEMASK((logOptions.toLog) ? 2 : 1); TreeView_InsertItem(hwndFilter, &tvis); } @@ -166,7 +166,7 @@ static INT_PTR CALLBACK LogOptionsDlgProc(HWND hwndDlg, UINT message, WPARAM wPa ofn.Flags|=OFN_PATHMUSTEXIST|OFN_FILEMUSTEXIST; ofn.lpstrTitle = TranslateT("Select program to be run"); } - _tcscpy(filter, TranslateT("All Files")); + _tcscpy(filter, TranslateT("All files")); _tcscat(filter, _T(" (*)")); pfilter = filter+lstrlen(filter)+1; _tcscpy(pfilter, _T("*")); diff --git a/src/modules/netlib/netlibssl.cpp b/src/modules/netlib/netlibssl.cpp index 65b564795c..926a952bff 100644 --- a/src/modules/netlib/netlibssl.cpp +++ b/src/modules/netlib/netlibssl.cpp @@ -87,7 +87,7 @@ static void ReportSslError(SECURITY_STATUS scRet, int line, bool showPopup = fal return; case SEC_E_INVALID_TOKEN: - _tcscpy(szMsgBuf, TranslateT("Client cannot decode host message. Possible causes: Host does not support SSL or requires not existing security package")); + _tcscpy(szMsgBuf, TranslateT("Client cannot decode host message. Possible causes: host does not support SSL or requires not existing security package")); break; case CERT_E_CN_NO_MATCH: diff --git a/src/modules/skin/skinicons.cpp b/src/modules/skin/skinicons.cpp index 58053b01ff..3cb1725567 100644 --- a/src/modules/skin/skinicons.cpp +++ b/src/modules/skin/skinicons.cpp @@ -43,7 +43,7 @@ static struct StandardIconDescription mainIcons[] = { SKINICON_OTHER_GROUPOPEN, LPGEN("Group (Open)"), -IDI_GROUPOPEN }, // 5 { SKINICON_OTHER_GROUPSHUT, LPGEN("Group (Closed)"), -IDI_GROUPSHUT }, // 6 { SKINICON_OTHER_CONNECTING, LPGEN("Connecting"), -IDI_LOAD }, // 7 - { SKINICON_OTHER_ADDCONTACT, LPGEN("Add Contact"), -IDI_ADDCONTACT }, // 8 + { SKINICON_OTHER_ADDCONTACT, LPGEN("Add contact"), -IDI_ADDCONTACT }, // 8 { SKINICON_OTHER_USERDETAILS, LPGEN("User details"), -IDI_USERDETAILS }, // 9 { SKINICON_OTHER_HISTORY, LPGEN("History"), -IDI_HISTORY }, // 10 { SKINICON_OTHER_DOWNARROW, LPGEN("Down Arrow"), -IDI_DOWNARROW }, // 11 diff --git a/src/modules/skin/sounds.cpp b/src/modules/skin/sounds.cpp index e73a73d0bd..5e1ab91ff0 100644 --- a/src/modules/skin/sounds.cpp +++ b/src/modules/skin/sounds.cpp @@ -303,9 +303,9 @@ INT_PTR CALLBACK DlgProcSoundOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM OPENFILENAME ofn; ZeroMemory(&ofn, sizeof(ofn)); if (GetModuleHandle(_T("bass_interface.dll"))) - mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.wav, *.mp3, *.ogg)%c*.wav;*.mp3;*.ogg%c%s (*)%c*%c"), TranslateT("Sound Files"), 0, 0, TranslateT("All Files"), 0, 0); + mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.wav, *.mp3, *.ogg)%c*.wav;*.mp3;*.ogg%c%s (*)%c*%c"), TranslateT("Sound Files"), 0, 0, TranslateT("All files"), 0, 0); else - mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.wav)%c*.wav%c%s (*)%c*%c"), TranslateT("WAV Files"), 0, 0, TranslateT("All Files"), 0, 0); + mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.wav)%c*.wav%c%s (*)%c*%c"), TranslateT("WAV Files"), 0, 0, TranslateT("All files"), 0, 0); ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400; ofn.hwndOwner = GetParent(hwndDlg); ofn.hInstance = NULL; diff --git a/src/modules/utils/bmpfilter.cpp b/src/modules/utils/bmpfilter.cpp index 411c822e33..12092b166c 100644 --- a/src/modules/utils/bmpfilter.cpp +++ b/src/modules/utils/bmpfilter.cpp @@ -172,7 +172,7 @@ static INT_PTR BmpFilterGetStrings(WPARAM wParam, LPARAM lParam) lstrcpynA(pfilter, "*.PNG", bytesLeft); pfilter+=lstrlenA(pfilter)+1; bytesLeft = wParam-(pfilter-filter); - lstrcpynA(pfilter, Translate("All Files"), bytesLeft); bytesLeft-=lstrlenA(pfilter); + lstrcpynA(pfilter, Translate("All files"), bytesLeft); bytesLeft-=lstrlenA(pfilter); strncat(pfilter, " (*)", bytesLeft); pfilter+=lstrlenA(pfilter)+1; bytesLeft = wParam-(pfilter-filter); lstrcpynA(pfilter, "*", bytesLeft); @@ -217,7 +217,7 @@ static INT_PTR BmpFilterGetStringsW(WPARAM wParam, LPARAM lParam) lstrcpyn(pfilter, _T("*.PNG"), bytesLeft); pfilter+=lstrlen(pfilter)+1; bytesLeft = wParam-(pfilter-filter); - lstrcpyn(pfilter, TranslateT("All Files"), bytesLeft); bytesLeft-=lstrlen(pfilter); + lstrcpyn(pfilter, TranslateT("All files"), bytesLeft); bytesLeft-=lstrlen(pfilter); _tcsncat(pfilter, _T(" (*)"), bytesLeft); pfilter+=lstrlen(pfilter)+1; bytesLeft = wParam-(pfilter-filter); lstrcpyn(pfilter, _T("*"), bytesLeft); -- cgit v1.2.3