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/stduserinfo/contactinfo.cpp | 10 +++++----- src/core/stduserinfo/userinfo.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core/stduserinfo') 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); -- cgit v1.2.3